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
0bf4e56d
authored
Oct 28, 2024
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
7dcbe0fa
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
82 additions
and
7 deletions
activeFt/luckyFly/css/index.css
activeFt/luckyFly/css/index.less
activeFt/luckyFly/index.html
activeFt/luckyFly/oldView.html
activeFt/luckyFly/css/index.css
View file @
0bf4e56d
...
...
@@ -678,3 +678,33 @@ iframe {
animation-iteration-count
:
infinite
;
-webkit-animation-iteration-count
:
infinite
;
}
.act-room-bg
{
position
:
relative
;
width
:
8rem
;
height
:
3.402rem
;
background
:
url(../images/act-room-bg.png)
no-repeat
;
background-size
:
100%
100%
;
float
:
right
;
}
.act-room-p1
{
color
:
#fff
;
font-size
:
0.65rem
;
text-indent
:
0.7rem
;
padding-top
:
0.6rem
;
}
.act-room-p2
{
color
:
#fff
;
font-size
:
0.65rem
;
text-indent
:
0.7rem
;
padding-top
:
0.2rem
;
}
.act-room-bg2
{
position
:
relative
;
width
:
5.04rem
;
height
:
3.402rem
;
background
:
url(../images/act-room-bg2.png)
no-repeat
;
background-size
:
100%
100%
;
}
.act-room-bg2
p
{
display
:
none
;
}
activeFt/luckyFly/css/index.less
View file @
0bf4e56d
...
...
@@ -686,5 +686,35 @@ iframe{
-webkit-animation-iteration-count: infinite;
}
.fly-gift-stage3{
}
.act-room-bg{
position: relative;
width: 8rem;
height: 3.402rem;
background: url(../images/act-room-bg.png)no-repeat;
background-size: 100% 100%;
float: right;
}
.act-room-p1{
color: #fff;
font-size: 0.65rem;
text-indent: 0.7rem;
padding-top: 0.6rem;
}
.act-room-p2{
color: #fff;
font-size: 0.65rem;
text-indent: 0.7rem;
padding-top: 0.2rem;
}
.act-room-bg2{
position: relative;
width: 5.04rem;
height: 3.402rem;
background: url(../images/act-room-bg2.png)no-repeat;
background-size: 100% 100%;
p{
display: none;
}
}
\ No newline at end of file
activeFt/luckyFly/index.html
View file @
0bf4e56d
...
...
@@ -338,6 +338,7 @@ $(function(){
}
else
if
(
list
.
taskStatus
==
2
){
$
(
".fly-gift"
+
(
i
+
1
)
+
""
).
addClass
(
"fly-gift-stage3"
).
attr
(
"data-type"
,
list
.
taskId
)
$
(
".fly-gift"
+
(
i
+
1
)
+
""
).
attr
(
"src"
,
"images/gift3.png"
)
$
(
".fly-gift"
+
(
i
+
1
)
+
""
).
unbind
(
"click"
)
}
...
...
activeFt/luckyFly/oldView.html
View file @
0bf4e56d
...
...
@@ -30,7 +30,10 @@
</head>
<script
src=
"lib/lottie-player.js"
></script>
<body
style=
"background: rgba(0, 0, 0, 0);"
>
<div
style=
"display: none;"
class=
"act-room-bg"
></div>
<div
style=
"display: none;"
class=
"act-room-bg act-room-bg2"
>
<p
class=
"act-room-p1"
>
主播積分 : 8000
</p>
<p
class=
"act-room-p2"
>
排名 : 5
</p>
</div>
</body>
<script
src=
"lib/jquery-3.1.1.min.js"
></script>
<script
src=
"layer-v3.1.0/layer/layer.js"
></script>
...
...
@@ -41,8 +44,6 @@ $(function(){
if
(
sessionStorage
.
lang
!=
2
){
$
(
".act-room-bg"
).
fadeIn
(
200
)
}
$
(
".act-room-bg"
).
on
(
"click"
,
function
(){
var
obj
=
{
"cid"
:
12
,
...
...
@@ -50,7 +51,7 @@ $(function(){
"data"
:
{
"msg"
:
'跳转集合功能'
,
"jumptype"
:
3
,
"url"
:
$url
+
"/activeFt/
Fishing
/index.html"
+
location
.
search
+
''
,
"url"
:
$url
+
"/activeFt/
luckyFly
/index.html"
+
location
.
search
+
''
,
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
...
...
@@ -59,12 +60,24 @@ $(function(){
$
(
".dew-exc"
).
on
(
"click"
,
function
(){
})
view
()
function
view
(){
$
.
ajax
({
url
:
$ip
+
'/actSpaceOdyssey/getRoomPartData.html'
,
success
:
function
(
data
){
console
.
log
(
'圖標數據'
,
data
)
if
(
data
.
result
.
userData
.
signReceive
!=
0
){
$
(
".act-room-bg"
).
removeClass
(
"act-room-bg2"
)
}
$
(
".act-room-p1"
).
text
(
'主播積分 : '
+
data
.
result
.
roomData
.
score
+
''
)
if
(
data
.
result
.
roomData
.
rank
!=-
1
)
$
(
".act-room-p2"
).
text
(
'排名 : '
+
data
.
result
.
roomData
.
rank
+
''
)
else
$
(
".act-room-p2"
).
text
(
'排名 : --'
)
}
})
}
setInterval
(
function
(){
view
()
},
60000
)
setTimeout
(
function
(){
if
(
sessionStorage
.
lang
==
2
)
return
;
...
...
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