<view class="container has-footer">
|
<van-cell-group class="my-cell-group">
|
<van-field
|
class="my-cell"
|
value="{{ promotionsTitle }}"
|
name="promotionsTitle"
|
label="活动标题"
|
placeholder="建议标题文字10字以内"
|
bind:blur="checkPromotionsTitle"
|
error-message="{{promotionsTitleError}}"
|
/>
|
</van-cell-group>
|
<van-cell-group class="my-cell-group">
|
<van-cell class="my-cell" border="{{false}}" title="产品图片"></van-cell>
|
<my-file-uploader id="file-uploader" img-list="{{coverImageList}}" url="{{fileUploadUrl+'&isCoverImage=true'}}" file-delete-url="/shopping/panicBuying.do?m=deleteAttachment"></my-file-uploader>
|
|
</van-cell-group>
|
|
<van-cell-group class="my-cell-group">
|
<van-field
|
class="my-cell"
|
value="{{ originalPrice }}"
|
name="originalPrice"
|
label="原价"
|
placeholder="请输入产品原价"
|
bind:blur="checkOriginalPrice"
|
error-message="{{originalPriceError}}"
|
>
|
<view class="icon" slot="right-icon">
|
元
|
</view>
|
</van-field>
|
<van-field
|
class="my-cell"
|
value="{{ flashSalePrice }}"
|
name="flashSalePrice"
|
label="拼团价"
|
placeholder="请输入拼团价"
|
bind:blur="checkFlashSalePrice"
|
error-message="{{flashSalePriceError}}"
|
>
|
<view class="icon" slot="right-icon">
|
元
|
</view>
|
</van-field>
|
|
<my-time-quantum id="time-quantum" start-time="{{startTime}}" end-time="{{endTime}}" bind:selectedStartTime="selectedStartTime" bind:selectedEndTime="selectedEndTime"></my-time-quantum>
|
|
<van-field
|
class="my-cell"
|
value="{{ flashSaleTotal }}"
|
name="flashSaleTotal"
|
label="成团人数"
|
placeholder="请输入成团人数"
|
bind:blur="checkFlashSaleTotal"
|
error-message="{{flashSaleTotalError}}"
|
>
|
<view class="icon" slot="right-icon">
|
人
|
</view>
|
</van-field>
|
<view>
|
<my-delivery-method id="delivery-method" delivery="{{delivery}}" doccode="{{doccode}}" bind:getDeliveryMethod="getDeliveryMethod"></my-delivery-method>
|
</view>
|
|
</van-cell-group>
|
|
<my-seller-edit id="seller-edit" seller-list="{{sellerList}}"></my-seller-edit>
|
<van-cell-group class="my-cell-group">
|
<van-cell border="{{false}}" title="请输入活动描述规则" label="建议以图片描述为主,文字描述200字以内"></van-cell>
|
<van-field
|
value="{{ promotionDescription }}"
|
class="field-text-left"
|
type="textarea"
|
placeholder="点击输入活动描述"
|
autosize="{{autosize}}"
|
bind:blur="checkPromotionDescription"
|
error-message="{{promotionDescriptionError}}"
|
border="{{ false }}"
|
maxlength="{{200}}"
|
show-word-limit
|
/>
|
|
<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>
|
</van-cell-group>
|
</view>
|
<view class="fixed-footer fixed-footer-button flex-row space-around">
|
<van-button plain class="btn-padding" wx:if="{{!status}}" type="warning" data-status="0" bind:click="onSave">保存</van-button>
|
<van-button class="theme-button btn-padding" type="warning" data-status="1" bind:click="onSubmit">发布</van-button>
|
</view>
|