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
bb89a9be
Commit
bb89a9be
authored
Oct 15, 2020
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
cb7976e8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2506 additions
and
1 deletion
+2506
-1
app.js
taobao_jn/client/app.js
+1
-1
cominvitemodal.js
taobao_jn/client/components/cominvitemodal/cominvitemodal.js
+9
-0
debug.log
taobao_jn/debug.log
+2496
-0
No files found.
taobao_jn/client/app.js
View file @
bb89a9be
...
...
@@ -9,7 +9,7 @@ cloud.init({
App
({
env
,
requestType
:
'cloud'
,
// yapi,cloud: 云函数
//
requestType: 'local', // yapi,cloud: 云函数
//
requestType: 'local', // yapi,cloud: 云函数
cloudName
:
'jn'
,
// 主云函数项目名 tmallCat
// cloudName: 'bubbleSurviva', // 主云函数项目名 tmallCat
cloud
,
...
...
taobao_jn/client/components/cominvitemodal/cominvitemodal.js
View file @
bb89a9be
...
...
@@ -33,6 +33,7 @@ Component({
},
/**助力 */
async
doHelp
()
{
my
.
showLoading
();
const
{
success
,
data
,
...
...
@@ -42,13 +43,20 @@ Component({
inviteStep
:
app
.
step
}).
catch
(
r
=>
{
if
(
r
.
data
&&
!
r
.
data
.
isVip
)
{
my
.
hideLoading
();
commonToast
(
"3s入会,即可为好友助力"
,
1500
,
()
=>
{
app
.
isGoVip
=
true
;
navigateToOutside
(
r
.
data
.
url
);
})
}
else
if
(
r
.
data
&&
r
.
data
.
isVip
)
{
my
.
hideLoading
();
this
.
openInviteFailedModal
();
}
else
{
my
.
hideLoading
();
const
{
onCloseModal
}
=
this
.
props
;
onCloseModal
&&
onCloseModal
();
commonToast
(
r
&&
r
.
message
);
}
})
||
{};
...
...
@@ -56,6 +64,7 @@ Component({
if
(
success
)
{
this
.
openInviteSuccessModal
();
}
my
.
hideLoading
();
}
},
...
...
taobao_jn/debug.log
View file @
bb89a9be
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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