stationStaffPerformance.wxml 1.89 KB
<!--packageIndex/pages/specialTask/specialTask.wxml-->
<navigation-bar bind:navbarReady="navbarReady"
                class="navigation-header"
                showBack
                bind:back="handleBack"
                navStyle="background-color: white;box-shadow:none;">
	<view class="page-title">
		{{ pageTitle }}
	</view>
</navigation-bar>
<scroll-view scroll-y
             class="container"
             style="padding-top: calc({{ navBarHeight }}px);">
	<view class="filter-wrapper">
		<view class="tab-wrapper">
			<TypeTabs bind:change="handleBrandTabChange"
			          list="{{ brandTypeList }}"
			          value="{{ query.statDimension }}" />
		</view>
		<view class="date-filter-wrapper">
			<date-screen customBackground="#f3f3f4"
			             tabSelected="{{ 3 }}"
			             init-start-date="{{ query.startDate }}"
			             init-end-date="{{ query.endDate }}"
			             init-time-dimension="{{ query.dateType }}"
			             bind:search="handleSearch"></date-screen>
		</view>
		<van-search value="{{ query.filterKey }}"
		            shape="round"
		            custom-class="search-input-wrapper"
		            background="#fff"
		            bind:change="handleFilterKeyChange"
		            placeholder="搜索驻店销售姓名..." />
	</view>
	<view class="list-wrapper">
		<view class="title-wrapper">
			驻店列表
		</view>
		<block wx:if="{{ list && list.length > 0 }}">
			<view class="item-wrapper"
			      wx:for="{{ list }}"
			      wx:key="index">
				<StatisticsItem title="{{ item.employeeName }}"
				                data="{{ item }}"
				                beTap="{{ false }}"
				                schema="{{ schemaList }}">
					<view slot="title-sub">
						{{ item.merchantName }}
					</view>
				</StatisticsItem>
			</view>
			<view class="last-tips">
				到底了~
			</view>
		</block>
		<block wx:else>
			<empty-data />
		</block>
	</view>
</scroll-view>