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
52000307
Commit
52000307
authored
Sep 28, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8d6bbf85
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
81 additions
and
356 deletions
+81
-356
tmallCat.getMyPrizeList.json
.../src/canvas/game/mock/miniTb/tmallCat.getMyPrizeList.json
+74
-354
myprize.js
taobao_mini/client/pages/myprize/myprize.js
+6
-2
pageshop.js
taobao_mini/client/pages/pageshop/pageshop.js
+1
-0
No files found.
project/src/canvas/game/mock/miniTb/tmallCat.getMyPrizeList.json
View file @
52000307
This diff is collapsed.
Click to expand it.
taobao_mini/client/pages/myprize/myprize.js
View file @
52000307
...
...
@@ -79,6 +79,10 @@ Page({
myPrizeList
:
[]
})
})
||
{};
data
.
list
.
forEach
(
i
=>
{
console
.
log
(
'data list item'
,
i
);
i
.
image
=
i
.
image
||
'//yun.duiba.com.cn/aurora/assets/50886651a4b369800cad1e9b958b9edc86150533.png'
;
});
if
(
success
&&
data
&&
data
.
list
)
{
this
.
setData
({
myPrizeList
:
data
.
list
...
...
@@ -140,8 +144,8 @@ Page({
}
flag
=
true
;
const
{
item
:
{
strategyCode
,
code
,
channel
}
}
=
e
.
target
.
dataset
;
this
.
cloudTBIssue
({
strategyCode
,
code
,
channel
})
const
{
item
:
{
strategyCode
,
code
,
channel
}
}
=
e
.
target
.
dataset
;
this
.
cloudTBIssue
({
strategyCode
,
code
,
channel
})
// const { activityId } = app;
// console.log(item, '领取权益')
// const { success, data, message } = await API.receiveEnamePrize({ activityId, _id: item._id }).catch(res => {
...
...
taobao_mini/client/pages/pageshop/pageshop.js
View file @
52000307
...
...
@@ -51,6 +51,7 @@ Page({
const
{
data
:
{
list
,
happyCoin
}
}
=
await
API
.
exchangeGoodList
();
list
.
forEach
(
item
=>
{
item
.
exchanged
=
item
.
status
==
EXCHANGE_STATUS
.
DONE
;
item
.
image
=
item
.
image
||
'//yun.duiba.com.cn/aurora/assets/50886651a4b369800cad1e9b958b9edc86150533.png'
;
});
this
.
setData
({
list
,
happyCoin
});
},
...
...
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