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
7372bab2
authored
Sep 14, 2024
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
7c7dc2d6
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
75 additions
and
16 deletions
activeFt/newMan/css/index.css
activeFt/newMan/css/index.less
activeFt/newMan/images/en/sure.png → activeFt/newMan/images/en/btn-ok.png
activeFt/newMan/images/fusi.png
activeFt/newMan/index.html
activeFt/newMan/oldView.html
activeFt/newMan/pop.html
activeFt/newMan/pop2.html
activeFt/newMan/rule.html
ftIcon/action2/index.html
activeFt/newMan/css/index.css
View file @
7372bab2
...
...
@@ -163,6 +163,20 @@
background
:
url(../images/en/act-room-bg2.png)
no-repeat
;
background-size
:
100%
100%
;
}
.bg-en
.one-gift-box2
{
position
:
relative
;
height
:
5.97rem
;
background
:
url(../images/en/one-gift-box2.png)
no-repeat
;
background-size
:
100%
100%
;
}
.bg-en
.one-gift-box2
.one-gift-send
{
top
:
3.5rem
!important
;
left
:
2rem
!important
;
}
.bg-en
.btn-ok
{
background
:
url(../images/en/btn-ok.png)
no-repeat
!important
;
background-size
:
100%
100%
!important
;
}
.banner
{
width
:
10rem
;
height
:
13.36rem
;
...
...
@@ -179,6 +193,11 @@
position
:
relative
;
margin
:
0
auto
;
}
.rule-bg-en
{
background
:
url(../images/en/rule-bg.png)
no-repeat
;
background-size
:
100%
auto
;
height
:
41.8rem
;
}
.top-btn1
{
position
:
relative
;
width
:
10rem
;
...
...
activeFt/newMan/css/index.less
View file @
7372bab2
...
...
@@ -171,6 +171,20 @@
background: url(../images/en/act-room-bg2.png)no-repeat;
background-size: 100% 100%;
}
.one-gift-box2{
position: relative;
height: 5.97rem;
background: url(../images/en/one-gift-box2.png)no-repeat;
background-size: 100% 100%;
.one-gift-send{
top: 3.5rem !important;
left: 2rem !important;
}
}
.btn-ok{
background: url(../images/en/btn-ok.png)no-repeat !important;
background-size: 100% 100% !important;
}
}
.banner{
width: 10rem;
...
...
@@ -188,6 +202,11 @@
position: relative;
margin: 0 auto;
}
.rule-bg-en{
background: url(../images/en/rule-bg.png)no-repeat;
background-size: 100% auto;
height: 41.8rem;
}
.top-btn1{
position: relative;
width: 10rem;
...
...
activeFt/newMan/images/en/
sure
.png
→
activeFt/newMan/images/en/
btn-ok
.png
View file @
7372bab2
File moved
activeFt/newMan/images/fusi.png
0 → 100644
View file @
7372bab2
176 KB
activeFt/newMan/index.html
View file @
7372bab2
...
...
@@ -36,7 +36,7 @@
<div
class=
"rule-btn"
></div>
<div
style=
"display: none;"
class=
"layer-card-ok"
>
<div>
購買成功,600寶石已發放
<br>
明日起每日進入直播間自動發放20寶石
<br>
有效期至
<span
class=
"layer-time-span"
>
XX月XX日
</span>
<i
class=
"en-txt1"
>
購買成功,600寶石已發放
</i><br><i
class=
"en-txt2"
>
明日起每日進入直播間自動發放20寶石
</i><br><i
class=
"en-txt3"
>
有效期至
</i>
<span
class=
"layer-time-span"
>
XX月XX日
</span>
</div>
<div
class=
"btn-ok"
></div>
</div>
...
...
@@ -136,10 +136,15 @@
<script>
$
(
function
(){
if
(
sessionStorage
.
lang
==
2
)
var
titleName
=
"尋星旅團"
else
var
titleName
=
"
Queen of the Night
"
else
var
titleName
=
"
Star-seeking Travel Corps
"
if
(
sessionStorage
.
lang
!=
2
){
$
(
"body"
).
addClass
(
"bg-en"
)
$
(
".new-task-time"
).
text
(
"The event will end at 24:00 on September 30."
)
$
(
"title"
).
text
(
"Star-seeking Travel Corps"
)
$
(
".vip-icon"
).
attr
(
"src"
,
"images/en/vip-icon.png"
)
$
(
".en-txt1"
).
text
(
"Purchase succeeded. 600 GEMs issued"
)
$
(
".en-txt2"
).
text
(
"Daily 20 GEMs auto-issued tomorrow"
)
$
(
".en-txt3"
).
text
(
"The validity period is until "
)
}
var
obj
=
{
"cid"
:
34
,
//修改网页title 居中显示。
...
...
activeFt/newMan/oldView.html
View file @
7372bab2
...
...
@@ -187,9 +187,11 @@ $(function(){
}
})
},
1
0000
);
},
30
0000
);
}
if
(
goPop
==
1
){
if
(
localStorage
.
newManLayer
==
undefined
||
localStorage
.
newManLayer
<
new
Date
().
getTime
()){
localStorage
.
newManLayer
=
(
Number
(
new
Date
().
getTime
())
+
86400000
)
setTimeout
(
function
()
{
$
.
ajax
({
url
:
$ip
+
'/actSecretGarden/openPopup.html'
,
...
...
@@ -205,9 +207,10 @@ $(function(){
}
})
},
1
0000
);
},
6
0000
);
}
}
},
3000
);
function
getData
(
roomid
)
{
...
...
activeFt/newMan/pop.html
View file @
7372bab2
...
...
@@ -62,7 +62,8 @@ $(function(){
success
:
function
(
data
){
console
.
log
(
"购买月卡/壁咚"
,
data
)
if
(
data
.
code
==-
100
){
layer
.
msg
(
"寶石不足,即將跳轉儲值"
)
if
(
sessionStorage
.
lang
==
2
)
layer
.
msg
(
"寶石不足,即將跳轉儲值"
)
else
layer
.
msg
(
"Insufficient GEMs"
)
setTimeout
(
function
(){
var
obj
=
{
"cid"
:
12
,
...
...
activeFt/newMan/pop2.html
View file @
7372bab2
...
...
@@ -37,7 +37,7 @@
<body
style=
"background:rgba(0,0,0,0);"
>
<div
style=
"display: none;"
class=
"layer-card-ok"
>
<div>
購買成功,600寶石已發放
<br>
明日起每日進入直播間自動發放20寶石
<br>
有效期至
<span
class=
"layer-time-span"
>
XX月XX日
</span>
<i
class=
"en-txt1"
>
購買成功,600寶石已發放
</i><br><i
class=
"en-txt2"
>
明日起每日進入直播間自動發放20寶石
</i><br><i
class=
"en-txt3"
>
有效期至
</i>
<span
class=
"layer-time-span"
>
XX月XX日
</span>
</div>
<div
class=
"btn-ok"
></div>
</div>
...
...
@@ -56,6 +56,10 @@
$
(
function
(){
if
(
sessionStorage
.
lang
!=
2
){
$
(
"body"
).
addClass
(
"bg-en"
)
$
(
".vip-icon"
).
attr
(
"src"
,
"images/en/vip-icon.png"
)
$
(
".en-txt1"
).
text
(
"Purchase succeeded. 600 GEMs issued"
)
$
(
".en-txt2"
).
text
(
"Daily 20 GEMs auto-issued tomorrow"
)
$
(
".en-txt3"
).
text
(
"The validity period is until "
)
}
task
()
function
buy
(
type
){
...
...
@@ -67,7 +71,8 @@ $(function(){
success
:
function
(
data
){
console
.
log
(
"购买月卡/壁咚"
,
data
)
if
(
data
.
code
==-
100
){
layer
.
msg
(
"寶石不足,即將跳轉儲值"
)
if
(
sessionStorage
.
lang
==
2
)
layer
.
msg
(
"寶石不足,即將跳轉儲值"
)
else
layer
.
msg
(
"Insufficient GEMs"
)
setTimeout
(
function
(){
var
obj
=
{
"cid"
:
12
,
...
...
@@ -128,8 +133,10 @@ $(function(){
}
if
(
data
.
result
.
monthlyCardData
.
status
==
1
){
$
(
".buy-btn"
).
unbind
(
"click"
).
addClass
(
"buy-btn2"
)
$
(
".buy-tips"
).
text
(
"有效期至2024/"
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
1
]
+
"/"
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
2
]
+
""
).
show
()
$
(
".layer-time-span"
).
text
(
""
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
1
]
+
"月"
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
2
]
+
"日"
)
if
(
sessionStorage
.
lang
==
2
)
$
(
".buy-tips"
).
text
(
"有效期至2024/"
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
1
]
+
"/"
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
2
]
+
""
).
show
()
else
$
(
".buy-tips"
).
text
(
"Valid until 2024/"
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
1
]
+
"/"
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
2
]
+
""
).
show
()
if
(
sessionStorage
.
lang
==
2
)
$
(
".layer-time-span"
).
text
(
""
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
1
]
+
"月"
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
2
]
+
"日"
)
else
$
(
".layer-time-span"
).
text
(
""
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
1
]
+
"-"
+
timeGet
(
data
.
result
.
monthlyCardData
.
validEndTime
)[
2
]
+
""
)
}
}
})
...
...
activeFt/newMan/rule.html
View file @
7372bab2
...
...
@@ -41,10 +41,11 @@
<script>
$
(
function
(){
if
(
sessionStorage
.
lang
!=
2
){
$
(
"title"
).
text
(
"The goddess of luck"
)
$
(
"title"
).
text
(
"Star-seeking Travel Corps"
)
$
(
".rule-bg"
).
addClass
(
"rule-bg-en"
)
}
if
(
sessionStorage
.
lang
==
2
)
var
titleName
=
"
她の秘密後花園
"
else
var
titleName
=
"
Her Secret Garden
"
if
(
sessionStorage
.
lang
==
2
)
var
titleName
=
"
尋星旅團
"
else
var
titleName
=
"
Star-seeking Travel Corps
"
var
obj
=
{
"cid"
:
34
,
//修改网页title 居中显示。
"data"
:
{
...
...
ftIcon/action2/index.html
View file @
7372bab2
...
...
@@ -33,9 +33,9 @@
<div
style=
"display: none;"
class=
"act-room-bg act-room-bg2"
>
<div
class=
"act-title"
></div>
<p
class=
"act-room-p1"
>
主播積分:
</p>
<p
class=
"act-room-p2"
>
8000
</p>
<p
class=
"act-room-p2"
></p>
<p
class=
"act-room-p3"
>
目標積分:
</p>
<p
class=
"act-room-p4"
>
28000
</p>
<p
class=
"act-room-p4"
></p>
</div>
</body>
<script
src=
"lib/jquery-3.1.1.min.js"
></script>
...
...
@@ -174,9 +174,11 @@ $(function(){
}
})
},
1
0000
);
},
30
0000
);
}
if
(
goPop
==
1
){
if
(
localStorage
.
newManLayer
==
undefined
||
localStorage
.
newManLayer
<
new
Date
().
getTime
()){
localStorage
.
newManLayer
=
(
Number
(
new
Date
().
getTime
())
+
86400000
)
setTimeout
(
function
()
{
$
.
ajax
({
url
:
$ip
+
'/actSecretGarden/openPopup.html'
,
...
...
@@ -192,7 +194,9 @@ $(function(){
}
})
},
10000
);
},
60000
);
}
}
},
3000
);
function
getData
(
roomid
)
{
...
...
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