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
e571cc9e
authored
Oct 16, 2024
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
652107e5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
15 deletions
activeFt/Fishing/css/index.css
activeFt/Fishing/css/index.less
activeFt/Fishing/index.html
activeFt/Fishing/css/index.css
View file @
e571cc9e
...
...
@@ -111,7 +111,14 @@ iframe {
margin-top
:
1.3rem
;
overflow
:
hidden
;
}
.lunbo-content
>
div
{
.lunbo-content
.lunbo-content-auto
{
position
:
relative
;
width
:
8rem
;
height
:
5.5rem
;
top
:
0
;
transition
:
0.35s
all
;
}
.lunbo-content
.lunbo-content-auto
>
div
{
padding-top
:
0.15rem
;
color
:
#FFFFFF
;
font-size
:
0.35rem
;
...
...
activeFt/Fishing/css/index.less
View file @
e571cc9e
...
...
@@ -111,20 +111,30 @@ iframe{
margin: 0 auto;
margin-top: 1.3rem;
overflow: hidden;
>div{
padding-top: 0.15rem;
color: #FFFFFF;
font-size: 0.35rem;
line-height: 0.5rem;
text-align: center;
font-weight: 700;
background: rgba(0,0,0,0.2);
width: 8rem;
height: 1.1rem;
margin-bottom: 0.125rem;
.lunbo-content-auto{
position: relative;
width: 8rem;
border-radius: 0.2rem;
height: 5.5rem;
top: 0;
transition: 0.35s all;
>div{
padding-top: 0.15rem;
color: #FFFFFF;
font-size: 0.35rem;
line-height: 0.5rem;
text-align: center;
font-weight: 700;
background: rgba(0,0,0,0.2);
width: 8rem;
height: 1.1rem;
margin-bottom: 0.125rem;
width: 8rem;
border-radius: 0.2rem;
}
}
}
.list-ul{
width: 8.7rem;
...
...
activeFt/Fishing/index.html
View file @
e571cc9e
...
...
@@ -50,6 +50,7 @@
<iframe
src=
""
frameborder=
"0"
></iframe>
<div
class=
"lunbo-box"
>
<div
class=
"lunbo-content"
>
<div
class=
"lunbo-content-auto"
></div>
<!-- <div>
Congratulations on the <span style="color:#2DFFF8">10x</span> jackpot in <span style="color:#FDFF3A ;">XXXXXXX</span> fishing game!
</div> -->
...
...
@@ -211,8 +212,18 @@ $(function(){
var
list
=
data
.
result
.
recordList
[
i
]
html
+=
'
<
div
>
Congratulations
on
the
<
span
style
=
"color:#2DFFF8"
>
'+list.prizeMultiple+'
x
<
/span> jackpot in <br><span style="color:#FDFF3A ;">'+list.nickName+'</
span
>
fishing
game
!<
/div>'
;
}
$
(
".lunbo-content"
).
html
(
html
)
$
(
".lunbo-content-auto"
).
html
(
html
)
var
topNum
=
0
var
lunboNum
=
0
setInterval
(
function
(){
topNum
+=
1.375
lunboNum
++
$
(
".lunbo-content-auto"
).
css
(
"top"
,
-
topNum
+
"rem"
)
if
(
lunboNum
>
data
.
result
.
recordList
.
length
-
5
){
lunboNum
=
0
topNum
=
0
}
},
2000
)
}
})
}
...
...
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