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
4eb71f58
authored
Oct 14, 2024
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
b5806601
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
112 deletions
activeFt/Fishing/oldView.html
ftIcon/action2/css/index.css
ftIcon/action2/css/index.less
ftIcon/action2/images/act-room-bg.png
ftIcon/action2/images/act-room-bg2.png
ftIcon/action2/images/act-room1.png
ftIcon/action2/images/en/act-room-bg2.png
ftIcon/action2/index.html
ftIcon/action2/lib/default.js
activeFt/Fishing/oldView.html
View file @
4eb71f58
...
...
@@ -39,16 +39,9 @@
<script>
$
(
function
(){
if
(
sessionStorage
.
lang
!=
2
){
$
(
"body"
).
addClass
(
"bg-en"
)
$
(
".act-room-bg"
).
fadeIn
(
200
)
// $(".act-room-p1").text("score:")
// $(".act-room-p3").text("goal:")
$
(
".en-txt1"
).
text
(
"score"
)
$
(
".en-txt2"
).
text
(
"PROG"
)
$
(
".en-txt3"
).
text
(
"rank"
)
}
var
jump
=
1
$
(
".act-room-bg"
).
on
(
"click"
,
function
(){
var
obj
=
{
...
...
ftIcon/action2/css/index.css
View file @
4eb71f58
.bg-en
.act-room-bg2
{
background
:
url(../images/en/act-room-bg2.png)
no-repeat
;
background-size
:
100%
100%
;
}
.act-room-bg
{
width
:
10rem
;
height
:
5.577rem
;
background
:
url(../images/act-room-bg.png)
no-repeat
;
float
:
right
;
width
:
8rem
;
height
:
3.352rem
;
background
:
url(../images/act-room1.png)
no-repeat
;
background-size
:
100%
100%
;
}
.act-room-bg
.act-p1
{
text-indent
:
1.2rem
;
font-size
:
0.8rem
;
color
:
#fff
;
padding-top
:
1rem
;
}
.act-room-bg
.act-p1
span
{
color
:
#FFF337
;
}
.act-room-bg
.act-p2
{
text-indent
:
1.2rem
;
font-size
:
0.8rem
;
color
:
#fff
;
padding-top
:
0.3rem
;
}
.act-room-bg
.act-p2
span
{
color
:
#FFF337
;
}
.act-room-bg2
{
width
:
10rem
;
height
:
5.577rem
;
background
:
url(../images/act-room-bg2.png)
no-repeat
;
background-size
:
100%
100%
;
}
.act-room-bg2
>
p
{
display
:
none
;
}
ftIcon/action2/css/index.less
View file @
4eb71f58
.bg-en{
.act-room-bg2{
background: url(../images/en/act-room-bg2.png)no-repeat;
background-size: 100% 100%;
}
}
.act-room-bg{
width: 10rem;
height: 5.577rem;
background: url(../images/act-room-bg.png)no-repeat;
float: right;
width: 8rem;
height: 3.352rem;
background: url(../images/act-room1.png)no-repeat;
background-size: 100% 100%;
.act-p1{
text-indent: 1.2rem;
font-size: 0.8rem;
color: #fff;
padding-top: 1rem;
span{
color: #FFF337;
}
}
.act-p2{
text-indent: 1.2rem;
font-size: 0.8rem;
color: #fff;
padding-top: 0.3rem;
span{
color: #FFF337;
}
}
}
.act-room-bg2{
width: 10rem;
height: 5.577rem;
background: url(../images/act-room-bg2.png)no-repeat;
background-size: 100% 100%;
>p{
display: none;
}
}
\ No newline at end of file
ftIcon/action2/images/act-room-bg.png
deleted
100644 → 0
View file @
b5806601
27 KB
ftIcon/action2/images/act-room-bg2.png
deleted
100644 → 0
View file @
b5806601
24.6 KB
ftIcon/action2/images/act-room1.png
0 → 100644
View file @
4eb71f58
16.2 KB
ftIcon/action2/images/en/act-room-bg2.png
deleted
100644 → 0
View file @
b5806601
24.7 KB
ftIcon/action2/index.html
View file @
4eb71f58
...
...
@@ -30,10 +30,7 @@
</head>
<script
src=
"lib/lottie-player.js"
></script>
<body
style=
"background: rgba(0, 0, 0, 0)"
>
<div
style=
"display: none;"
class=
"act-room-bg act-room-bg2"
>
<p
class=
"act-p1"
><i
class=
"en-txt1"
>
主播積分
</i>
:
<span>
8000
</span></p>
<p
class=
"act-p2"
><i
class=
"en-txt2"
>
進度
</i>
:
<span
class=
"act-span2"
style=
"margin-right: 0.5rem;"
>
18%
</span>
<i
class=
"en-txt3"
>
排名
</i>
:
<span
class=
"act-span3"
>
5
</span></p>
</div>
<div
style=
"display: none;"
class=
"act-room-bg"
></div>
</body>
<script
src=
"lib/jquery-3.1.1.min.js"
></script>
<script
src=
"lib/fsize.js"
></script>
...
...
@@ -44,14 +41,9 @@
$
(
function
(){
var
wsTimer
=
null
if
(
sessionStorage
.
lang
!=
2
){
$
(
"body"
).
addClass
(
"bg-en"
)
// $(".act-room-p1").text("score:")
// $(".act-room-p3").text("goal:")
$
(
".en-txt1"
).
text
(
"score"
)
$
(
".en-txt2"
).
text
(
"PROG"
)
$
(
".en-txt3"
).
text
(
"rank"
)
$
(
".act-room-bg"
).
fadeIn
(
200
)
}
var
jump
=
1
$
(
".act-room-bg"
).
on
(
"click"
,
function
(){
var
obj
=
{
"cid"
:
12
,
...
...
@@ -59,7 +51,7 @@ $(function(){
"data"
:
{
"msg"
:
'跳转集合功能'
,
"jumptype"
:
3
,
"url"
:
$url
+
"/activeFt/
lucky777
/index.html"
+
location
.
search
+
'&jump='
+
jump
+
''
,
"url"
:
$url
+
"/activeFt/
Fishing
/index.html"
+
location
.
search
+
'&jump='
+
jump
+
''
,
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
...
...
@@ -81,27 +73,11 @@ $(function(){
appCollaboration
(
obj2
);
function
view
(){
$
.
ajax
({
url
:
$ip
+
'/actLucky777/getRoomPartData.html'
,
success
:
function
(
data
){
console
.
log
(
'圖標數據'
,
data
)
if
(
data
.
result
.
userData
.
signReceive
==
0
){
$
(
".act-room-bg"
).
fadeIn
(
200
)
return
;
}
jump
=
2
$
(
".act-room-bg"
).
removeClass
(
"act-room-bg2"
).
fadeIn
(
200
)
$
(
".act-p1 span"
).
text
(
data
.
result
.
roomData
.
score
)
$
(
".act-span2"
).
text
(
Math
.
floor
(
data
.
result
.
roomData
.
score
/
15000
*
100
)
+
'%'
)
if
(
data
.
result
.
roomData
.
rank
==-
1
)
$
(
".act-span3"
).
text
(
'--'
)
else
$
(
".act-span3"
).
text
(
data
.
result
.
roomData
.
rank
)
}
})
}
view
()
setInterval
(
function
(){
view
()
},
60000
)
setTimeout
(
function
(){
if
(
sessionStorage
.
lang
==
2
)
return
;
...
...
ftIcon/action2/lib/default.js
View file @
4eb71f58
...
...
@@ -43,7 +43,7 @@ if (uid.indexOf("http://localhost:63342") > -1) {
sessionStorage
.
roomId
=
23864554
}
if
(
uid
.
indexOf
(
"file:///"
)
>
-
1
)
{
sessionStorage
.
lang
=
2
sessionStorage
.
lang
=
1
sessionStorage
.
uid
=
155100
;
sessionStorage
.
token
=
'debug'
sessionStorage
.
roomId
=
174003
;
...
...
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