123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <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 style="font-size:32rpx;position: relative;" class="{{showDate? 'activeView':''}}">{{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">B分构成</view>
- <view class="f2-chart" a:if="{{pieData.length>0}}" style="height:800rpx">
- <f2 onInit="onInitChart2"></f2>
- </view>
- <view style="padding-left:18px" a:if="{{pieData.length==8}}">...</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" catchTap="openMore">更多<image mode="scaleToFill" src="../../../image/right.png"/></view>
- </view>
- <view>
- <view class="flex-box list" a:for="{{data_good}}" a:if="{{index<=4}}">
- <block>
- <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>
- </block>
- </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" catchTap="openMore">更多<image mode="scaleToFill" src="../../../image/right.png"/></view>
- </view>
- <view>
- <view class="flex-box list" a:for="{{data_bad}}" a:if="{{index<=4}}">
- <block>
- <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>
- </block>
- </view>
- <no-data a:if="{{data_bad.length==0}}" content="无数据" />
- </view>
- </view>
- </view>
|