Sanakey
2021-05-28 7a3e7575db72044e973d5ef5d8d1a57993937cd6
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<view>
  <view class="text-center padding border-bottom">选择营销人员</view>
 
<!--  <van-radio-group value="{{ radio }}" bind:change="onChange">-->
<!--    <van-cell-group>-->
<!--      <van-cell title="单选框 1" clickable data-name="1" bind:click="onClick">-->
<!--        <van-radio slot="right-icon" name="1" />-->
<!--      </van-cell>-->
<!--      <van-cell title="单选框 2" clickable data-name="2" bind:click="onClick">-->
<!--        <van-radio slot="right-icon" name="2" />-->
<!--      </van-cell>-->
<!--    </van-cell-group>-->
<!--  </van-radio-group>-->
 
  <van-radio-group value="{{ selectedSeller }}" bind:change="selectSeller">
    <van-cell-group>
      <van-cell
          wx:for="{{ selectedSellerList }}"
          wx:key="index"
          value-class="value-class"
          clickable
          center
          data-name="{{ item.sellerId }}"
          data-index="{{ index }}"
          bind:click="onSelect"
          use-label-slot
          title-width="450rpx"
      >
        <view class="flex-row space-around">
          <text>设为默认</text>
          <van-radio
              bind:tap="toggle2"
              class="checkboxes"
              name="{{ item.sellerId }}"
          />
        </view>
        <view slot="title">
          <view>{{ item.sellerName }}</view>
          <view class="desc">{{item.telephone}}</view>
        </view>
      </van-cell>
    </van-cell-group>
  </van-radio-group>
 
  <van-cell-group class="my-cell-group">
    <van-cell class="my-cell" bind:tap="addSeller" border="{{false}}" >
      <view slot="title"  class="theme-font-color {{sellerList.length>4?'disabled-color':''}}">
        <van-icon name="plus" /> 选择
      </view>
      <view class="font-size-12">非认证会员最多选择5人,认证会员不限制</view>
    </van-cell>
  </van-cell-group>
</view>