crowdDetail.wxml
2.4 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
<!--packageOutput/pages/crowdDetail/crowdDetail.wxml-->
<view class="container">
<navigation-bar showBack="{{true}}" navStyle="{{navStyle}}" bindnavbarReady="navbarReady">产值详情</navigation-bar>
<view class="layout" id="layout" style="padding-top:{{navHeight}}px; height: calc(100vh)">
<!-- 背景图 -->
<!-- <view class="bg-box" style="height:{{368 + navHeight * 2}}rpx;top:-{{navHeight}}px">
<view class="bg">
<glsx-image webp src="store-assistant/index_bg.webp"></glsx-image>
</view>
</view> -->
<scroll-view scroll-y class="content" class="content" refresher-enabled bindrefresherrefresh="activityRefresh" bindscrolltolower="scrollonReachBottom" style="{{'height: calc(100% - 50rpx);'}}">
<view class="output-box">
<view class="output-title">
产值总览
</view>
<view class="totalCon" >
<view class="item otherItem ">
<view class="label">今日产值(元)</view>
<veiw class="number">
<text class="unit">¥ </text>{{outputData['realAmountToday']*(0.01) || 0}}
</veiw>
</view>
<view class="item otherItem">
<view class="label">今日订单(单)</view>
<veiw class="number">
{{outputData['orderCountToday'] || 0}}
</veiw>
</view>
<view class="item otherItem">
<view class="label">今日访客(员)</view>
<veiw class="number">
{{outputData['visitCountToday'] || 0}}
</veiw>
</view>
</view>
<view class="output-value">
<view class="output-item" wx:for="{{outputValue}}" wx:key="index">
<view class="output-label">
<view class="label">{{item.label}}</view>
<glsx-image src="{{item.iconUrl}}" class="icon" />
</view>
<view class="output-num"><text class="_unit">{{item.unit}}</text>{{outputData[item.name]*(item.multiple || 1) || 0}}</view>
</view>
</view>
</view>
<view class="box measure-box">
<view class="box-title">转化漏斗</view>
<invert-analyse data="{{outputData}}"></invert-analyse>
</view>
<staff sfaffList="{{sfaffList}}" tabelTh="{{tabelTh}}" downType="crowType"/>
</scroll-view>
</view>
</view>