workspace.wxml 2.43 KB
<!--pages/tab/workspace/workspace.wxml-->
<navigation-bar bindnavbarReady="navbarReady"
                class="navigation-header"
                navStyle="background-color:transparent;box-shadow:none;">
	<view class="page-title">
		工作台
	</view>
</navigation-bar>
<view class="bg"></view>
<view class="container" style="margin-top: {{ navBarHeight }}px;">
	<view class="banner-box" wx:if="{{ showBanner }}">
		<image class="image"
		       src="{{ IMG_URL }}work-banner.png"
		       mode="" />
		<image class="close-icon"
		       bindtap="closeBannaer"
		       src="{{ IMG_URL }}blue-close.png"
		       alt="" />
	</view>
	<view class="box">
		<view class="label">
			审批管理
		</view>
		<view class="menu">
			<block wx:for="{{ approvalMenus }}" wx:key="index">
				<view class="item"
				      bindtap="jump"
				      data-target="{{ item }}">
					<image src="{{ IMG_URL }}{{ item.icon }}.png" />
					<view class="label">
						{{ item.name }}
					</view>
					<view class="hot_icon" wx:if="{{ item.tipsNum }}">
						{{ item.tipsNum > 99?'99+': item.tipsNum }}
					</view>
				</view>
			</block>
		</view>
	</view>
	<view class="box">
		<view class="label">
			门店运营管理
		</view>
		<view class="menu">
			<block wx:for="{{ storeManagementMenus }}" wx:key="index">
				<view class="item"
				      bind:tap="jump"
				      data-target="{{ item }}">
					<image src="{{ IMG_URL }}{{ item.icon }}.png" />
					<view class="label">
						{{ item.name }}
					</view>
					<view class="hot_icon" wx:if="{{ item.tipsNum }}">
						{{ item.tipsNum > 99?'99+': item.tipsNum }}
					</view>
				</view>
			</block>
		</view>
	</view>
	<view class="box">
		<view class="label">
			人员发展管理
		</view>
		<view class="menu">
			<block wx:for="{{ staffDevelopmentMenus }}" wx:key="index">
				<view class="item"
				      bindtap="jump"
				      data-target="{{ item }}">
					<image src="{{ IMG_URL }}{{ item.icon }}.png" />
					<view class="label">
						{{ item.name }}
					</view>
					<view class="hot_icon" wx:if="{{ item.tipsNum }}">
						{{ item.tipsNum > 99?'99+': item.tipsNum }}
					</view>
				</view>
			</block>
		</view>
	</view>
</view>
<report-template-popup show="{{ showReportPopup }}"
                       templateList="{{ reportTemplateList }}"
                       bind:cancel="onReportPopupCancel"
                       bind:select="onReportPopupSelect" />
<van-dialog id="van-dialog"  confirm-button-color="#2C66F7" />