|
@@ -4,19 +4,31 @@ |
|
@@ -4,19 +4,31 @@ |
4
|
<div class="base-conf">
|
4
|
<div class="base-conf">
|
5
|
<div class="base-left">
|
5
|
<div class="base-left">
|
6
|
<Form ref="confForm" :model="conf" :rules="confRules" :label-width="120">
|
6
|
<Form ref="confForm" :model="conf" :rules="confRules" :label-width="120">
|
7
|
- <FormItem label="活动规则" required>
|
|
|
8
|
- <Input type="textarea" v-model="conf.rule"
|
|
|
9
|
- placeholder="请输入活动规则" :maxlength="2000"></Input>
|
7
|
+ <FormItem label="活动规则页链接" prop="rule_url">
|
|
|
8
|
+ <Input type="text" v-model="conf.rule_url"
|
|
|
9
|
+ placeholder="请输入活动规则" :maxlength="500"></Input>
|
10
|
</FormItem>
|
10
|
</FormItem>
|
11
|
- <FormItem label="分享按钮链接" prop="share_url">
|
11
|
+ <FormItem label="分享标题" prop="share_title">
|
|
|
12
|
+ <Input type="text" v-model="conf.share_title"
|
|
|
13
|
+ placeholder="分享标题" :maxlength="500"></Input>
|
|
|
14
|
+ </FormItem>
|
|
|
15
|
+ <FormItem label="分享描述" prop="share_desc">
|
|
|
16
|
+ <Input type="text" v-model="conf.share_desc"
|
|
|
17
|
+ placeholder="分享描述" :maxlength="100"></Input>
|
|
|
18
|
+ </FormItem>
|
|
|
19
|
+ <FormItem label="分享图片" prop="share_img">
|
|
|
20
|
+ <Input type="text" v-model="conf.share_img"
|
|
|
21
|
+ placeholder="分享图片" :maxlength="300"></Input>
|
|
|
22
|
+ </FormItem>
|
|
|
23
|
+ <FormItem label="分享链接" prop="share_url">
|
12
|
<Input type="text" v-model="conf.share_url"
|
24
|
<Input type="text" v-model="conf.share_url"
|
13
|
- placeholder="活动分享链接"></Input>
|
25
|
+ placeholder="分享链接" :maxlength="500"></Input>
|
14
|
</FormItem>
|
26
|
</FormItem>
|
15
|
<FormItem label="提示文案(上)" prop="btm_tip_one">
|
27
|
<FormItem label="提示文案(上)" prop="btm_tip_one">
|
16
|
<Input type="text" v-model="conf.btm_tip_one"
|
28
|
<Input type="text" v-model="conf.btm_tip_one"
|
17
|
placeholder="提示文案(上)"></Input>
|
29
|
placeholder="提示文案(上)"></Input>
|
18
|
</FormItem>
|
30
|
</FormItem>
|
19
|
- <FormItem label="提示文案(下)" prop="btm_tip_two">
|
31
|
+ <FormItem v-if="false" label="提示文案(下)" prop="btm_tip_two">
|
20
|
<Input type="text" v-model="conf.btm_tip_two"
|
32
|
<Input type="text" v-model="conf.btm_tip_two"
|
21
|
placeholder="提示文案(下)"></Input>
|
33
|
placeholder="提示文案(下)"></Input>
|
22
|
</FormItem>
|
34
|
</FormItem>
|
|
@@ -73,6 +85,15 @@ |
|
@@ -73,6 +85,15 @@ |
73
|
<span ref="upload_img_wheelBg" img-key="wheel_bg">添加</span>
|
85
|
<span ref="upload_img_wheelBg" img-key="wheel_bg">添加</span>
|
74
|
</Button>
|
86
|
</Button>
|
75
|
</FormItem>
|
87
|
</FormItem>
|
|
|
88
|
+ <FormItem label="中奖蒙层" prop="win_prize_bg">
|
|
|
89
|
+ <div class="preview-wrap" v-show="conf.win_prize_bg">
|
|
|
90
|
+ <Icon type="ios-close" class="del-img" @click="delPreview" img-key="win_prize_bg"/>
|
|
|
91
|
+ <img class="preview-img" :src="conf.win_prize_bg">
|
|
|
92
|
+ </div>
|
|
|
93
|
+ <Button v-show="!conf.win_prize_bg">
|
|
|
94
|
+ <span ref="upload_img_winPrizeBg" img-key="win_prize_bg">添加</span>
|
|
|
95
|
+ </Button>
|
|
|
96
|
+ </FormItem>
|
76
|
<FormItem label="活动规则按钮" prop="rule_btn_bg">
|
97
|
<FormItem label="活动规则按钮" prop="rule_btn_bg">
|
77
|
<div class="preview-wrap" v-show="conf.rule_btn_bg">
|
98
|
<div class="preview-wrap" v-show="conf.rule_btn_bg">
|
78
|
<Icon type="ios-close" class="del-img" @click="delPreview" img-key="rule_btn_bg"/>
|
99
|
<Icon type="ios-close" class="del-img" @click="delPreview" img-key="rule_btn_bg"/>
|
|
@@ -131,15 +152,6 @@ |
|
@@ -131,15 +152,6 @@ |
131
|
</div>
|
152
|
</div>
|
132
|
<div class="base-right">
|
153
|
<div class="base-right">
|
133
|
<Form :label-width="120">
|
154
|
<Form :label-width="120">
|
134
|
- <FormItem label="次数上限背景图" prop="day_over_limit_bg">
|
|
|
135
|
- <div class="preview-wrap" v-show="conf.day_over_limit_bg">
|
|
|
136
|
- <Icon type="ios-close" class="del-img" @click="delPreview" img-key="day_over_limit_bg"/>
|
|
|
137
|
- <img class="preview-img" :src="conf.day_over_limit_bg">
|
|
|
138
|
- </div>
|
|
|
139
|
- <Button v-show="!conf.day_over_limit_bg">
|
|
|
140
|
- <span ref="upload_img_overBg" img-key="day_over_limit_bg">添加</span>
|
|
|
141
|
- </Button>
|
|
|
142
|
- </FormItem>
|
|
|
143
|
<FormItem label="我的奖品" prop="my_prize_btn_bg">
|
155
|
<FormItem label="我的奖品" prop="my_prize_btn_bg">
|
144
|
<div class="preview-wrap" v-show="conf.my_prize_btn_bg">
|
156
|
<div class="preview-wrap" v-show="conf.my_prize_btn_bg">
|
145
|
<Icon type="ios-close" class="del-img" @click="delPreview" img-key="my_prize_btn_bg"/>
|
157
|
<Icon type="ios-close" class="del-img" @click="delPreview" img-key="my_prize_btn_bg"/>
|
|
@@ -149,24 +161,6 @@ |
|
@@ -149,24 +161,6 @@ |
149
|
<span ref="upload_img_myPrizeBg" img-key="my_prize_btn_bg">添加</span>
|
161
|
<span ref="upload_img_myPrizeBg" img-key="my_prize_btn_bg">添加</span>
|
150
|
</Button>
|
162
|
</Button>
|
151
|
</FormItem>
|
163
|
</FormItem>
|
152
|
- <FormItem label="提示中奖背景图" prop="win_prize_bg">
|
|
|
153
|
- <div class="preview-wrap" v-show="conf.win_prize_bg">
|
|
|
154
|
- <Icon type="ios-close" class="del-img" @click="delPreview" img-key="win_prize_bg"/>
|
|
|
155
|
- <img class="preview-img" :src="conf.win_prize_bg">
|
|
|
156
|
- </div>
|
|
|
157
|
- <Button v-show="!conf.win_prize_bg">
|
|
|
158
|
- <span ref="upload_img_winPrizeBg" img-key="win_prize_bg">添加</span>
|
|
|
159
|
- </Button>
|
|
|
160
|
- </FormItem>
|
|
|
161
|
- <FormItem label="再来一次按钮" prop="try_again_bg">
|
|
|
162
|
- <div class="preview-wrap" v-show="conf.try_again_bg">
|
|
|
163
|
- <Icon type="ios-close" class="del-img" @click="delPreview" img-key="try_again_bg"/>
|
|
|
164
|
- <img class="preview-img" :src="conf.try_again_bg">
|
|
|
165
|
- </div>
|
|
|
166
|
- <Button v-show="!conf.try_again_bg">
|
|
|
167
|
- <span ref="upload_img_tryAgainBg" img-key="try_again_bg">添加</span>
|
|
|
168
|
- </Button>
|
|
|
169
|
- </FormItem>
|
|
|
170
|
</Form>
|
164
|
</Form>
|
171
|
</div>
|
165
|
</div>
|
172
|
<div class="bottom-btn">
|
166
|
<div class="bottom-btn">
|
|
@@ -191,7 +185,7 @@ |
|
@@ -191,7 +185,7 @@ |
191
|
conf: {
|
185
|
conf: {
|
192
|
act_id: 0,
|
186
|
act_id: 0,
|
193
|
id: 0,
|
187
|
id: 0,
|
194
|
- rule: '',
|
188
|
+ rule_url: '',
|
195
|
share_url: '',
|
189
|
share_url: '',
|
196
|
day_limit_times: '',
|
190
|
day_limit_times: '',
|
197
|
act_total_times: '',
|
191
|
act_total_times: '',
|
|
@@ -215,9 +209,6 @@ |
|
@@ -215,9 +209,6 @@ |
215
|
bottomContentCode: ''
|
209
|
bottomContentCode: ''
|
216
|
},
|
210
|
},
|
217
|
confRules: {
|
211
|
confRules: {
|
218
|
- rule: [
|
|
|
219
|
- { required: true, message: '活动规则不能为空', trigger: 'blur' }
|
|
|
220
|
- ],
|
|
|
221
|
share_url: [
|
212
|
share_url: [
|
222
|
{ required: true, message: '分享链接不能为空', trigger: 'blur' }
|
213
|
{ required: true, message: '分享链接不能为空', trigger: 'blur' }
|
223
|
],
|
214
|
],
|