Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qiaqia_qx
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
邱旭
qiaqia_qx
Commits
348688ed
Commit
348688ed
authored
Jun 23, 2020
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1111
parent
1ba639a1
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
151 additions
and
22 deletions
+151
-22
workspace.xml
.idea/workspace.xml
+40
-21
qiaqia2.getExchangeGoodsList.json
mock/miniTb/qiaqia2.getExchangeGoodsList.json
+110
-0
TaskPanel.ts
src/panels/TaskPanel.ts
+1
-1
No files found.
.idea/workspace.xml
View file @
348688ed
This diff is collapsed.
Click to expand it.
mock/miniTb/qiaqia2.getExchangeGoodsList.json
View file @
348688ed
{
{
"code"
:
"000000"
,
"code"
:
"000000"
,
"data"
:
[
"data"
:
[
{
"image"
:
"https://source.unsplash.com/user/erondu/100x100"
,
"ename"
:
"111111"
,
"amount"
:
20
,
"exchangeInfo"
:
[
{
"name"
:
"核桃"
,
"storage"
:
110
,
"type"
:
"PECAN"
,
"value"
:
10
}
],
"restStock"
:
1000
,
"isLimitStock"
:
true
,
"name"
:
"权益奖品"
,
"startTime"
:
1591682068000
,
"_id"
:
"5edf3a16f344891ad1f6adab"
,
"endTime"
:
1591682068000
,
"type"
:
1
,
"desc"
:
"描述描述描述描述"
,
"stock"
:
2000
},
{
"image"
:
"https://source.unsplash.com/user/erondu/100x100"
,
"ename"
:
"111111"
,
"amount"
:
20
,
"exchangeInfo"
:
[
{
"name"
:
"核桃"
,
"storage"
:
110
,
"type"
:
"PECAN"
,
"value"
:
10
}
],
"restStock"
:
1000
,
"isLimitStock"
:
true
,
"name"
:
"权益奖品"
,
"startTime"
:
1591682068000
,
"_id"
:
"5edf3a16f344891ad1f6adab"
,
"endTime"
:
1591682068000
,
"type"
:
1
,
"desc"
:
"描述描述描述描述"
,
"stock"
:
2000
},
{
"image"
:
"https://source.unsplash.com/user/erondu/100x100"
,
"ename"
:
"111111"
,
"amount"
:
20
,
"exchangeInfo"
:
[
{
"name"
:
"核桃"
,
"storage"
:
110
,
"type"
:
"PECAN"
,
"value"
:
10
}
],
"restStock"
:
1000
,
"isLimitStock"
:
true
,
"name"
:
"权益奖品"
,
"startTime"
:
1591682068000
,
"_id"
:
"5edf3a16f344891ad1f6adab"
,
"endTime"
:
1591682068000
,
"type"
:
1
,
"desc"
:
"描述描述描述描述"
,
"stock"
:
2000
},
{
"image"
:
"https://source.unsplash.com/user/erondu/100x100"
,
"ename"
:
"111111"
,
"amount"
:
20
,
"exchangeInfo"
:
[
{
"name"
:
"核桃"
,
"storage"
:
110
,
"type"
:
"PECAN"
,
"value"
:
10
}
],
"restStock"
:
1000
,
"isLimitStock"
:
true
,
"name"
:
"权益奖品"
,
"startTime"
:
1591682068000
,
"_id"
:
"5edf3a16f344891ad1f6adab"
,
"endTime"
:
1591682068000
,
"type"
:
1
,
"desc"
:
"描述描述描述描述"
,
"stock"
:
2000
},
{
"image"
:
"https://source.unsplash.com/user/erondu/100x100"
,
"ename"
:
"111111"
,
"amount"
:
20
,
"exchangeInfo"
:
[
{
"name"
:
"核桃"
,
"storage"
:
110
,
"type"
:
"PECAN"
,
"value"
:
10
}
],
"restStock"
:
1000
,
"isLimitStock"
:
true
,
"name"
:
"权益奖品"
,
"startTime"
:
1591682068000
,
"_id"
:
"5edf3a16f344891ad1f6adab"
,
"endTime"
:
1591682068000
,
"type"
:
1
,
"desc"
:
"描述描述描述描述"
,
"stock"
:
2000
},
{
{
"image"
:
"https://source.unsplash.com/user/erondu/100x100"
,
"image"
:
"https://source.unsplash.com/user/erondu/100x100"
,
"ename"
:
"111111"
,
"ename"
:
"111111"
,
...
...
src/panels/TaskPanel.ts
View file @
348688ed
...
@@ -220,7 +220,7 @@ class TaskItem extends Container {
...
@@ -220,7 +220,7 @@ class TaskItem extends Container {
showToast
(
`成功邀请
${
~~
(
data
.
waitReceive
/
data
.
rewards
)}
名好友,获得
${
data
.
waitReceive
}
个水滴`
);
showToast
(
`成功邀请
${
~~
(
data
.
waitReceive
/
data
.
rewards
)}
名好友,获得
${
data
.
waitReceive
}
个水滴`
);
return
;
return
;
}
}
showToast
(
`任务完成,获得
${
data
.
rewards
}
个水滴`
);
showToast
(
`任务完成,获得
${
data
.
waitReceive
}
个水滴`
);
});
});
});
});
}
else
if
(
data
.
todayCompleteTimes
>=
data
.
times
)
{
}
else
if
(
data
.
todayCompleteTimes
>=
data
.
times
)
{
...
...
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