Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
fsActive
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
dfc2be57
authored
May 20, 2025
by
dawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 测试
parent
c57c6047
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
activeFt/luckySpace/index.html
activeFt/luckySpace/index.html
View file @
dfc2be57
...
@@ -304,6 +304,7 @@
...
@@ -304,6 +304,7 @@
<script
src=
"lib/liMarquee.js"
></script>
<script
src=
"lib/liMarquee.js"
></script>
<script
src=
"lib/default.js?v='2024062102'"
></script>
<script
src=
"lib/default.js?v='2024062102'"
></script>
<script>
<script>
var
betType
$
(
function
(){
$
(
function
(){
if
(
sessionStorage
.
lang
!=
2
&&
sessionStorage
.
lang
!=
0
){
if
(
sessionStorage
.
lang
!=
2
&&
sessionStorage
.
lang
!=
0
){
$
(
"body"
).
addClass
(
"bg-en"
)
$
(
"body"
).
addClass
(
"bg-en"
)
...
@@ -351,7 +352,7 @@ $(function(){
...
@@ -351,7 +352,7 @@ $(function(){
}
}
}
}
var
betType
=
1
betType
=
1
$
(
".more-btn"
).
on
(
"click"
,
function
(){
$
(
".more-btn"
).
on
(
"click"
,
function
(){
var
_self
=
$
(
this
)
var
_self
=
$
(
this
)
if
(
_self
.
attr
(
"data-type"
)
==
1
){
if
(
_self
.
attr
(
"data-type"
)
==
1
){
...
@@ -879,7 +880,8 @@ $(function(){
...
@@ -879,7 +880,8 @@ $(function(){
}
}
})
})
}
}
function
bet
(
gid
,
type
){
window
.
bet
=
function
(
gid
,
type
){
$
.
ajax
({
$
.
ajax
({
url
:
$ip
+
'/rocketlaunch/playGame'
,
url
:
$ip
+
'/rocketlaunch/playGame'
,
type
:
'post'
,
type
:
'post'
,
...
@@ -950,9 +952,9 @@ $(function(){
...
@@ -950,9 +952,9 @@ $(function(){
})
})
}
}
function
goBetCallBack
()
{
//
function goBetCallBack() {
bet
(
sessionStorage
.
gameId
,
betType
)
//
bet(sessionStorage.gameId,betType)
}
//
}
function
getUrlParams
()
{
function
getUrlParams
()
{
const
search
=
window
.
location
.
search
.
substring
(
1
);
// 去掉问号
const
search
=
window
.
location
.
search
.
substring
(
1
);
// 去掉问号
...
@@ -987,6 +989,10 @@ $(function(){
...
@@ -987,6 +989,10 @@ $(function(){
}
}
}
}
function
test
()
{
console
.
log
(
"测试"
)
}
/* 客戶端回調 */
/* 客戶端回調 */
function
appCallback
(
msg
)
{
function
appCallback
(
msg
)
{
let
binaryString
=
atob
(
msg
);
let
binaryString
=
atob
(
msg
);
...
@@ -1003,6 +1009,10 @@ $(function(){
...
@@ -1003,6 +1009,10 @@ $(function(){
}
}
}
}
})
})
function
goBetCallBack
()
{
bet
(
sessionStorage
.
gameId
,
betType
)
}
</script>
</script>
</html>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment