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
83430208
authored
9 months ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
3409b995
ceshi
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
4 deletions
activeFt/garden/css/index.css
activeFt/garden/css/index.less
activeFt/garden/images/遊戲介紹弹窗.png → activeFt/garden/images/layer-game.png
activeFt/garden/index.html
activeFt/garden/oldView.html
activeFt/garden/css/index.css
View file @
83430208
...
...
@@ -504,3 +504,11 @@ iframe {
background-size
:
100%
100%
;
float
:
right
;
}
.layer-game
{
display
:
none
;
width
:
10rem
;
height
:
7.4rem
;
background
:
url(../images/layer-game.png)
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
}
This diff is collapsed.
Click to expand it.
activeFt/garden/css/index.less
View file @
83430208
...
...
@@ -518,4 +518,12 @@ iframe{
background: url(../images/act-room-bg.png)no-repeat;
background-size: 100% 100%;
float: right;
}
.layer-game{
display: none;
width: 10rem;
height: 7.4rem;
background: url(../images/layer-game.png)no-repeat;
background-size: 100% 100%;
position: relative;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
activeFt/garden/images/
遊戲介紹弹窗
.png
→
activeFt/garden/images/
layer-game
.png
View file @
83430208
File moved
This diff is collapsed.
Click to expand it.
activeFt/garden/index.html
View file @
83430208
...
...
@@ -31,6 +31,7 @@
</head>
<script
src=
"lib/lottie-player.js"
></script>
<body>
<div
class=
"layer-game"
></div>
<div
class=
"bg"
>
<div
class=
"banner"
></div>
<div
class=
"top-btn1 "
>
...
...
@@ -213,6 +214,19 @@
<script
src=
"lib/swiper.min.js"
></script>
<script>
$
(
function
(){
$
(
".lucky-tips"
).
on
(
"click"
,
function
(){
layer
.
open
({
type
:
1
,
title
:
false
,
shadeClose
:
true
,
skin
:
"yourclass5"
,
area
:
[
"10rem"
,
"7.4rem"
],
content
:
$
(
".layer-game"
),
end
:
function
()
{
$
(
".layui-layer-shade"
).
hide
()
}
})
})
$
(
".top-btn1 div"
).
eq
(
0
).
on
(
"click"
,
function
(){
$
(
".user-box"
).
hide
()
$
(
".mc-box"
).
fadeIn
(
200
)
...
...
@@ -267,7 +281,7 @@ $(function(){
if
(
data
.
result
.
rankList
[
i
]
==
undefined
)
continue
;
var
list
=
data
.
result
.
rankList
[
i
]
html
+=
'
<
div
class
=
"list-top'+(i+1)+'"
>
';
html+='
<
div
class
=
"top-face"
><
/div
>'
;
html+='
<
a
href
=
"yazhai://_' + list.uid + '_zone"
><
div
class
=
"top-face"
><
/div></
a
>
';
html+='
<
img
class
=
"top-mc-face"
src
=
"https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90"
alt
=
""
>
';
html+='
<
p
class
=
"top-mc-p1"
>
'+list.name+'
<
/p>'
;
html
+=
'
<
p
class
=
"top-mc-p2"
>
花園積分
<
/p>'
;
...
...
@@ -283,7 +297,7 @@ $(function(){
html
+=
'
<
li
>
';
html+='
<
div
class
=
"list-box1"
>
'+(i+1)+'
<
/div>'
;
html
+=
'
<
div
class
=
"list-box2"
>
';
html+='
<
img
class
=
"list-mc-face"
src
=
"https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90"
alt
=
""
>
';
html+='
<
a
href
=
"yazhai://_' + list.uid + '_zone"
><
img
class
=
"list-mc-face"
src
=
"https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90"
alt
=
""
><
/a
>'
;
html
+=
'
<
p
>
'+list.name+'
<
/p>'
;
html
+=
'
<
/div>'
;
html
+=
'
<
div
class
=
"list-box3"
>
花園積分
:
'+list.score+'
<
/div>'
;
...
...
@@ -369,7 +383,7 @@ $(function(){
html
+=
'
<
li
>
';
html+='
<
div
class
=
"user-list-box1"
>
'+(i+1)+'
<
/div>'
;
html
+=
'
<
div
class
=
"user-list-box2"
>
';
html+='
<
img
src
=
"https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90"
alt
=
""
>
'+list.name+'';
html+='
<
a
href
=
"yazhai://_' + list.uid + '_zone"
><
img
src
=
"https://big.bgp.ourpow.com/comm'+list.face+'?x-oss-process=image/resize,w_90"
alt
=
""
><
/a
>'+list.name+''
;
html
+=
'
<
/div>'
;
html
+=
'
<
div
class
=
"user-list-box3"
>
經驗值
:
'+list.score+'
<
/div>'
;
html
+=
'
<
/li>'
;
...
...
This diff is collapsed.
Click to expand it.
activeFt/garden/oldView.html
View file @
83430208
...
...
@@ -50,7 +50,7 @@ $(function(){
"data"
:
{
"msg"
:
'跳转集合功能'
,
"jumptype"
:
3
,
"url"
:
"http://test.ybact.yazhaiyabo.com/games/fireGarden2/index.html"
+
location
.
search
,
"url"
:
"http://test.ybact.yazhaiyabo.com/games/fireGarden2/index.html"
+
location
.
search
+
'&jump=fusi'
,
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
...
...
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