crew.wxml
2.15 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!--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"
wx:for="{{ staticList }}"
style="flex: {{ item.width }}rpx 0 0;background: {{ item.background }};"
data-key="{{ item.key }}"
bind:tap="handleNavigatePerformance"
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>