peopleOverview.wxml 2.07 KB
<!--packageCrew/pages/peopleOverview/peopleOverview.wxml-->
<navigation-bar bindnavbarReady="navbarReady"
                class="navigation-header"
								showBack="{{true}}"
								bindback="back"
                navStyle="background-color: transparent;box-shadow:none;">
	<view class="page-title">
		人员看板
	</view>
</navigation-bar>
<view class="bg"></view>
<scroll-view class="container" scroll-y style="margin-top: {{navBarHeight}}px;height: calc(100vh - {{navBarHeight}}px);">
	<view style="width: 100%;height: 8rpx;"></view>
	<AI-analyse AIContent="{{AIContent}}" />
	<view class="content">
		<view class="top-box">
			<view class="name">
				<view class="staff">
					{{detailInfo.staffName}}
					<image class="sex-icon" src="{{IMG_URL}}{{detailInfo.sex == 1 ? 'female-icon' : 'male-iconx'}}.png" mode="aspectFit" />
				</view>
				<view class="btn" bindtap="handleStoreTransfer">
					<text>调店记录</text>
					<van-icon name="arrow" color="#2C66F7" class="arrow" />
				</view>
			</view>
			<view class="items">
				<view class="item {{item.inline ? 'inline' : ''}}" style="{{item.width ? ('width:' + item.width + ';') : ''}}" wx:for="{{detailItems}}" wx:key="index">
					<view class="label">{{item.label}}:</view>
					<view class="value">{{detailInfo[item.key] || '-'}}</view>
				</view>
			</view>
		</view>
		<view class="tab-box">
			<tab-bar tabList="{{ tabList }}" bindclick="tabClick" activeIndex="{{ tabIndex }}" />
		</view>
		<view class="tab-content">
			<basic-info wx:if="{{tabIndex === 0}}" detailInfo="{{detailInfo}}" />
			<personal-performance wx:if="{{tabIndex === 1}}" detailInfo="{{detailInfo}}" />
			<behavior-analysis wx:if="{{tabIndex === 2}}" detailInfo="{{detailInfo}}" />
			<training-experience wx:if="{{tabIndex === 3}}" detailInfo="{{detailInfo}}" />
			<view style="width: 100%;height: 200rpx;"></view>
		</view>
	</view>
</scroll-view>
<view class="footerBtn {{ isFullSucreen?'isFullSucreen-btn':'' }}">
	<view class="btn cancle" bindtap="handleRecording">接待录音</view>
	<view class="btn next" bindtap="handleMentoring">发起带教</view>
</view>