equityPage.wxml 6.54 KB
<wxs src="../../../utils/permission.wxs" module="perm" />
<glsx-privacy applet-name="生意助手员工版"
              bind:agreeClick="agreeClick"
              bind:disagreeClick="disagreeClick"></glsx-privacy>
<block wx:if="{{ showScreen }}">
	<navigation-bar bindback="containerBack"
	                class="navigation-header"
	                nav-style="background-color:#fff;box-shadow:none;"
	                show-back
	                show-white-menu>
		筛选
	</navigation-bar>
</block>
<block wx:else>
	<navigation-bar bindnavbar-ready="navbarReady"
	                class="navigation-header"
	                nav-style="{{ 'background-color: rgba(0,0,0,0);box-shadow:none;' }}"
	                show-back="{{ staffUuid && tabIndex == 1?true:false }}"
	                bindback="back"
	                show-menu="{{ staffUuid && tabIndex == 1?false:true }}"
	                bindshow-menu-popup="showMenuPopup"
	                show-white-menu>
		<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 && perm.hasPermission.canSelectMultiStore(userInfo) }}">
						数字报价
					</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="position: relative;padding-top:{{ navBarHeight }}px;">
	<block wx:if="{{ navBarHeight && showPage }}">
		<!-- wx:if="{{ tabIndex == 0}}" wx:if="{{ tabIndex == 1}}" -->
		<quotation-list wx:if="{{ pageShow[1] }}"
		                id="page-1"
		                class="pagedetail {{ tabIndex == 1 ? '' : 'hide' }}"
		                show="{{ tabIndex == 1 }}"
		                invoice-order-info="{{ invoiceOrderInfo }}"
		                mode="{{ mode }}"
		                nav-bar-height="{{ navBarHeight }}"
		                staff-uuid="{{ staffUuid }}" />
		<home id="page-0"
		      class="pagedetail {{ tabIndex == 0?'':'hide' }}"
		      mode="{{ mode }}"
		      nav-bar-height="{{ navBarHeight }}"
		      show="{{ tabIndex == 0 }}"
		      serviceCenterUnreadNum="{{ serviceCenterUnreadNum }}"
		      show-screen="{{ showScreen }}"
		      wait-input-count="{{ waitInputCount }}" />
		<equity-list wx:if="{{ pageShow[2] }}"
		             id="page-2"
		             class="pagedetail {{ tabIndex == 2 ? '' : 'hide' }}"
		             show="{{ tabIndex == 2 }}"
		             nav-bar-height="{{ navBarHeight }}"
		             out-tab-index="{{ tabIndex }}" />
		<makert-material wx:if="{{ pageShow[3] }}"
		                 id="page-3"
		                 class="pagedetail {{ tabIndex == 3 ? '' : 'hide' }}"
		                 show="{{ tabIndex == 3 }}"
		                 nav-bar-height="{{ navBarHeight }}"></makert-material>
		<tab-mine wx:if="{{ pageShow[4] }}"
		          id="page-4"
		          class="pagedetail {{ tabIndex == 4 ? '' : 'hide' }}"
		          show="{{ tabIndex == 4 }}"
		          nav-bar-height="{{ navBarHeight }}"
		          show-college="{{ enableBusinessSchool }}"></tab-mine>
	</block>
</view>
<!-- 2025-8月版本 隐藏补录订单入口 -->
<!-- <view class="waitOrderCon" wx:if="{{ waitInputCount && mode == 1 && tabIndex == 0 }}">
  <tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsPropsConfig }}" beforeClick="inspectionOfProhibitionBill" />
</view> -->
<!-- 异常流水吸底提醒(仅首页 Tab) -->
<view class="abnormal-flow-tip-wrap" wx:if="{{ abnormalFlowTips.show && tabIndex == 0 }}">
	<abnormal-flow-tips
		show="{{ abnormalFlowTips.show }}"
		count="{{ abnormalFlowTips.count }}"
		tips-text="{{ abnormalFlowTips.tipsText }}"
		bind:close="onAbnormalFlowTipClose"
		bind:action="onAbnormalFlowTipAction"
	/>
</view>
<custom-tabBar bindchange="changeTabBar"
               color="#6C6C70"
               list="{{ tabBarList }}"
               selected-color="#347BFF"
               tab-index="{{ tabIndex }}" />
<!-- <store-picker items="{{ storeListRange }}" show="{{ showPicker }}" bindsearch="getStoreList" bindconfirm="changePicker" /> -->
<block wx:if="{{ perm.hasPermission.canSelectMultiStore(userInfo) }}">
	<side-select-popup bindconfirm="changePicker"
	                   show="{{ shopSideSelectPopup }}"
	                   dataSource="page" />
</block>
<block wx:else>
	<side-select-popup bindconfirm="changePicker"
	                   show="{{ shopSideSelectPopup }}"
	                   store-list="{{ storeRange }}" />
</block>
<!-- <order-switchPopup
	bind:close="closeSwitchPopup"
	bind:success="navigator"
	title="{{ '请选择支付订单号' }}"
	wx:if="{{ showOrderpop }}"
	flag="{{ showOrderpop }}"
/> -->
<order-no-popup bind:success="navigator"
                order-no-list="{{ orderNoList }}"
                show="{{ tipsProps }}"
                payment-method="{{ paymentMethod }}"
                title="请选择交易参考号"
                wx:if="{{ tipsProps }}" />
<page-container bind:afterleave="containerBack"
                duration="{{ 0 }}"
                overlay="{{ false }}"
                show="{{ show_order_confirm || show_reception_confirm }}">
	<view wx:if="{{ showReceptionRendering }}">
		<reception-screen date-time="{{ dateTime }}"
		                  is-filter-defeat="{{ isFilterDefeat }}"
		                  is-filter-upgrade="{{ isFilterUpgrade }}"
		                  max-day-range="{{ 7 }}"
		                  max-day-range-type="day"
		                  nav-bar-height="{{ navBarHeight }}"
		                  show="{{ show_reception_confirm }}"
		                  bindconfirm="searchScreen"
		                  user-info="{{ userInfo }}" />
	</view>
	<view wx:if="{{ showOrderRendering }}">
		<order-screen bindconfirm="searchScreen"
		              nav-bar-height="{{ navBarHeight }}"
		              show="{{ show_order_confirm }}"
		              status="{{ orderStatus }}"
		              user-info="{{ userInfo }}"
		              zy-status="{{ zyPayStatus }}" />
	</view>
</page-container>
<study-permission-modal id="customModal" />
<van-dialog id="van-dialog" custom-class="van-dialog-wrapper" />