equityPage.wxml 4.5 KB
<!-- pages/equity/index.wxml -->
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<block wx:if="{{showScreen}}">
  <navigation-bar showBack class="navigation-header" showWhiteMenu bindback="containerBack" navStyle="background-color:#fff;box-shadow:none;">筛选</navigation-bar>
</block>
<block wx:else>
  <navigation-bar class="navigation-header" showWhiteMenu bindnavbarReady="navbarReady" showMenu="{{ staffUuid&&tabIndex == 1?false:true }}" showBack="{{staffUuid&&tabIndex == 1?true:false}}" navStyle="{{'background-color: rgba(0,0,0,0);box-shadow:none;' }}" bindback="back" bindshowMenuPopup="showMenuPopup">
    <view class="navigation-title" wx:if="{{ tabIndex == 0 || tabIndex == 2 }}">
      <view class="navigation-title-text text-hide">{{(userInfo && userInfo.default4SStoreInfo && userInfo.default4SStoreInfo.merchantName) || '全部'}}</view>
    </view>
    <block wx:elif="{{tabIndex == 1}}">
      <view class="navigation-title">
        <view class="navigation-title-text text-hide">
          <block wx:if="{{userInfo && (userInfo.isSuper||userInfo.loginRole== 3 || userInfo.loginRole== 5)}}">
            数字报价
          </block>
          <block wx:else>
            {{ userInfo.default4SStoreInfo && userInfo.default4SStoreInfo.merchantName}}
          </block>
        </view>
      </view>
    </block>
    <view wx:elif="{{tabIndex==3}}">营销素材</view>
    <view wx:else>我的</view>
  </navigation-bar>
</block>
<view class="bg"></view>
<!-- style="margin-top:{{navBarHeight}}px" -->
<view class="layout {{ waitInputCount && mode == 1 && tabIndex == 0 ?'tipsHeigh':'layout_noTips' }}" style="padding-top:{{ navBarHeight }}px;position: relative;">
  <block wx:if="{{ navBarHeight && showPage }}">
    <!-- wx:if="{{ tabIndex == 0}}" wx:if="{{ tabIndex == 1}}" -->
    <quotation-list id="page-1" navBarHeight="{{ navBarHeight }}" class="pagedetail {{ tabIndex == 1?'':'hide' }}" mode="{{ mode }}" staffUuid="{{staffUuid}}" />
    <home id="page-0" class="pagedetail {{ tabIndex == 0?'':'hide' }}" navBarHeight="{{ navBarHeight }}" waitInputCount="{{waitInputCount}}" mode="{{ mode }}" showScreen="{{showScreen}}" show="{{tabIndex == 0}}"></home>
    <!-- <equity-list id="page-2" outTabIndex="{{ tabIndex }}" navBarHeight="{{ navBarHeight }}" class="pagedetail {{ tabIndex == 2?'':'hide' }}" /> -->
    <makert-material id="page-2" navBarHeight="{{ navBarHeight }}" class="pagedetail {{tabIndex == 2?'':'hide'}}"></makert-material>
    <tab-mine showCollege="{{ enableBusinessSchool }}" id="page-3" class="pagedetail {{ tabIndex == 3?'':'hide' }}" navBarHeight="{{ navBarHeight }}"></tab-mine>
  </block>
</view>
<view class="waitOrderCon" wx:if="{{ waitInputCount && mode == 1 && tabIndex == 0 }}">
  <tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsPropsConfig }}" />
</view>
<custom-tabBar list="{{ tabBarList }}" color="#6C6C70" selectedColor="#347BFF" tabIndex="{{ tabIndex }}" bindchange="changeTabBar" />
<!-- <store-picker items="{{ storeListRange }}" show="{{ showPicker }}" bindsearch="getStoreList" bindconfirm="changePicker" /> -->
<block wx:if="{{userInfo.isSuper || userInfo.loginRole== 3 || userInfo.loginRole== 5}}">
  <side-select-by-page-popup show="{{ shopSideSelectPopup }}" bindconfirm="changePicker" />
</block>
<block wx:else>
  <side-select-popup show="{{ shopSideSelectPopup }}" storeList="{{ storeRange }}" bindconfirm="changePicker" />
</block>
<!-- <order-switchPopup
	bind:close="closeSwitchPopup"
	bind:success="navigator"
	title="{{ '请选择支付订单号' }}"
	wx:if="{{ showOrderpop }}"
	flag="{{ showOrderpop }}"
/> -->
<order-no-popup wx:if="{{ tipsProps }}" show="{{ tipsProps }}" title="请选择交易参考号" bind:success="navigator" orderNoList="{{ orderNoList }}" />
<page-container show="{{ show_order_confirm || show_reception_confirm }}" duration="{{ 0 }}" overlay="{{ false }}" bind:afterleave="containerBack">
  <view wx:if="{{ showReceptionRendering }}">
    <reception-screen show="{{ show_reception_confirm }}" userInfo="{{ userInfo }}" dateTime="{{dateTime}}" isFilterUpgrade="{{isFilterUpgrade}}" isFilterDefeat="{{isFilterDefeat}}" maxDayRange="{{7}}" maxDayRangeType="day" navBarHeight="{{ navBarHeight }}" bindconfirm="searchScreen" />
  </view>
  <view wx:if="{{ showOrderRendering }}">
    <order-screen show="{{ show_order_confirm }}" userInfo="{{ userInfo }}" navBarHeight="{{ navBarHeight }}" status="{{ orderStatus }}" zyStatus="{{ zyPayStatus }}" bindconfirm="searchScreen" />
  </view>
</page-container>