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
7ccecb6d
Commit
7ccecb6d
authored
Sep 25, 2020
by
Edwise
🍷
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'refs/remotes/origin/tianmaoxiaoyuan' into tianmaoxiaoyuan
parents
0cd4dbda
8f235efe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
9 deletions
+13
-9
tmallCat.getTaskList.json
...ect/src/canvas/game/mock/miniTb/tmallCat.getTaskList.json
+7
-7
comtask.js
taobao_mini/client/components/comtask/comtask.js
+1
-1
comtasklist.axml
taobao_mini/client/components/comtasklist/comtasklist.axml
+4
-1
pageshop.js
taobao_mini/client/pages/pageshop/pageshop.js
+1
-0
No files found.
project/src/canvas/game/mock/miniTb/tmallCat.getTaskList.json
View file @
7ccecb6d
...
...
@@ -4,7 +4,7 @@
{
"completeTimes"
:
0
,
"rewards"
:
1
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
2
,
"taskType"
:
"sign"
,
"times"
:
1
,
...
...
@@ -16,25 +16,25 @@
"completeTimes"
:
0
,
"rewards"
:
10
,
"sellerId"
:
"oooo"
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
1
,
"taskType"
:
"follow"
,
"title"
:
"关注店铺"
"title"
:
"关注店铺
1
"
},
{
"completeTimes"
:
0
,
"rewards"
:
10
,
"sellerId"
:
"wwwww"
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
1
,
"taskType"
:
"follow"
,
"title"
:
"关注店铺"
"title"
:
"关注店铺
2
"
},
{
"completeTimes"
:
0
,
"itemIds"
:
""
,
"rewards"
:
"2"
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
2
,
"taskType"
:
"browseGoods"
,
"times"
:
1
,
...
...
@@ -46,7 +46,7 @@
{
"completeTimes"
:
0
,
"rewards"
:
"1"
,
"status"
:
3
,
"status"
:
2
,
"taskRateType"
:
1
,
"taskType"
:
"invites"
,
"times"
:
3
,
...
...
taobao_mini/client/components/comtask/comtask.js
View file @
7ccecb6d
...
...
@@ -61,6 +61,7 @@ Component({
if
(
success
&&
data
)
{
commonToast
(
'领取成功~'
);
}
my
.
__updateUserInfo__
();
await
this
.
getTaskList
()
flag
=
0
;
},
...
...
@@ -76,7 +77,6 @@ Component({
await
this
.
getTaskList
();
break
;
case
'follow'
:
console
.
log
(
'item,sellerId'
,
item
,
sellerId
)
await
this
.
handleGoFollow
(
sellerId
);
await
this
.
getTaskList
();
break
;
...
...
taobao_mini/client/components/comtasklist/comtasklist.axml
View file @
7ccecb6d
...
...
@@ -14,7 +14,10 @@
<image class="task_readicon " a:if="{{item.taskType=='browseGoods'}}" src={{resList['91ef2cf1a80e41f9eeed67259f8e57ae5783afa6'].url}} />
<label class="task_title ">{{item.title}}</label>
<label class="task_award ">精力 +{{item.rewards}}</label>
<label class="task_progress ">({{item.todayCompleteTimes}}/{{item.times}})</label>
<block>
<label class="task_progress " a:if="{{item.taskType!='follow'}}">({{item.todayCompleteTimes}}/{{item.times}})</label>
<label class="task_progress " a:else>({{item.completeTimes}}/1)</label>
</block>
</view>
</view>
</view>
...
...
taobao_mini/client/pages/pageshop/pageshop.js
View file @
7ccecb6d
...
...
@@ -37,6 +37,7 @@ Page({
const
{
success
,
data
,
message
}
=
await
API
.
exchangeGood
(
params
).
catch
(
res
=>
{
commonToast
(
res
&&
res
.
message
);
})
||
{};
my
.
__updateUserInfo__
();
my
.
hideLoading
();
if
(
success
&&
data
)
{
...
...
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