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
6463b23c
Commit
6463b23c
authored
Jul 20, 2020
by
秦海涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
07d24952
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
39 deletions
+5
-39
add.js
client/pages/activity/add/add.js
+5
-39
No files found.
client/pages/activity/add/add.js
View file @
6463b23c
...
@@ -107,7 +107,7 @@ Component({
...
@@ -107,7 +107,7 @@ Component({
value
:
''
,
// 任务奖励
value
:
''
,
// 任务奖励
},
},
browseGoods
:
{
browseGoods
:
{
title
:
"寻宝屋商品"
,
title
:
''
,
taskRateType
:
1
,
taskRateType
:
1
,
times
:
3
,
times
:
3
,
value
:
''
,
value
:
''
,
...
@@ -115,25 +115,23 @@ Component({
...
@@ -115,25 +115,23 @@ Component({
itemIds
:
''
,
itemIds
:
''
,
},
},
collectGoods
:
{
collectGoods
:
{
title
:
""
,
title
:
''
,
taskRateType
:
1
,
taskRateType
:
1
,
times
:
3
,
times
:
3
,
value
:
'
90
'
,
value
:
''
,
itemIds
:
""
,
itemIds
:
""
,
},
},
jumpLink
:
{
jumpLink
:
{
title
:
""
,
title
:
''
,
taskRateType
:
3
,
taskRateType
:
3
,
link
:
""
,
//跳转链接
link
:
''
,
//跳转链接
times
:
3
,
times
:
3
,
value
:
''
,
value
:
''
,
},
},
},
},
image
:
''
,
isEnd
:
false
,
isEnd
:
false
,
isStart
:
false
,
isStart
:
false
,
originalStartTime
:
''
,
originalStartTime
:
''
,
prizeDialogData
:
{},
formState
:
formatValidator
(
descriptor
)
formState
:
formatValidator
(
descriptor
)
},
},
props
:
{},
props
:
{},
...
@@ -242,12 +240,6 @@ Component({
...
@@ -242,12 +240,6 @@ Component({
console
.
log
(
data
,
key
)
console
.
log
(
data
,
key
)
this
.
setDataByKey
(
data
,
key
);
this
.
setDataByKey
(
data
,
key
);
},
},
onImageChange
(
image
)
{
console
.
log
(
'image'
,
image
)
this
.
setData
({
image
})
},
onTimeChange
(
timeRange
,
error
)
{
onTimeChange
(
timeRange
,
error
)
{
const
{
const
{
formState
formState
...
@@ -438,32 +430,6 @@ Component({
...
@@ -438,32 +430,6 @@ Component({
onChangeByDataName
(
val
,
dataName
)
{
onChangeByDataName
(
val
,
dataName
)
{
this
.
setDataByKey
(
val
,
dataName
)
this
.
setDataByKey
(
val
,
dataName
)
},
},
onCloseDialog
(
data
)
{
switch
(
data
)
{
case
"group"
:
this
.
setData
({
showGroup
:
false
})
return
case
"prize"
:
this
.
setData
({
showPrize
:
false
,
prizeDialogData
:
{}
})
return
case
"baby"
:
this
.
setData
({
showBaby
:
false
})
return
case
"link"
:
this
.
setData
({
showLink
:
false
})
return
}
},
backList
()
{
backList
()
{
this
.
$page
.
$router
.
push
(
"/activity/list"
);
this
.
$page
.
$router
.
push
(
"/activity/list"
);
}
}
...
...
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