2022-02-16 17:11:48 +08:00

1 line
2.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<view data-ref="container" class="statistical-page _div vue-ref"><view class="navs _div"><view class="list _div"><view data-event-opts="{{[['tap',[['setTime',['today']]]]]}}" class="{{['item','_div',time=='today'?'on':'']}}" bindtap="__e">今天</view><view data-event-opts="{{[['tap',[['setTime',['yesterday']]]]]}}" class="{{['item','_div',time=='yesterday'?'on':'']}}" bindtap="__e">昨天</view><view data-event-opts="{{[['tap',[['setTime',['seven']]]]]}}" class="{{['item','_div',time=='seven'?'on':'']}}" bindtap="__e">最近7天</view><view data-event-opts="{{[['tap',[['setTime',['month']]]]]}}" class="{{['item','_div',time=='month'?'on':'']}}" bindtap="__e">本月</view><view data-event-opts="{{[['tap',[['dateTitle',['$event']]]]]}}" class="{{['item','_div',time=='date'?'on':'']}}" bindtap="__e">自定义</view></view></view><view class="wrapper _div"><view class="title _div">{{''+(time=='date'?'':title)+(this.where.type==1?"营业额(元)":"订单量(份)")+''}}</view><view class="money _div">{{time_price}}</view><view class="increase acea-row row-between-wrapper _div"><view class="_div">{{''+(time=='date'?'':title)+"增长率:"}}<label class="{{['_span',increase_time_status===1?'red':'green']}}">{{(increase_time_status===1?"":"-")+growth_rate+'%'}}<label class="{{['iconfont','_span',increase_time_status===1?'icon-xiangshang1':'icon-xiangxia2']}}"></label></label></view><view class="_div">{{''+(time=='date'?'':title)+"增长:"}}<label class="{{['_span',increase_time_status===1?'red':'green']}}">{{(increase_time_status===1?"":"-")+increase_time+''}}<label class="{{['iconfont','_span',increase_time_status===1?'icon-xiangshang1':'icon-xiangxia2']}}"></label></label></view></view></view><view class="chart _div"><view class="chart-title _div">{{'单位('+(where.type==1?'元':'份')+''}}</view><canvas class="charts" canvas-id="canvasLineA" id="canvasLineA" disable-scroll="true" data-event-opts="{{[['touchstart',[['touchLineA',['$event']]]],['touchmove',[['moveLineA',['$event']]]],['touchend',[['touchEndLineA',['$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></canvas></view><view class="public-wrapper _div"><view class="title _div"><label class="iconfont icon-xiangxishuju _span"></label>详细数据</view><view class="nav acea-row row-between-wrapper _div"><view class="data _div">日期</view><view class="browse _div">订单量</view><view class="turnover _div">成交额</view></view><view class="conter _div"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between-wrapper _div"><view class="data _div">{{item.time}}</view><view class="browse _div">{{item.count}}</view><view class="turnover _div">{{item.price}}</view></view></block></view></view></view>