Sanakey
2021-07-09 3fc241d02fb8b671289de3d9d80bf848349c04d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<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>