<view class="">
|
<van-cell bind:tap="showPicker" title-width="220rpx" class="my-cell seller required" border="{{false}}" title="配送方式" value="{{deliveryMethod}}" ></van-cell>
|
<van-popup
|
show="{{isShowPicker}}"
|
position="bottom"
|
custom-style="height: 50%;"
|
bind:close="onPickerClose"
|
>
|
<van-picker
|
default-index="{{ 0 }}"
|
show-toolbar
|
title="配送方式"
|
columns="{{ deliveryMethods }}"
|
value-key="FreeName"
|
bind:cancel="onPickerCancel"
|
bind:confirm="onPickerConfirm"
|
/>
|
</van-popup>
|
|
<van-field
|
required
|
wx:if="{{isRequiredAddress}}"
|
class="my-cell"
|
value="{{ transCosts }}"
|
name="transCosts"
|
type="digit"
|
label="配送费"
|
placeholder="设置配送费用"
|
bind:blur="checkTransCosts"
|
error-message="{{transCostsError}}"
|
>
|
<view class="icon" slot="right-icon">
|
元
|
</view>
|
</van-field>
|
</view>
|