Commit 076453da by Jaxon

Merge branch 'feature/statistics' into 'SAAS+V5.8.2'

feat: 添加入口

See merge request !7
2 parents 09aa0375 fb39dac7
...@@ -7,38 +7,61 @@ ...@@ -7,38 +7,61 @@
</view> </view>
</navigation-bar> </navigation-bar>
<view class="bg"></view> <view class="bg"></view>
<view class="container" scroll-y style="padding-top: {{navBarHeight}}px;"> <view class="container"
scroll-y
style="padding-top: {{ navBarHeight }}px;">
<view class="top-box"> <view class="top-box">
<view class="tab"> <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 class="tab-item {{ tabIndex == index ? 'active' : '' }}"
bindtap="changeTab"
data-target="{{ item }}"
wx:for="{{ tabList }}"
wx:key="index">
{{ item.text }}
</view>
</view> </view>
<view class="scene-tab"> <view class="scene-tab">
<view class="scene-tab-item {{sceneTabIndex == index ? 'active' : ''}}" wx:for="{{sceneTabList}}" wx:key="index" bindtap="changeSceneTab" data-target="{{item}}"> <view class="scene-tab-item {{ sceneTabIndex == index ? 'active' : '' }}"
<image wx:if="{{sceneTabIndex == index}}" src="{{IMG_URL}}{{item.icon}}.png" mode=""/> wx:for="{{ sceneTabList }}"
{{item.text}} 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> </view>
<view class="date"> <view class="date">
<date-screen id="date" bind:search="search" setTrackData="{{true}}"></date-screen> <date-screen id="date"
bind:search="search"
setTrackData="{{ true }}"></date-screen>
</view> </view>
</view> </view>
<scroll-view scroll-y style="height: calc(100% - {{topBoxHeight}}px);"> <scroll-view scroll-y style="height: calc(100% - {{ topBoxHeight }}px);">
<view class="static-info"> <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="static-item"
<view class="label">{{item.label}}</view> wx:for="{{ staticList }}"
<view class="value">{{staticData[item.key]}}</view> 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>
</view> </view>
<AI-analyse AIContent="{{AIContent}}" loading="{{AILoading}}" /> <AI-analyse AIContent="{{ AIContent }}" loading="{{ AILoading }}" />
<employee-ranking <employee-ranking id="employee-ranking"
id="employee-ranking" title-icon="{{ IMG_URL }}staff-rank.png"
title-icon="{{IMG_URL}}staff-rank.png" mode="{{ mode }}"
mode="{{mode}}" scene="{{ sceneTabIndex }}"
scene="{{sceneTabIndex}}" employee-list="{{ employeeList }}"
employee-list="{{employeeList}}" local-sort="{{ false }}"
local-sort="{{false}}" bind:sortChange="onEmployeeSortChange"
bind:sortChange="onEmployeeSortChange" bind:employeeTap="onEmployeeTap" />
bind:employeeTap="onEmployeeTap"
/>
</scroll-view> </scroll-view>
</view> </view>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!