accountItems.wxml 985 Bytes
<view class="layout">
  <view class="title">请选择登录的账号</view>
  <view class="list">
    <block wx:if="{{flag}}">
      <block wx:if="{{loginUserInfoList.length}}">
        <block wx:for="{{loginUserInfoList}}" wx:key="index">
          <view class="items {{item.active?'active':''}}" bindtap="chooseAccount" data-index="{{index}}">
            <view class="info">
              <view class="buiss"> {{item.merchantName}}</view>
              <view class="merchant">商户号:{{item.merchantId || '--'}}</view>
            </view>
            <view class="level 'level{{item.accountLevel}}'">
              {{merchantLevel[item.accountLevel-1]}}
            </view>
            <image class="right_arrow" src="{{IMGURL}}right_arrow_icon.png"></image>
          </view>
        </block>
      </block>
      <block wx:else>
        <view class="list-not" bindtap="getListSelectAccount">
          点击刷新
        </view>
      </block>
    </block>
  </view>
</view>