output.wxml 1.51 KB
<!-- pages/tab/output/output.wxml -->
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady" custom-class="navbarReady">
  <view class="tab-container">
    <view wx:for="{{tabList}}" wx:key="index" class="tab {{index==tabIndx?'tabIndx':''}}" bindtap="changeTabIndx" data-idx="{{index}}">{{item}}</view>
  </view>
</navigation-bar>
<view class="layout" style="padding-top:{{tabBarStyle}}px;">
  <view class="select-box">
    <!-- 门店筛选 -->
    <view class="select-item {{'active'}}" bindtap="tapPicker">
      <view class="merchant-select-text text-hide">
        {{merchantRange[subIndex].merchantName||userInfo.merchantName}}
      </view>
      <view class="arrow {{moveArrow?'move':''}}">
        <image src="{{IMG_URL}}/output/arrow.png" />
      </view>
    </view>
    <view class="select-item {{'active'}}">
      筛选
      <view class="arrow">
        <image src="{{IMG_URL}}/output/arrow.png" />
      </view>
    </view>
  </view>
  <!-- 我的客户 -->
  <!-- <view class="comCom" hidden="{{tabIndx != 0}}">
    <client id="client" />
  </view> -->
  <!-- 我的门店 -->
  <!-- <view class="comCom" hidden="{{tabIndx != 0}}">
		<staff id="staff" />
	</view> -->
  <!-- 我的员工 -->
  <view class="comCom" hidden="{{tabIndx != 1}}">
    <staff id="staff" />
  </view>
</view>
<accountSwitchingPop wx:if="{{popupShow}}" bind:hidePopup="tapPicker" bind:changeAccount="getMerchantRange" popShow="{{popupShow}}" merchantRange="{{merchantRange}}" />

<!-- 加微 -->
<service wx:if="{{isShowService}}"></service>