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
e63929e1
Commit
e63929e1
authored
Oct 18, 2020
by
zhangjinzhou
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jiaoneiqunuan' of gitlab2.dui88.com:wanghongyuan/new_taobao into jiaoneiqunuan
parents
2b2300ab
f919b13a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2312 additions
and
0 deletions
+2312
-0
cominvitemodal.js
taobao_jn/client/components/cominvitemodal/cominvitemodal.js
+7
-0
pagepageindex.js
taobao_jn/client/pages/pagepageindex/pagepageindex.js
+1
-0
debug.log
taobao_jn/debug.log
+2304
-0
No files found.
taobao_jn/client/components/cominvitemodal/cominvitemodal.js
View file @
e63929e1
...
@@ -13,6 +13,7 @@ const {
...
@@ -13,6 +13,7 @@ const {
getSystemInfo
getSystemInfo
}
=
tbcc
.
tb
}
=
tbcc
.
tb
Component
({
Component
({
canDoHelp
:
true
,
props
:
{},
props
:
{},
data
:
{
data
:
{
resList
:
resList
resList
:
resList
...
@@ -33,6 +34,8 @@ Component({
...
@@ -33,6 +34,8 @@ Component({
},
},
/**助力 */
/**助力 */
async
doHelp
()
{
async
doHelp
()
{
if
(
!
this
.
canDoHelp
)
return
;
this
.
canDoHelp
=
false
;
my
.
showLoading
();
my
.
showLoading
();
const
{
const
{
success
,
success
,
...
@@ -45,13 +48,16 @@ Component({
...
@@ -45,13 +48,16 @@ Component({
if
(
r
.
data
&&
!
r
.
data
.
isVip
)
{
if
(
r
.
data
&&
!
r
.
data
.
isVip
)
{
my
.
hideLoading
();
my
.
hideLoading
();
commonToast
(
"3s入会,即可为好友助力"
,
1500
,
()
=>
{
commonToast
(
"3s入会,即可为好友助力"
,
1500
,
()
=>
{
this
.
canDoHelp
=
true
;
app
.
isGoVip
=
true
;
app
.
isGoVip
=
true
;
navigateToOutside
(
r
.
data
.
url
);
navigateToOutside
(
r
.
data
.
url
);
})
})
}
else
if
(
r
.
data
&&
r
.
data
.
isVip
)
{
}
else
if
(
r
.
data
&&
r
.
data
.
isVip
)
{
this
.
canDoHelp
=
true
;
my
.
hideLoading
();
my
.
hideLoading
();
this
.
openInviteFailedModal
();
this
.
openInviteFailedModal
();
}
else
{
}
else
{
this
.
canDoHelp
=
true
;
my
.
hideLoading
();
my
.
hideLoading
();
const
{
const
{
onCloseModal
onCloseModal
...
@@ -62,6 +68,7 @@ Component({
...
@@ -62,6 +68,7 @@ Component({
})
||
{};
})
||
{};
console
.
log
(
"hhahahha"
)
console
.
log
(
"hhahahha"
)
if
(
success
)
{
if
(
success
)
{
this
.
canDoHelp
=
true
;
this
.
openInviteSuccessModal
();
this
.
openInviteSuccessModal
();
}
}
my
.
hideLoading
();
my
.
hideLoading
();
...
...
taobao_jn/client/pages/pagepageindex/pagepageindex.js
View file @
e63929e1
...
@@ -496,6 +496,7 @@ Page({
...
@@ -496,6 +496,7 @@ Page({
onShow
()
{
onShow
()
{
if
(
app
.
isGoVip
)
{
if
(
app
.
isGoVip
)
{
this
.
doHelp
();
this
.
doHelp
();
app
.
isGoVip
=
false
;
}
}
if
(
this
.
goVip
)
{
if
(
this
.
goVip
)
{
this
.
openGamePage
();
this
.
openGamePage
();
...
...
taobao_jn/debug.log
View file @
e63929e1
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