Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
new_taobao
Commits
281b5cfd
Commit
281b5cfd
authored
Oct 15, 2020
by
zhangjinzhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码暂存
parent
317e3bf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
13 deletions
+18
-13
pageshou_ye.js
taobao_mini/client/pages/pageshou_ye/pageshou_ye.js
+18
-13
No files found.
taobao_mini/client/pages/pageshou_ye/pageshou_ye.js
View file @
281b5cfd
...
@@ -54,7 +54,7 @@ Page({
...
@@ -54,7 +54,7 @@ Page({
nearchaprize
:
""
,
//再召唤xx好友得奖励x
nearchaprize
:
""
,
//再召唤xx好友得奖励x
isVip
:
false
,
isVip
:
false
,
vipLink
:
""
,
vipLink
:
""
,
clickVip
:
false
,
clickVip
:
""
,
giftype
:
3
,
//1-新手礼盒,2-惊喜礼盒,3-锦鲤礼盒,0-都不显示
giftype
:
3
,
//1-新手礼盒,2-惊喜礼盒,3-锦鲤礼盒,0-都不显示
ptimgbig
:
""
,
//选中的鞋子big
ptimgbig
:
""
,
//选中的鞋子big
...
@@ -270,12 +270,14 @@ Page({
...
@@ -270,12 +270,14 @@ Page({
console
.
log
(
"onshow=========>"
);
console
.
log
(
"onshow=========>"
);
let
clickVip
=
this
.
data
.
clickVip
;
let
clickVip
=
this
.
data
.
clickVip
;
if
(
clickVip
){
if
(
clickVip
==
"xinshou"
){
this
.
setData
({
clickVip
:
false
});
this
.
checkBackNgift
();
this
.
checkBackNgift
();
}
else
if
(
clickVip
==
"zhuli"
){
this
.
checkIsVip
();
}
}
this
.
setData
({
clickVip
:
""
});
// 页面显示
// 页面显示
},
},
onHide
()
{
onHide
()
{
...
@@ -681,12 +683,15 @@ Page({
...
@@ -681,12 +683,15 @@ Page({
if
(
this
.
data
.
isVip
)
{
if
(
this
.
data
.
isVip
)
{
}
else
{
}
else
{
this
.
openGift
();
// this.openGift();
// commonToast('1秒成为会员,即可参与游戏哦', 2000);
commonToast
(
'3秒成为会员,即可参与游戏哦'
,
2000
);
// let vipLink = this.data.vipLink;
let
vipLink
=
this
.
data
.
vipLink
;
// setTimeout(() => {
setTimeout
(()
=>
{
// navigateToOutside(vipLink)
this
.
setData
({
// }, 1000)
clickVip
:
"xinshou"
});
navigateToOutside
(
vipLink
)
},
1000
)
return
;
return
;
}
}
this
.
changeBtnReady
(
false
);
this
.
changeBtnReady
(
false
);
...
@@ -738,11 +743,11 @@ Page({
...
@@ -738,11 +743,11 @@ Page({
this
.
closeSp
();
this
.
closeSp
();
this
.
doHelp
();
this
.
doHelp
();
}
else
{
}
else
{
commonToast
(
'
1
秒成为会员,即可为TA助力哦'
,
2000
);
commonToast
(
'
3
秒成为会员,即可为TA助力哦'
,
2000
);
let
vipLink
=
this
.
data
.
vipLink
;
let
vipLink
=
this
.
data
.
vipLink
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
setData
({
this
.
setData
({
clickVip
:
true
clickVip
:
"zhuli"
});
});
navigateToOutside
(
vipLink
);
navigateToOutside
(
vipLink
);
},
1000
)
},
1000
)
...
...
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