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