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
03ae42bb
authored
7 months ago
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ft活动上线
parent
3b93bdaa
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
11 deletions
activeFt/newMan/index.html
activeFt/newMan/lib/default.js
activeFt/newMan/oldView.html
activeFt/newMan/index.html
View file @
03ae42bb
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black-translucent"
>
<meta
content=
"telephone=no"
name=
"format-detection"
>
<meta
content=
"telephone=no"
name=
"format-detection"
>
<meta
name=
"wap-font-scale"
content=
"no"
>
<meta
name=
"wap-font-scale"
content=
"no"
>
<title>
幸運女神降臨
</title>
<title>
尋星旅團
</title>
<script
src=
"lib/fsize.js"
></script>
<script
src=
"lib/fsize.js"
></script>
<link
rel=
"stylesheet"
href=
"css/base.css"
>
<link
rel=
"stylesheet"
href=
"css/base.css"
>
<link
rel=
"stylesheet"
href=
"css/layer.css"
>
<link
rel=
"stylesheet"
href=
"css/layer.css"
>
...
@@ -183,7 +183,7 @@ $(function(){
...
@@ -183,7 +183,7 @@ $(function(){
}
}
function
getTask
(
type
,
e
){
function
getTask
(
type
,
e
){
$
.
ajax
({
$
.
ajax
({
url
:
$ip
+
'/actStarSearchTour/
userBuyGoo
ds.html'
,
url
:
$ip
+
'/actStarSearchTour/
receiveTaskRewar
ds.html'
,
data
:{
data
:{
taskType
:
type
,
taskType
:
type
,
taskId
:
e
taskId
:
e
...
@@ -305,6 +305,7 @@ $(function(){
...
@@ -305,6 +305,7 @@ $(function(){
console
.
log
(
'获取任务数据'
,
data
)
console
.
log
(
'获取任务数据'
,
data
)
$
(
"#target"
).
text
(
data
.
result
.
dailyTaskList
[
3
].
speakMsg
)
$
(
"#target"
).
text
(
data
.
result
.
dailyTaskList
[
3
].
speakMsg
)
//非付费用户
//非付费用户
if
(
data
.
result
.
userData
.
isPaid
==
0
||
data
.
result
.
userData
.
isNewUserGiftVoucher
==
1
){
if
(
data
.
result
.
userData
.
isPaid
==
0
){
if
(
data
.
result
.
userData
.
isPaid
==
0
){
$
(
".reg-btn"
).
show
()
$
(
".reg-btn"
).
show
()
$
(
".reg-btn"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
".reg-btn"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
...
@@ -321,8 +322,7 @@ $(function(){
...
@@ -321,8 +322,7 @@ $(function(){
appCollaboration
(
obj2
);
appCollaboration
(
obj2
);
})
})
}
}
if
(
data
.
result
.
userData
.
isNewUserGiftVoucher
==
1
){
// data.result.userData.isPaid==0
$
(
".new-task-box"
).
show
()
$
(
".new-task-box"
).
show
()
for
(
var
i
=
0
;
i
<
data
.
result
.
newPayUserTaskList
.
length
;
i
++
){
for
(
var
i
=
0
;
i
<
data
.
result
.
newPayUserTaskList
.
length
;
i
++
){
var
list
=
data
.
result
.
newPayUserTaskList
[
i
]
var
list
=
data
.
result
.
newPayUserTaskList
[
i
]
...
@@ -352,6 +352,7 @@ $(function(){
...
@@ -352,6 +352,7 @@ $(function(){
}
}
})
})
}
}
//新人礼物没赠送
//新人礼物没赠送
if
(
data
.
result
.
userData
.
isNewUserGiftVoucher
==
1
&&
data
.
result
.
userData
.
isNewUserGiftSend
==
0
){
if
(
data
.
result
.
userData
.
isNewUserGiftVoucher
==
1
&&
data
.
result
.
userData
.
isNewUserGiftSend
==
0
){
$
(
".one-gift-box"
).
show
()
$
(
".one-gift-box"
).
show
()
...
...
This diff is collapsed.
Click to expand it.
activeFt/newMan/lib/default.js
View file @
03ae42bb
...
@@ -69,7 +69,7 @@ if(sessionStorage.open==undefined)sessionStorage.open=1
...
@@ -69,7 +69,7 @@ if(sessionStorage.open==undefined)sessionStorage.open=1
}
}
if
(
bbb
.
indexOf
(
"file:///E:"
)
>
-
1
)
{
if
(
bbb
.
indexOf
(
"file:///E:"
)
>
-
1
)
{
sessionStorage
.
lang
=
2
sessionStorage
.
lang
=
2
sessionStorage
.
uid
=
210102
;
sessionStorage
.
uid
=
11144909
;
sessionStorage
.
token
=
'debug'
sessionStorage
.
token
=
'debug'
sessionStorage
.
roomId
=
11134747
;
sessionStorage
.
roomId
=
11134747
;
sessionStorage
.
version
=
8890
sessionStorage
.
version
=
8890
...
...
This diff is collapsed.
Click to expand it.
activeFt/newMan/oldView.html
View file @
03ae42bb
...
@@ -83,10 +83,9 @@ $(function(){
...
@@ -83,10 +83,9 @@ $(function(){
url
:
$ip
+
'/actStarSearchTour/getRoomPartData.html'
,
url
:
$ip
+
'/actStarSearchTour/getRoomPartData.html'
,
success
:
function
(
data
){
success
:
function
(
data
){
console
.
log
(
'圖標數據'
,
data
)
console
.
log
(
'圖標數據'
,
data
)
if
(
data
.
result
.
userData
.
isNewUserGiftVoucher
==
1
){
if
(
data
.
result
.
userData
.
isPaid
==
0
||
data
.
result
.
userData
.
isNewUserGiftVoucher
==
1
){
if
(
data
.
result
.
userData
.
newUserAwardTaskNum
>=
5
){
//進入新人流程
$
(
".act-room-bg"
).
fadeIn
(
200
).
removeClass
(
"act-room-bg2"
)
if
(
data
.
result
.
userData
.
newUserAwardTaskNum
<
5
){
}
else
{
$
(
".act-room-bg"
).
fadeIn
(
200
)
$
(
".act-room-bg"
).
fadeIn
(
200
)
if
(
data
.
result
.
userData
.
isNewUserGiftSend
==
0
){
if
(
data
.
result
.
userData
.
isNewUserGiftSend
==
0
){
$
(
".act-room-bg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
".act-room-bg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
...
@@ -105,7 +104,8 @@ $(function(){
...
@@ -105,7 +104,8 @@ $(function(){
}
}
})
})
})
})
}
else
{
}
else
{
$
(
".act-room-bg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
$
(
".act-room-bg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
obj
=
{
var
obj
=
{
"cid"
:
12
,
"cid"
:
12
,
...
@@ -122,7 +122,23 @@ $(function(){
...
@@ -122,7 +122,23 @@ $(function(){
}
}
}
}
//已經完成了五個任務
else
{
$
(
".act-room-bg"
).
fadeIn
(
200
).
removeClass
(
"act-room-bg2"
)
$
(
".act-room-bg"
).
unbind
(
"click"
).
on
(
"click"
,
function
(){
var
obj
=
{
"cid"
:
12
,
"reqCode"
:
new
Date
().
getTime
(),
"data"
:
{
"msg"
:
'跳转集合功能'
,
"jumptype"
:
3
,
"url"
:
$url
+
"/activeFt/newMan/index.html"
+
location
.
search
+
'&'
,
}
}
var
obj2
=
JSON
.
stringify
(
obj
);
appCollaboration
(
obj2
);
})
}
}
else
{
}
else
{
$
(
".act-room-bg"
).
fadeIn
(
200
).
removeClass
(
"act-room-bg2"
)
$
(
".act-room-bg"
).
fadeIn
(
200
).
removeClass
(
"act-room-bg2"
)
...
...
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