...
|
...
|
@@ -41,17 +41,19 @@ |
|
|
placeholder="底部按钮3链接"></Input>
|
|
|
</FormItem>
|
|
|
<FormItem label="活动次数限制" prop="times_type">
|
|
|
<Select v-model="conf.times_type">
|
|
|
<Option :value="0">只限制每天最大抽奖次数</Option>
|
|
|
<Option :value="1">只限制每人参与活动最大抽奖次数</Option>
|
|
|
<Option :value="2">同时限制以上两种</Option>
|
|
|
<Select v-model="conf.times_type" @on-change="limitChange">
|
|
|
<Option :value="1">只限制每天最大抽奖次数</Option>
|
|
|
<Option :value="2">只限制每人参与活动最大抽奖次数</Option>
|
|
|
<Option :value="3">同时限制以上两种</Option>
|
|
|
</Select>
|
|
|
</FormItem>
|
|
|
<FormItem label="每天最大抽奖次数" prop="day_limit_times">
|
|
|
<Input type="text" v-model="conf.day_limit_times"
|
|
|
<FormItem label="每天最大抽奖次数" prop="day_limit_times" v-show="conf.times_type == 1 || conf.times_type == 3">
|
|
|
<Input type="text"
|
|
|
v-model="conf.day_limit_times"
|
|
|
placeholder="每天最大抽奖次数"></Input>
|
|
|
</FormItem>
|
|
|
<FormItem label="每人参与活动最大抽奖次数" prop="act_total_times">
|
|
|
<FormItem v-show="conf.times_type == 2 || conf.times_type == 3" label="每人参与活动最大抽奖次数"
|
|
|
prop="act_total_times">
|
|
|
<Input type="text" v-model="conf.act_total_times"
|
|
|
placeholder="每人参与活动最大抽奖次数"></Input>
|
|
|
</FormItem>
|
...
|
...
|
@@ -211,17 +213,14 @@ |
|
|
day_limit_times: [
|
|
|
{ required: true, message: '每天最大次数不能为空', trigger: 'blur' }
|
|
|
],
|
|
|
act_total_times: [
|
|
|
{ required: true, message: '每天最大次数不能为空', trigger: 'blur' }
|
|
|
],
|
|
|
btm_tip_one: [
|
|
|
{ required: true, message: '提示文案(上)不能为空', trigger: 'blur' }
|
|
|
],
|
|
|
btm_tip_two: [
|
|
|
{ required: true, message: '提示文案(下)不能为空', trigger: 'blur' }
|
|
|
],
|
|
|
bottomContentCode: [
|
|
|
{ required: true, message: '底部资源码不能为空', trigger: 'blur' }
|
|
|
],
|
|
|
times_type: [
|
|
|
{ required: true}
|
|
|
]
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -269,6 +268,9 @@ |
|
|
this.conf[imgKey] = url;
|
|
|
});
|
|
|
});
|
|
|
},
|
|
|
limitChange() {
|
|
|
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
...
|
...
|
|