crowdDetail.wxml 2.4 KB
<!--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>