index.wxml 2.8 KB

1
  1. <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">{{''+$root.m0+''}}</view><view data-event-opts="{{[['tap',[['setTime',['yesterday']]]]]}}" class="{{['item','_div',time=='yesterday'?'on':'']}}" bindtap="__e">{{''+$root.m1+''}}</view><view data-event-opts="{{[['tap',[['setTime',['seven']]]]]}}" class="{{['item','_div',time=='seven'?'on':'']}}" bindtap="__e">{{''+$root.m2+''}}</view><view data-event-opts="{{[['tap',[['setTime',['month']]]]]}}" class="{{['item','_div',time=='month'?'on':'']}}" bindtap="__e">{{''+$root.m3+''}}</view><view data-event-opts="{{[['tap',[['dateTitle',['$event']]]]]}}" class="{{['item','_div',time=='date'?'on':'']}}" bindtap="__e">{{''+$root.m4+''}}</view></view></view><view class="wrapper _div"><view class="title _div">{{''+(time=='date'?'':title)+(where.type==1?$root.m5:$root.m6)+''}}</view><view class="money _div">{{time_price}}</view><view class="increase acea-row row-between-wrapper _div"><view class="_div">{{''+(time=='date'?'':title)+$root.m7+":"}}<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)+$root.m8+":"}}<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">{{''+$root.m9+"("+(where.type==1?$root.m10:$root.m11)+')'}}</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>{{$root.m12+''}}</view><view class="nav acea-row row-between-wrapper _div"><view class="data _div">{{$root.m13}}</view><view class="browse _div">{{$root.m14}}</view><view class="turnover _div">{{$root.m15}}</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>