TM
2020-12-16 1a083593cc3224ea8509690a1cfc12d8726193ab
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="change-user-page">
  <view class="list">
    <radio-group class="radio-group" name="lib" onChange="radioChange">
      <view class="list-item" a:for="{{merchantList}}" a:key="{{index}}">
        <view class="title">
        {{item.merName}}
        </view>
        <view class="store">
          <view class="store-item" a:for="{{item.storeList}}" a:key="{{index}}">
            <view class="left">
              <view class="left-top">
                <text class="iconfont iconstore" style="font-size: 16px"></text>
                <text class="name-text">{{item.orgName}}</text>
              </view>
              <view class="left-bottom">
                <text class="iconfont iconuser" style="font-size: 16px"></text>
                <text class="name-text">{{item.name}}</text>
              </view>
            </view>
            <view class="right">
              <view class="{{item.id==value?'active':'radio-box'}}">
                <am-radio value="{{item.id}}" checked="{{item.id==value?true:false}}"/>
              </view>
            </view>
          </view>
        </view>
      </view>
    </radio-group>
  </view>
  <view class="btn-box">
    <button class="btn" style="{{background:userStyle.gradientColor}}" onTap="loginUser">
    切换
    </button>
  </view>
  
</view>