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
22106bf7
authored
Aug 13, 2024
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
06923fdf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
43 additions
and
11 deletions
activeFt/garden/css/index.css
activeFt/garden/css/index.less
activeFt/garden/images/act-room-bg.png
activeFt/garden/images/分割线.png → activeFt/garden/images/line.png
activeFt/garden/index.html
activeFt/garden/oldView.html
activeFt/garden/css/index.css
View file @
22106bf7
...
@@ -530,10 +530,12 @@ iframe {
...
@@ -530,10 +530,12 @@ iframe {
height
:
2rem
;
height
:
2rem
;
border-radius
:
50%
;
border-radius
:
50%
;
font-size
:
1.3rem
;
font-size
:
1.3rem
;
background
:
rgba
(
37
,
137
,
28
);
text-align
:
center
;
text-align
:
center
;
line-height
:
2rem
;
line-height
:
2rem
;
font-weight
:
700
;
font-weight
:
700
;
color
:
#f0ff25
;
color
:
#f0ff25
;
border
:
0.1rem
solid
#55eb3d
;
}
}
.act-room-bg2
{
.act-room-bg2
{
width
:
10rem
;
width
:
10rem
;
...
@@ -588,3 +590,9 @@ iframe {
...
@@ -588,3 +590,9 @@ iframe {
text-align
:
center
;
text-align
:
center
;
font-weight
:
700
;
font-weight
:
700
;
}
}
.line
{
width
:
3.58rem
;
position
:
absolute
;
bottom
:
0
;
left
:
2.8rem
;
}
activeFt/garden/css/index.less
View file @
22106bf7
...
@@ -546,10 +546,12 @@ iframe{
...
@@ -546,10 +546,12 @@ iframe{
// background: pink;
// background: pink;
border-radius: 50%;
border-radius: 50%;
font-size: 1.3rem;
font-size: 1.3rem;
background: rgba(37,137,28);
text-align: center;
text-align: center;
line-height: 2rem;
line-height: 2rem;
font-weight: 700;
font-weight: 700;
color: rgb(240, 255, 37);
color: rgb(240, 255, 37);
border: 0.1rem solid rgb(85,235,61);
}
}
}
}
.act-room-bg2{
.act-room-bg2{
...
@@ -604,4 +606,10 @@ iframe{
...
@@ -604,4 +606,10 @@ iframe{
line-height: 1.5rem;
line-height: 1.5rem;
text-align: center;
text-align: center;
font-weight: 700;
font-weight: 700;
}
.line{
width: 3.58rem;
position: absolute;
bottom: 0;
left: 2.8rem;
}
}
\ No newline at end of file
activeFt/garden/images/act-room-bg.png
View file @
22106bf7
10 KB
|
W:
|
H:
10.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
activeFt/garden/images/
分割线
.png
→
activeFt/garden/images/
line
.png
View file @
22106bf7
File moved
activeFt/garden/index.html
View file @
22106bf7
...
@@ -322,6 +322,7 @@ $(function(){
...
@@ -322,6 +322,7 @@ $(function(){
html
+=
'
<
p
>
'+list.name+'
<
/p>'
;
html
+=
'
<
p
>
'+list.name+'
<
/p>'
;
html
+=
'
<
/div>'
;
html
+=
'
<
/div>'
;
html
+=
'
<
div
class
=
"list-box3"
>
花園積分
:
'+list.score+'
<
/div>'
;
html
+=
'
<
div
class
=
"list-box3"
>
花園積分
:
'+list.score+'
<
/div>'
;
html
+=
'
<
img
class
=
"line"
src
=
"images/line.png"
>
'
html+='
<
/li>'
;
html+='
<
/li>'
;
}
}
if
(
type
==
1
)
$
(
".list-box-bg .list-content"
).
html
(
html
)
if
(
type
==
1
)
$
(
".list-box-bg .list-content"
).
html
(
html
)
...
...
activeFt/garden/oldView.html
View file @
22106bf7
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
<script
src=
"lib/lottie-player.js"
></script>
<script
src=
"lib/lottie-player.js"
></script>
<body
style=
"background: rgba(0, 0, 0, 0);"
>
<body
style=
"background: rgba(0, 0, 0, 0);"
>
<div
class=
"act-room-bg1 "
>
<div
class=
"act-room-bg1 "
>
<div
class=
"num-box"
>
0
</div>
<div
style=
"display: none;"
class=
"num-box"
>
0
</div>
</div>
</div>
<div
style=
"display: none;"
class=
"act-room-bg2"
>
<div
style=
"display: none;"
class=
"act-room-bg2"
>
<div
class=
"act-room-p1"
>
距離上一名 :
</div>
<div
class=
"act-room-p1"
>
距離上一名 :
</div>
...
@@ -50,17 +50,29 @@ $(function(){
...
@@ -50,17 +50,29 @@ $(function(){
$
(
"body"
).
addClass
(
"bg-en"
)
$
(
"body"
).
addClass
(
"bg-en"
)
}
}
$
(
".act-room-bg1"
).
on
(
"click"
,
function
(){
$
(
".act-room-bg1"
).
on
(
"click"
,
function
(){
var
obj
=
{
// var obj = {
"cid"
:
12
,
// "cid": 12,
"reqCode"
:
new
Date
().
getTime
(),
// "reqCode": new Date().getTime(),
"data"
:
{
// "data": {
"msg"
:
'跳转集合功能'
,
// "msg": '跳转集合功能',
"jumptype"
:
3
,
// "jumptype": 3,
"url"
:
$url
+
"/activeFt/garden/index.html"
+
location
.
search
+
'&jump=1'
,
// "url": $url + "/activeFt/garden/index.html" + location.search+'&jump=1',
// }
// }
// var obj2 = JSON.stringify(obj);
// appCollaboration(obj2);
$
.
ajax
({
url
:
$ip
+
'/actSecretGarden/openPopup.html'
,
data
:{
width
:
'0'
,
popupUrl
:
'http://test.ybact.yazhaiyabo.com/games/fireGarden2/index.html'
,
height
:
'0.5'
,
heightR
:
'121'
,
},
success
:
function
(){
}
}
}
})
var
obj2
=
JSON
.
stringify
(
obj
);
appCollaboration
(
obj2
);
// var obj = {
// var obj = {
// "cid": 31,
// "cid": 31,
// "reqCode": new Date().getTime(),
// "reqCode": new Date().getTime(),
...
@@ -85,6 +97,8 @@ $(function(){
...
@@ -85,6 +97,8 @@ $(function(){
url
:
$ip
+
'/actSecretGarden/getRoomPartData.html'
,
url
:
$ip
+
'/actSecretGarden/getRoomPartData.html'
,
success
:
function
(
data
){
success
:
function
(
data
){
console
.
log
(
'圖標數據'
,
data
)
console
.
log
(
'圖標數據'
,
data
)
if
(
data
.
result
.
roomData
.
flowerNum
>
0
)
$
(
".num-box"
).
show
()
else
$
(
".num-box"
).
hide
()
$
(
".num-box"
).
text
(
data
.
result
.
roomData
.
flowerNum
)
$
(
".num-box"
).
text
(
data
.
result
.
roomData
.
flowerNum
)
}
}
})
})
...
...
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