Commit 6463b23c authored by 秦海涛's avatar 秦海涛

update

parent 07d24952
...@@ -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");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment