...
|
...
|
@@ -20,10 +20,6 @@ |
|
|
<Input type="text" v-model="conf.share_url"
|
|
|
placeholder="分享链接" :maxlength="500"></Input>
|
|
|
</FormItem>
|
|
|
<FormItem label="提示文案(上)" prop="btm_tip_one">
|
|
|
<Input type="text" v-model="conf.btm_tip_one"
|
|
|
placeholder="提示文案(上)"></Input>
|
|
|
</FormItem>
|
|
|
<FormItem v-if="false" label="提示文案(下)" prop="btm_tip_two">
|
|
|
<Input type="text" v-model="conf.btm_tip_two"
|
|
|
placeholder="提示文案(下)"></Input>
|
...
|
...
|
@@ -40,25 +36,12 @@ |
|
|
<Input type="text" v-model="conf.jump_btn_right_url"
|
|
|
placeholder="底部按钮3链接"></Input>
|
|
|
</FormItem>
|
|
|
<FormItem label="活动次数限制" prop="times_type">
|
|
|
<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"
|
|
|
v-if="conf.times_type == 1 || conf.times_type == 3">
|
|
|
<FormItem label="每天最大抽奖次数" prop="day_limit_times">
|
|
|
<Input type="text"
|
|
|
v-model="conf.day_limit_times"
|
|
|
placeholder="每天最大抽奖次数"></Input>
|
|
|
</FormItem>
|
|
|
<FormItem v-if="conf.times_type == 2 || conf.times_type == 3" label="每人参与活动最大抽奖次数"
|
|
|
prop="act_total_times">
|
|
|
<Input type="text" v-model="conf.act_total_times"
|
|
|
placeholder="每人参与活动最大抽奖次数"></Input>
|
|
|
placeholder="每天最大抽奖次数" number></Input>
|
|
|
</FormItem>
|
|
|
<FormItem label="底部资源码" prop="bottomContentCode">
|
|
|
<FormItem label="底部资源位码" prop="bottomContentCode">
|
|
|
<Input type="text" v-model="conf.bottomContentCode"
|
|
|
placeholder="底部资源码"></Input>
|
|
|
</FormItem>
|
...
|
...
|
@@ -201,7 +184,7 @@ |
|
|
prize_btn_bg: '',
|
|
|
rule_btn_bg: '',
|
|
|
share_btn_bg: '',
|
|
|
times_type: 0,
|
|
|
times_type: 1,
|
|
|
day_over_limit_bg: '',
|
|
|
my_prize_btn_bg: '',
|
|
|
win_prize_bg: '',
|
...
|
...
|
@@ -212,13 +195,8 @@ |
|
|
{ required: false, message: '分享链接不能为空'}
|
|
|
],
|
|
|
day_limit_times: [
|
|
|
{ required: true, message: '每天最大次数不能为空'}
|
|
|
],
|
|
|
act_total_times: [
|
|
|
{ required: true, message: '每人参与活动最大次数不能为空'}
|
|
|
],
|
|
|
btm_tip_one: [
|
|
|
{ required: false, message: '提示文案(上)不能为空'}
|
|
|
{ required: true, message: '每天最大次数不能为空'},
|
|
|
{ type: 'integer', message: '每天最大次数必须是整数', trigger: 'blur'}
|
|
|
],
|
|
|
bottomContentCode: [
|
|
|
{ required: true, message: '底部资源码不能为空'}
|
...
|
...
|
|