提交 | 用户 | age
|
b6cc28
|
1 |
<view class="container has-footer"> |
S |
2 |
<van-cell-group class="my-cell-group"> |
3fc241
|
3 |
<van-cell class="my-cell required" border="{{false}}" title="产品图片"></van-cell> |
S |
4 |
<my-file-uploader id="file-uploader" img-list="{{coverImageList}}" url="{{fileUploadUrl+'&isCoverImage=true'}}" file-delete-url="/shopping/panicBuying.do?m=deleteAttachment"></my-file-uploader> |
|
5 |
|
|
6 |
</van-cell-group> |
|
7 |
|
|
8 |
<van-cell-group class="my-cell-group"> |
b6cc28
|
9 |
<van-field |
3fc241
|
10 |
required |
S |
11 |
id="promotionsTitle" |
b6cc28
|
12 |
class="my-cell" |
S |
13 |
value="{{ promotionsTitle }}" |
|
14 |
name="promotionsTitle" |
|
15 |
label="活动标题" |
355a84
|
16 |
placeholder="建议标题文字在3-14字之间" |
b6cc28
|
17 |
bind:blur="checkPromotionsTitle" |
S |
18 |
error-message="{{promotionsTitleError}}" |
|
19 |
/> |
|
20 |
</van-cell-group> |
|
21 |
|
|
22 |
<van-cell-group class="my-cell-group"> |
|
23 |
<van-field |
3fc241
|
24 |
required |
S |
25 |
id="originalPrice" |
b6cc28
|
26 |
class="my-cell" |
S |
27 |
value="{{ originalPrice }}" |
|
28 |
name="originalPrice" |
8724a4
|
29 |
label="标价" |
f46177
|
30 |
type="digit" |
8724a4
|
31 |
placeholder="请输入产品标价" |
b6cc28
|
32 |
bind:blur="checkOriginalPrice" |
S |
33 |
error-message="{{originalPriceError}}" |
|
34 |
> |
|
35 |
<view class="icon" slot="right-icon"> |
|
36 |
元 |
|
37 |
</view> |
|
38 |
</van-field> |
|
39 |
<van-field |
3fc241
|
40 |
required |
S |
41 |
id="flashSalePrice" |
b6cc28
|
42 |
class="my-cell" |
S |
43 |
value="{{ flashSalePrice }}" |
|
44 |
name="flashSalePrice" |
282d69
|
45 |
label="拼团价" |
f46177
|
46 |
type="digit" |
282d69
|
47 |
placeholder="请输入拼团价" |
b6cc28
|
48 |
bind:blur="checkFlashSalePrice" |
S |
49 |
error-message="{{flashSalePriceError}}" |
|
50 |
> |
|
51 |
<view class="icon" slot="right-icon"> |
|
52 |
元 |
|
53 |
</view> |
|
54 |
</van-field> |
|
55 |
|
282d69
|
56 |
<my-time-quantum id="time-quantum" start-time="{{startTime}}" end-time="{{endTime}}" bind:selectedStartTime="selectedStartTime" bind:selectedEndTime="selectedEndTime"></my-time-quantum> |
b6cc28
|
57 |
|
S |
58 |
<van-field |
3fc241
|
59 |
required |
S |
60 |
id="flashSaleTotal" |
f46177
|
61 |
border="{{false}}" |
b6cc28
|
62 |
class="my-cell" |
S |
63 |
value="{{ flashSaleTotal }}" |
|
64 |
name="flashSaleTotal" |
282d69
|
65 |
label="成团人数" |
f46177
|
66 |
type="number" |
282d69
|
67 |
placeholder="请输入成团人数" |
b6cc28
|
68 |
bind:blur="checkFlashSaleTotal" |
S |
69 |
error-message="{{flashSaleTotalError}}" |
|
70 |
> |
|
71 |
<view class="icon" slot="right-icon"> |
282d69
|
72 |
人 |
b6cc28
|
73 |
</view> |
S |
74 |
</van-field> |
f46177
|
75 |
<view class="text-left margin-lr-10 padding-bottom-5 font-size-12 desc border-bottom">(满足成团人数时,拼团活动自动结束;如果拼团时间到期仍未达到成团人数,则拼团失败且自动退款)</view> |
282d69
|
76 |
<view> |
S |
77 |
<my-delivery-method id="delivery-method" delivery="{{delivery}}" doccode="{{doccode}}" bind:getDeliveryMethod="getDeliveryMethod"></my-delivery-method> |
b6cc28
|
78 |
</view> |
282d69
|
79 |
|
b6cc28
|
80 |
</van-cell-group> |
S |
81 |
|
f46177
|
82 |
<view class="desc font-size-12 padding-lr"><text class="iconfont icon-gantanhao-xianxingyuankuang theme-font-color"></text> 若拼团不成功,费用自动退还客户。若开团成功,金额将扣除平台手续费{{feeRateForPay||0}}%后,打入后台账户,请手动提现。</view> |
S |
83 |
|
9d3461
|
84 |
<my-store-edit id="store-edit" store-list="{{storeList}}" from="{{fromPage}}"></my-store-edit> |
355a84
|
85 |
<my-seller-edit id="seller-edit" seller-list="{{sellerList}}" from="{{fromPage}}"></my-seller-edit> |
b6cc28
|
86 |
<van-cell-group class="my-cell-group"> |
3fc241
|
87 |
<van-cell border="{{false}}" title="请输入活动描述规则(选填)"></van-cell> |
b6cc28
|
88 |
<van-field |
a3c13b
|
89 |
cursor-spacing="250" |
282d69
|
90 |
value="{{ promotionDescription }}" |
S |
91 |
class="field-text-left" |
b6cc28
|
92 |
type="textarea" |
d38be7
|
93 |
placeholder="点击输入活动描述,文字描述200字以内" |
282d69
|
94 |
autosize="{{autosize}}" |
S |
95 |
bind:blur="checkPromotionDescription" |
|
96 |
error-message="{{promotionDescriptionError}}" |
b6cc28
|
97 |
border="{{ false }}" |
S |
98 |
maxlength="{{200}}" |
|
99 |
show-word-limit |
|
100 |
/> |
282d69
|
101 |
|
S |
102 |
<my-file-uploader id="file-uploader-multiple" img-list="{{imagesList}}" url="{{fileUploadUrl+'&isCoverImage=false'}}" multiple="{{true}}" file-delete-url="/shopping/panicBuying.do?m=deleteAttachment"></my-file-uploader> |
b6cc28
|
103 |
</van-cell-group> |
S |
104 |
</view> |
8724a4
|
105 |
<view class="fixed-footer fixed-footer-button {{!status?'flex-row':''}} space-around"> |
282d69
|
106 |
<van-button plain class="btn-padding" wx:if="{{!status}}" type="warning" data-status="0" bind:click="onSave">保存</van-button> |
8724a4
|
107 |
<view class="{{!status?'':'padding'}}"> |
S |
108 |
<van-button class="theme-button btn-padding" block="{{!!status}}" type="warning" data-status="1" bind:click="onSubmit">发布</van-button> |
|
109 |
</view> |
b6cc28
|
110 |
</view> |
355a84
|
111 |
|
S |
112 |
<my-seller-verify-dialog is-show="{{isShowDialog}}" seller-unchecked-names="{{sellerUnCheckedNames}}"></my-seller-verify-dialog> |