Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
walk_daka_wx
Overview
Overview
Details
Activity
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
穆启卓
walk_daka_wx
Commits
125eb59d
Commit
125eb59d
authored
May 22, 2019
by
穆启卓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
74b0b106
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
index.js
pages/index/index.js
+16
-0
No files found.
pages/index/index.js
View file @
125eb59d
...
...
@@ -617,6 +617,7 @@ Page({
method
:
'POST'
,
success
:
res2
=>
{
if
(
res2
.
data
.
code
===
0
)
{
if
(
this
.
data
.
targetSteps
)
{
wx
.
showToast
({
title
:
'视频错误,请尝试其他方式赚取步数'
,
icon
:
'none'
,
...
...
@@ -630,6 +631,13 @@ Page({
this
.
setData
({
bubbleList
:
this
.
data
.
bubbleList
});
}
else
{
wx
.
showToast
({
title
:
'报名后将获取步数'
,
icon
:
'none'
,
duration
:
2000
});
}
}
}
});
...
...
@@ -648,6 +656,7 @@ Page({
method
:
'POST'
,
success
:
res2
=>
{
if
(
res2
.
data
.
code
===
0
)
{
if
(
this
.
data
.
targetSteps
)
{
wx
.
showToast
({
title
:
'获取步数成功'
,
icon
:
'none'
,
...
...
@@ -664,6 +673,13 @@ Page({
bubbleList
:
this
.
data
.
bubbleList
,
currentSteps
:
this
.
data
.
currentSteps
+
earnStep
});
}
else
{
wx
.
showToast
({
title
:
'报名后将获取步数'
,
icon
:
'none'
,
duration
:
2000
});
}
}
}
});
...
...
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