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
495634d1
authored
Jul 17, 2024
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
3f85b5f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
4 deletions
activeFt/summer/index.html
activeFt/summer/lib/default.js
activeFt/summer/oldView.html
activeFt/summer/index.html
View file @
495634d1
...
...
@@ -307,7 +307,7 @@
</body>
<script
src=
"lib/jquery-3.1.1.min.js"
></script>
<script
src=
"layer-v3.1.0/layer/layer.js"
></script>
<script
src=
"lib/default.js?v='20240
61702
'"
></script>
<script
src=
"lib/default.js?v='20240
71701
'"
></script>
<script
src=
"lib/clipboard.js"
></script>
<script
src=
"lib/swiper.min.js"
></script>
<script>
...
...
@@ -417,6 +417,13 @@ var scoreRankTxt="嘉年華積分"
$
(
"iframe"
).
attr
(
"src"
,
"https://activity.yazhaiyabo.com/games/fruitTurntable/main.html"
+
location
.
search
+
""
+
"&roomid=868902"
)
}
})
if
(
sessionStorage
.
jumptype
==
2
){
$
(
".top-btn1"
).
addClass
(
"top-btn2"
)
$
(
".mc-box"
).
hide
()
$
(
".user-box"
).
fadeIn
(
200
)
task
()
$
(
"iframe"
).
attr
(
"src"
,
"https://activity.yazhaiyabo.com/games/fruitTurntable/main.html"
+
location
.
search
+
""
+
"&roomid=868902"
)
}
$
(
".rule-btn"
).
on
(
"click"
,
function
(){
window
.
location
.
href
=
"rule.html"
+
location
.
search
})
...
...
activeFt/summer/lib/default.js
View file @
495634d1
...
...
@@ -23,6 +23,7 @@ sessionStorage.cid='web_gw'
sessionStorage
.
os
=
'WEB'
sessionStorage
.
appname
=
data
.
appname
sessionStorage
.
popType
=
data
.
popType
sessionStorage
.
jumpType
=
data
.
jumpType
if
(
data
.
roomID
!=
undefined
&&
data
.
roomID
!=
'undefined'
)
{
sessionStorage
.
roomId
=
data
.
roomID
;
}
...
...
@@ -36,7 +37,6 @@ else if(data.roomid != undefined && data.roomid != 'undefined'){
if
(
sessionStorage
.
roomId
==
'undefined'
)
sessionStorage
.
roomId
=
0
sessionStorage
.
act_entry
=
data
.
act_entry
sessionStorage
.
jump
=
data
.
jump
sessionStorage
.
isShowHalf
=
data
.
isShowHalf
if
(
sessionStorage
.
open
==
undefined
)
sessionStorage
.
open
=
1
...
...
activeFt/summer/oldView.html
View file @
495634d1
...
...
@@ -44,6 +44,7 @@
<script
type=
"text/javascript"
src=
"https://app.ixiulive.com/static/js/socket.io.js"
></script>
<script>
$
(
function
(){
var
jumpType
=
1
if
(
sessionStorage
.
lang
!=
2
){
$
(
"body"
).
addClass
(
"bg-en"
)
$
(
".act-room-tips1"
).
text
(
"the one ahead"
)
...
...
@@ -56,7 +57,7 @@ $(function(){
"data"
:
{
"msg"
:
'跳转集合功能'
,
"jumptype"
:
3
,
"url"
:
$url
+
"/activeFt/summer/index.html"
+
location
.
search
,
"url"
:
$url
+
"/activeFt/summer/index.html"
+
location
.
search
+
'&jumpType='
+
jumpType
,
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
...
...
@@ -72,7 +73,10 @@ $(function(){
success
:
function
(
data
){
console
.
log
(
'获取主播信息'
,
data
)
if
(
data
.
result
.
userData
.
signReceive
!=
0
&&
data
.
result
.
roomData
.
rank
!=-
1
)
$
(
".act-room-bg1"
).
removeClass
(
"act-room-bg2"
)
else
$
(
".act-room-bg1"
).
addClass
(
"act-room-bg2"
)
else
{
jumpType
=
2
$
(
".act-room-bg1"
).
addClass
(
"act-room-bg2"
)
}
$
(
".act-room-p1"
).
text
(
data
.
result
.
roomData
.
diffPreScore
)
$
(
".act-room-p2"
).
text
(
data
.
result
.
roomData
.
rank
)
if
(
data
.
result
.
roomData
.
rank
==
1
){
...
...
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