12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <view>
- <view class="head flex-box flex-center-center">
- <view class="flex-1">
- <view>{{data_b.month_point}}</view>
- <view>本月B分</view>
- </view>
- <view class="flex-1">
- <view>{{data_b.year_point}}</view>
- <view>本年B分</view>
- </view>
- <view class="flex-1">
- <view>{{data_b.total_point}}</view>
- <view>统计B分</view>
- </view>
- </view>
- <view class="headed margin-bottom">
- <view class="top">
- <view class="dates" style="padding:10rpx 0" catchTap="openDate">
- <image mode="scaleToFill" src="../../../image/date.png"/>
- <text>{{date}}</text>
- </view>
- </view>
- <view class="headed-box">
- <view class="title" style="padding-bottom:0rpx">近半年的B分</view>
- <view class="f2-chart">
- <f2 onInit="onInitChart"></f2>
- </view>
- </view>
- </view>
- <view class="main margin-bottom">
- <view class="title">积分构成</view>
- <view class="f2-chart" a:if="{{pieData.length>0}}">
- <f2 onInit="onInitChart2"></f2>
- </view>
- <no-data a:if="{{pieData.length==0}}" content="无数据" />
- </view>
- <view class="main margin-bottom">
- <view class="flex-box">
- <view class="title flex-1">奖分最多</view>
- <view class="gengduo">更多<image mode="scaleToFill" src="../../../image/right.png"/></view>
- </view>
- <view>
- <view class="flex-box list" a:for="{{data_good}}">
- <view class="text flex-1" a:if="{{item.remark.customize}}">{{item.remark.customize}}</view>
- <view class="text flex-1" a:else>{{item.remark.rule}}</view>
- <view class="num red" a:if="{{item.point>0}}">+{{item.point}}</view>
- <view class="num green" a:else>{{item.point}}</view>
- </view>
- <no-data a:if="{{data_good.length==0}}" content="无数据" />
- </view>
- </view>
- <view class="main">
- <view class="flex-box">
- <view class="title flex-1">扣分最多</view>
- <view class="gengduo">更多<image mode="scaleToFill" src="../../../image/right.png"/></view>
- </view>
- <view>
- <view class="flex-box list" a:for="{{data_bad}}">
- <view class="text flex-1" a:if="{{item.remark.customize}}">{{item.remark.customize}}</view>
- <view class="text flex-1" a:else>{{item.remark.rule}}</view>
- <view class="num red" a:if="{{item.point>0}}">+{{item.point}}</view>
- <view class="num green" a:else>{{item.point}}</view>
- </view>
- <no-data a:if="{{data_bad.length==0}}" content="无数据" />
- </view>
- </view>
- </view>
|