output.wxml
1.56 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
<!-- pages/tab/output/output.wxml -->
<navigation-bar navStyle="{{navStyle}}" bindnavbarReady="navbarReady">
<!-- <picker
range="{{merchantRange}}"
value="{{subIndex}}"
range-key="merchantName"
bindchange="changePicker"
bindtap="tapPicker"
bindcancel="tapPicker"
disabled="{{merchantRange.length < 2}}"> -->
<view class="navigation-title" bindtap="tapPicker">
<view class="navigation-title-text text-hide">
{{merchantRange[subIndex].merchantName||userInfo.merchantName}}
</view>
<view class="arrow {{moveArrow?'move':''}}" wx:if="{{merchantRange.length > 1}}">
<image src="{{IMG_URL}}/output/arrow.png" />
</view>
</view>
<!-- </picker> height:calc(100vh - {{tabBarStyle}}px) -->
</navigation-bar>
<view class="layout" style="padding-top:{{tabBarStyle}}px;">
<tab tab="{{tabList}}" itemWidth="{{'27%'}}" index="{{tabIndx}}" bindclick="changeTabIndx" class="tabContainer" />
<!-- <view class="">{{IMG_URL}}</view> -->
<!-- 我的客户 -->
<view class="comCom" hidden="{{tabIndx != 0}}">
<client id="client" />
</view>
<!-- 我的门店 -->
<!-- <view class="comCom" hidden="{{tabIndx != 1}}">
<merchant id="merchant" />
</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>