accountItems.wxml
1.91 KB
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
<view wx:if="{{flag}}" class="layout">
<view class="title">请选择登录的账号</view>
<view class="search_wrap">
<view class="inner">
<input class="intclass" confirm-type="search" bindconfirm="bindconfirm" bindinput="bindInput" placeholder-class="input-placeholder" placeholder="请输入门店名称/商户号" />
<glsx-image class="search_icon" webp src="store-assistant/search_list_icon.png"></glsx-image>
</view>
</view>
<view class="list">
<block>
<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 class="merchant">注册日期:{{item.createdDate || '--'}}</view>
</view>
<view class="level 'level{{item.accountLevel}}'">
{{merchantLevel[item.accountLevel-1]}}
</view>
<glsx-image custom-class="right_arrow" src="store-assistant/right_arrow_icon.png"></glsx-image>
</view>
</block>
</block>
<block wx:else>
<!-- <view class="list-not" bindtap="getListSelectAccount"> -->
<view class="list-not">
搜索结果为空
</view>
</block>
</block>
</view>
<view style="height:210rpx"></view>
<view class="a_widget {{!showLogoutBtn?'bottom_0':''}}">
<view class="a_class" catchtap="handleAgree" data-name="privacy">《隐私协议》</view>
<view class="a_class" catchtap="handleAgree" data-name="agreement">《服务使用协议》</view>
</view>
<view wx:if="{{showLogoutBtn}}" class="logout-btn-wrap">
<button class="logout-btn" bind:tap="toLogout">退出登录</button>
</view>
</view>