Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taobao-mini-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
qinhaitao
taobao-mini-template
Commits
4937e1c1
Commit
4937e1c1
authored
Oct 22, 2020
by
qinhaitao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:
🐛
任务类型
parent
6f12e2dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
15 deletions
+21
-15
add.js
client/pages/activity/add/add.js
+21
-15
No files found.
client/pages/activity/add/add.js
View file @
4937e1c1
import
moment
from
'moment'
import
schema
from
'async-validator'
import
{
methods
}
from
'./mixins'
import
{
TASK_RATE_TYPE
}
from
'../const'
import
{
descriptor
,
formatValidator
...
...
@@ -29,41 +30,46 @@ Component({
tasks
:
{
// 关注店铺
follow
:
{
value
:
''
,
value
:
0
,
taskRateType
:
TASK_RATE_TYPE
.
FOREVER
,
times
:
1
},
// 成为会员
member
:
{
value
:
''
,
value
:
0
,
taskRateType
:
TASK_RATE_TYPE
.
FOREVER
,
times
:
1
},
// 签到
sign
:
{
value
:
''
value
:
0
,
taskRateType
:
TASK_RATE_TYPE
.
EVERYDAY
,
times
:
1
},
// 兑换积分
exchangeCredits
:
{
value
:
''
,
times
:
''
,
value
:
0
,
taskRateType
:
TASK_RATE_TYPE
.
EVERYDAY
,
times
:
3
},
// 邀请好友
invites
:
{
title
:
''
,
// 任务标题
taskRateType
:
1
,
// 任务频率类型
taskRateType
:
TASK_RATE_TYPE
.
FOREVER
,
// 任务频率类型
times
:
3
,
// 任务为每日限次次数值
value
:
''
,
// 任务奖励
value
:
0
// 任务奖励
},
// 浏览商品
browseGoods
:
{
title
:
''
,
taskRateType
:
1
,
taskRateType
:
TASK_RATE_TYPE
.
EVERYDAY
,
times
:
3
,
value
:
''
,
value
:
0
,
link
:
''
,
itemIds
:
''
,
},
// 下单商品
orderGoods
:
{
title
:
''
,
taskRateType
:
1
,
taskRateType
:
TASK_RATE_TYPE
.
EVERYDAY
,
times
:
3
,
value
:
''
,
link
:
''
,
...
...
@@ -72,15 +78,15 @@ Component({
// 收藏商品
collectGoods
:
{
title
:
''
,
taskRateType
:
1
,
taskRateType
:
TASK_RATE_TYPE
.
EVERYDAY
,
times
:
3
,
value
:
''
,
value
:
0
,
itemIds
:
""
,
},
// 跳转链接
jumpLink
:
{
title
:
''
,
taskRateType
:
1
,
taskRateType
:
TASK_RATE_TYPE
.
FOREVER
,
link
:
''
,
//跳转链接
times
:
3
,
value
:
''
,
...
...
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