selectConnectionPage.wxml 1.8 KB
<!--packagesList/mineDetail/pages/staffManage/selectConnectionPage/selectConnectionPage.wxml-->
<navigation-bar bindnavbarReady="navbarReady" showBack="{{true}}" bindback="back" customBack="{{true}}">
	{{!showConnectionConfirm ? '可见客户' : '选择客户'}}
</navigation-bar>
<view class="select-connection-page" style="padding-top:{{tabBarStyle}}px;">
  <view class="select-content">
    <view class="flex_class" wx:for="{{selectTypeList}}" wx:key="index" bindtap="changeType" data-type="{{item.type}}">
      <view class="checked_class">
        <view hidden="{{!item.active}}">
          <glsx-image  src="personal/checked.png" class="checked_class" />
        </view>
      </view>
      <view class="flex1">
        <view class="label {{item.type == 1?'lable_border':''}}">{{item.label}}<glsx-image wx:if="{{item.type == 1}}" src="personal/arrow_right.png" class="arrow_up {{showConnectionList ? 'arrow_down' : ''}}" /></view>
        <view class="tips" wx:if="{{item.tips}}">{{item.tips}}</view>
      </view>
    </view>
    <view class="connection_box" hidden="{{!showConnectionList}}">
      <view class="select_btn" bindtap="showConfirm">请选择指定客户</view>
      <view class="list-items" wx:if="{{selectedConnectionList.length}}">
        <view class="item" wx:for="{{selectedConnectionList}}" wx:key="index">{{item.merchantName}}</view>
      </view>
    </view>
  </view>
  <view class="isFullSucreen btn">
    <view class="btn-blue" bindtap="handleConfirm">确定</view>
    <view class="btn-cancel" bindtap="handleConfirm" bindtap="back">取消</view>
  </view>
</view>
<select-connection-confirm show="{{showConnectionConfirm}}" selectedConnectionList="{{selectedConnectionList || []}}" bind:selectConfirm="selectConfirm" connectionList="{{connectionList}}" tabBarStyle="{{tabBarStyle}}"></select-connection-confirm>