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
53ad17a4
authored
8 months ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
5f426272
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
37 additions
and
11 deletions
activeFt/garden/css/index.css
activeFt/garden/css/index.less
activeFt/garden/images/en/rule.png
activeFt/garden/images/rule.png
activeFt/garden/index.html
activeFt/garden/rule.html
footseenIcon/action/images/en/act-room-bg.png
footseenIcon/action/index.html
footseenIcon/liveData2/css/index.css
footseenIcon/liveData2/css/index.less
footseenIcon/liveData2/index.html
activeFt/garden/css/index.css
View file @
53ad17a4
...
@@ -54,6 +54,7 @@ body {
...
@@ -54,6 +54,7 @@ body {
.body-en
.task-btn1
{
.body-en
.task-btn1
{
background
:
url(../images/en/task-btn1.png)
no-repeat
;
background
:
url(../images/en/task-btn1.png)
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
left
:
7.9rem
;
}
}
.body-en
.task-btn2
{
.body-en
.task-btn2
{
background
:
url(../images/en/task-btn2.png)
no-repeat
;
background
:
url(../images/en/task-btn2.png)
no-repeat
;
...
@@ -786,6 +787,13 @@ iframe {
...
@@ -786,6 +787,13 @@ iframe {
position
:
relative
;
position
:
relative
;
margin
:
0
auto
;
margin
:
0
auto
;
}
}
.rule-bg-en
{
position
:
relative
;
width
:
10rem
;
height
:
33.7rem
;
background
:
url(../images/en/rule.png)
no-repeat
;
background-size
:
100%
auto
;
}
.callKF
{
.callKF
{
width
:
10rem
;
width
:
10rem
;
position
:
absolute
;
position
:
absolute
;
...
...
This diff is collapsed.
Click to expand it.
activeFt/garden/css/index.less
View file @
53ad17a4
body{
body{
background: #75b142;
background: #75b142;
}
}
.body-en{
.body-en{
.banner{
.banner{
background: url(../images/en/banner.png)no-repeat;
background: url(../images/en/banner.png)no-repeat;
...
@@ -55,6 +56,7 @@ body{
...
@@ -55,6 +56,7 @@ body{
.task-btn1 {
.task-btn1 {
background: url(../images/en/task-btn1.png) no-repeat;
background: url(../images/en/task-btn1.png) no-repeat;
background-size: 100% 100%;
background-size: 100% 100%;
left: 7.9rem;
}
}
.task-btn2 {
.task-btn2 {
background: url(../images/en/task-btn2.png) no-repeat;
background: url(../images/en/task-btn2.png) no-repeat;
...
@@ -805,6 +807,13 @@ iframe{
...
@@ -805,6 +807,13 @@ iframe{
position: relative;
position: relative;
margin: 0 auto;
margin: 0 auto;
}
}
.rule-bg-en{
position: relative;
width: 10rem;
height: 33.7rem;
background: url(../images/en/rule.png)no-repeat;
background-size: 100% auto;
}
.callKF{
.callKF{
width: 10rem;
width: 10rem;
position: absolute;
position: absolute;
...
...
This diff is collapsed.
Click to expand it.
activeFt/garden/images/en/rule.png
0 → 100644
View file @
53ad17a4
407 KB
This diff is collapsed.
Click to expand it.
activeFt/garden/images/rule.png
View file @
53ad17a4
This diff is collapsed.
Click to expand it.
activeFt/garden/index.html
View file @
53ad17a4
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
</div>
</div>
<div
style=
"display: none;"
class=
"user-box"
>
<div
style=
"display: none;"
class=
"user-box"
>
<div
class=
"task-box"
>
<div
class=
"task-box"
>
<div
class=
"task3-time"
>
(
<span>
0
</span>
/20
分鐘
)
</div>
<div
class=
"task3-time"
>
(
<span>
0
</span>
/20
<i
class=
"en-txt1"
>
分鐘
</i>
)
</div>
<div
data-type=
"1"
class=
"task-btn1 task1"
></div>
<div
data-type=
"1"
class=
"task-btn1 task1"
></div>
<div
data-type=
"2"
class=
"task-btn1 task2"
></div>
<div
data-type=
"2"
class=
"task-btn1 task2"
></div>
<div
data-type=
"3"
class=
"task-btn1 task3"
></div>
<div
data-type=
"3"
class=
"task-btn1 task3"
></div>
...
@@ -229,6 +229,7 @@
...
@@ -229,6 +229,7 @@
$
(
function
(){
$
(
function
(){
if
(
sessionStorage
.
lang
!=
2
){
if
(
sessionStorage
.
lang
!=
2
){
$
(
"body"
).
addClass
(
"body-en"
)
$
(
"body"
).
addClass
(
"body-en"
)
$
(
"title"
).
text
(
'Her Secret Garden'
)
$
(
".top-mc-box-p1"
).
text
(
"top MC"
)
$
(
".top-mc-box-p1"
).
text
(
"top MC"
)
$
(
".top-mc-box2-p1"
).
text
(
"Player"
)
$
(
".top-mc-box2-p1"
).
text
(
"Player"
)
$
(
".rule-btn"
).
attr
(
"src"
,
"images/en/rule-btn.png"
)
$
(
".rule-btn"
).
attr
(
"src"
,
"images/en/rule-btn.png"
)
...
@@ -236,6 +237,7 @@ $(function(){
...
@@ -236,6 +237,7 @@ $(function(){
$
(
".top-mc-box2-p2"
).
text
(
"not yet"
)
$
(
".top-mc-box2-p2"
).
text
(
"not yet"
)
$
(
".top-mc-box-p3"
).
text
(
"score:--"
)
$
(
".top-mc-box-p3"
).
text
(
"score:--"
)
$
(
".top-mc-box2-p3"
).
text
(
"score:--"
)
$
(
".top-mc-box2-p3"
).
text
(
"score:--"
)
$
(
".en-txt1"
).
text
(
'min'
)
}
}
if
(
sessionStorage
.
lang
==
2
)
var
titleName
=
"她の秘密後花園"
if
(
sessionStorage
.
lang
==
2
)
var
titleName
=
"她の秘密後花園"
else
var
titleName
=
"Her Secret Garden"
else
var
titleName
=
"Her Secret Garden"
...
...
This diff is collapsed.
Click to expand it.
activeFt/garden/rule.html
View file @
53ad17a4
...
@@ -55,6 +55,8 @@ $(function(){
...
@@ -55,6 +55,8 @@ $(function(){
var
obj2
=
JSON
.
stringify
(
obj
);
var
obj2
=
JSON
.
stringify
(
obj
);
appCollaboration
(
obj2
);
appCollaboration
(
obj2
);
if
(
sessionStorage
.
lang
!=
2
){
if
(
sessionStorage
.
lang
!=
2
){
$
()
$
(
"title"
).
text
(
'Her Secret Garden'
)
$
(
".back"
).
attr
(
"src"
,
"images/en/back.png"
)
$
(
".back"
).
attr
(
"src"
,
"images/en/back.png"
)
$
(
"title"
).
text
(
"Her Secret Garden"
)
$
(
"title"
).
text
(
"Her Secret Garden"
)
$
(
".rule-bg"
).
addClass
(
"rule-bg-en"
)
$
(
".rule-bg"
).
addClass
(
"rule-bg-en"
)
...
...
This diff is collapsed.
Click to expand it.
footseenIcon/action/images/en/act-room-bg.png
View file @
53ad17a4
10.5 KB
|
W:
|
H:
43.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
This diff is collapsed.
Click to expand it.
footseenIcon/action/index.html
View file @
53ad17a4
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
<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
style=
"display: none;"
class=
"num-box"
>
0
</div>
<div
style=
"display: none;"
class=
"num-box"
>
0
</div>
</div>
>
</div>
</body>
</body>
<script
src=
"lib/jquery-3.1.1.min.js"
></script>
<script
src=
"lib/jquery-3.1.1.min.js"
></script>
<script
src=
"lib/fsize.js"
></script>
<script
src=
"lib/fsize.js"
></script>
...
@@ -90,7 +90,7 @@ $(function(){
...
@@ -90,7 +90,7 @@ $(function(){
}
}
})
})
})
}
,
30000
)
$
(
".act-room-bg1"
).
on
(
"click"
,
function
(){
$
(
".act-room-bg1"
).
on
(
"click"
,
function
(){
var
obj
=
{
var
obj
=
{
"cid"
:
31
,
"cid"
:
31
,
...
...
This diff is collapsed.
Click to expand it.
footseenIcon/liveData2/css/index.css
View file @
53ad17a4
...
@@ -145,8 +145,10 @@
...
@@ -145,8 +145,10 @@
height
:
5rem
;
height
:
5rem
;
background
:
url(../images/act-room-bg2.png)
no-repeat
;
background
:
url(../images/act-room-bg2.png)
no-repeat
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
position
:
relativ
e
;
position
:
absolut
e
;
transform
:
scale
(
0.33
);
transform
:
scale
(
0.33
);
right
:
-3.33rem
;
top
:
-1.65rem
;
}
}
.act-room-p1
{
.act-room-p1
{
text-align
:
left
;
text-align
:
left
;
...
...
This diff is collapsed.
Click to expand it.
footseenIcon/liveData2/css/index.less
View file @
53ad17a4
...
@@ -165,8 +165,10 @@
...
@@ -165,8 +165,10 @@
height: 5rem;
height: 5rem;
background: url(../images/act-room-bg2.png)no-repeat;
background: url(../images/act-room-bg2.png)no-repeat;
background-size: 100% 100%;
background-size: 100% 100%;
position:
relativ
e;
position:
absolut
e;
transform: scale(0.33);
transform: scale(0.33);
right: -3.33rem;
top: -1.65rem;
}
}
.act-room-p1{
.act-room-p1{
text-align: left;
text-align: left;
...
...
This diff is collapsed.
Click to expand it.
footseenIcon/liveData2/index.html
View file @
53ad17a4
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
</div>
</div>
<div
class=
"act-room-bg2"
>
<div
style=
"display: none;"
class=
"act-room-bg2"
>
<div
class=
"act-room-p1"
>
距離上一名 :--
</div>
<div
class=
"act-room-p1"
>
距離上一名 :--
</div>
<div
class=
"act-room-p2"
>
當前排名:--
</div>
<div
class=
"act-room-p2"
>
當前排名:--
</div>
<div
class=
"act-room-p3"
></div>
<div
class=
"act-room-p3"
></div>
...
@@ -108,20 +108,21 @@ $(function(){
...
@@ -108,20 +108,21 @@ $(function(){
success
:
function
(
data
){
success
:
function
(
data
){
console
.
log
(
'圖標數據'
,
data
)
console
.
log
(
'圖標數據'
,
data
)
if
(
sessionStorage
.
lang
==
2
){
if
(
sessionStorage
.
lang
==
2
){
if
(
data
.
result
.
roomData
.
rank
==
1
)
$
(
".act-room-p1"
).
text
(
"距離被超越 :"
+
data
.
result
.
roomData
.
diffPreScore
)
if
(
data
.
result
.
roomData
.
rank
==
1
)
$
(
".act-room-p1"
).
text
(
"距離被超越 :
"
+
data
.
result
.
roomData
.
diffPreScore
)
else
$
(
".act-room-p1"
).
text
(
"距離上一名 :"
+
data
.
result
.
roomData
.
diffPreScore
)
else
$
(
".act-room-p1"
).
text
(
"距離上一名 :
"
+
data
.
result
.
roomData
.
diffPreScore
)
if
(
data
.
result
.
roomData
.
rank
==-
1
)
$
(
".act-room-p2"
).
text
(
"當前排名:未上榜"
)
if
(
data
.
result
.
roomData
.
rank
==-
1
)
$
(
".act-room-p2"
).
text
(
"當前排名:未上榜"
)
else
$
(
".act-room-p2"
).
text
(
'當前排名
:
'
+
data
.
result
.
roomData
.
rank
)
else
$
(
".act-room-p2"
).
text
(
'當前排名
:
'
+
data
.
result
.
roomData
.
rank
)
}
else
{
}
else
{
if
(
data
.
result
.
roomData
.
rank
==
1
)
$
(
".act-room-p1"
).
text
(
"be surpassed :"
+
data
.
result
.
roomData
.
diffPreScore
)
if
(
data
.
result
.
roomData
.
rank
==
1
)
$
(
".act-room-p1"
).
text
(
"be surpassed :"
+
data
.
result
.
roomData
.
diffPreScore
)
else
$
(
".act-room-p1"
).
text
(
"next :"
+
data
.
result
.
roomData
.
diffPreScore
)
else
$
(
".act-room-p1"
).
text
(
"next :"
+
data
.
result
.
roomData
.
diffPreScore
)
if
(
data
.
result
.
roomData
.
rank
==-
1
)
$
(
".act-room-p2"
).
text
(
"rank
:
--"
)
if
(
data
.
result
.
roomData
.
rank
==-
1
)
$
(
".act-room-p2"
).
text
(
"rank
:
--"
)
else
$
(
".act-room-p2"
).
text
(
'rank
:
'
+
data
.
result
.
roomData
.
rank
)
else
$
(
".act-room-p2"
).
text
(
'rank
:
'
+
data
.
result
.
roomData
.
rank
)
}
}
$
(
".act-room-bg2"
).
show
()
}
}
})
})
}
}
...
...
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