crew.wxml
1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!--pages/tab/crew/crew.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" scroll-y style="padding-top: {{navBarHeight}}px;">
<view class="top-box">
<view class="tab">
<view class="tab-item {{tabIndex == index ? 'active' : ''}}" bindtap="changeTab" data-target="{{item}}" wx:for="{{tabList}}" wx:key="index">{{item.text}}</view>
</view>
<view class="scene-tab">
<view class="scene-tab-item {{sceneTabIndex == index ? 'active' : ''}}" wx:for="{{sceneTabList}}" wx:key="index" bindtap="changeSceneTab" data-target="{{item}}">
<image wx:if="{{sceneTabIndex == index}}" src="{{IMG_URL}}{{item.icon}}.png" mode=""/>
{{item.text}}
</view>
</view>
<view class="date">
<date-screen id="date" bind:search="search" setTrackData="{{true}}"></date-screen>
</view>
</view>
<scroll-view scroll-y style="height: calc(100% - {{topBoxHeight}}px);">
<view class="static-info">
<view class="static-item" style="flex: {{item.width}}rpx 0 0;background: {{item.background}};" wx:for="{{staticList}}" wx:key="index">
<view class="label">{{item.label}}</view>
<view class="value">{{staticData[item.key]}}</view>
</view>
</view>
<AI-analyse AIContent="{{AIContent}}" loading="{{AILoading}}" />
<employee-ranking
id="employee-ranking"
title-icon="{{IMG_URL}}staff-rank.png"
mode="{{mode}}"
scene="{{sceneTabIndex}}"
employee-list="{{employeeList}}"
local-sort="{{false}}"
bind:sortChange="onEmployeeSortChange"
bind:employeeTap="onEmployeeTap"
/>
</scroll-view>
</view>