1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <view>
- <view class="head">
- <view class="flex-box-ce">
- <view class="flex-1">
- <view a:if="{{all>=0}}" class="blue">{{all}}</view>
- <view a:else class="red">{{consume}}</view>
- <view>现有功勋点</view>
- </view>
- <view class="flex-1">
- <view a:if="{{grant>=0}}" class="blue">{{grant}}</view>
- <view a:else class="red">{{grant}}</view>
- <view>管理员发放</view>
- </view>
- <view class="flex-1">
- <view a:if="{{exchange>=0}}" class="blue">{{exchange}}</view>
- <view a:else class="red">{{exchange}}</view>
- <view>B分转换</view>
- </view>
- </view>
- <view class="flex-box-ce" style="margin-top:10rpx">
- <view class="flex-1">
- <view a:if="{{consume>=0}}" class="blue">{{consume}}</view>
- <view a:else class="red">{{consume}}</view>
- <view>兑换奖品</view>
- </view>
- <view class="flex-1">
- <view a:if="{{take_back>=0}}" class="blue">{{take_back}}</view>
- <view a:else class="red">{{take_back}}</view>
- <view>被回收</view>
- </view>
- <view class="flex-1"></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>
- <view class="main margin-bottom">
- <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
- <view class="flex-box-ce item" a:for="{{list}}">
- <view class="flex-1" style="padding-right:40rpx">
- <view a:if="{{item.type==4}}">
- <text>{{item.remark}}</text>
- </view>
- <view a:else>
- 管理员
- <text a:if="{{item.type==1}}">发放</text>
- <text a:if="{{item.type==2}}">回收</text>
- <text a:if="{{item.type==3}}">转换</text>
- <text a:if="{{item.remark}}">“{{item.remark}}”</text>
- </view>
- <text style="font-size:28rpx" class="fontColorB">{{item.date}}</text>
- </view>
- <view>
- <view class="red" a:if="{{item.achievement>0}}">{{item.achievement}}</view>
- <view class="green" a:else>{{item.achievement}}</view>
- <view class="fontColorB" style="font-size:24rpx;text-align:right">
- <view a:if="{{item.type==1}}">发放</view>
- <view a:if="{{item.type==2}}">回收</view>
- <view a:if="{{item.type==3}}">转换</view>
- <view a:if="{{item.type==4}}">兑换</view>
- </view>
- </view>
- </view>
- <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
- </scroll-view>
- <no-data a:if="{{list.length==0}}" />
- </view>
- </view>
|