1234567891011121314151617 |
- <view class="box">
- <view class="list" wx:for="{{list}}" wx:key="index" wx:if="{{list!=''}}">
- <view class="left">
- <text>{{item.name}}</text>
- <text>{{item.created_at}}</text>
- </view>
- <view class="right">
- <text wx:if="{{item.operate_type=='充值'}}" style="color:#18D5B9">+{{item.money}}</text>
- <text wx:if="{{item.operate_type=='消费'}}" style="color:#e7361f">{{item.money}}</text>
- <text wx:if="{{item.operate_type=='充值'}}" style="color:#18D5B9">{{item.operate_type}}</text>
- <text wx:if="{{item.operate_type=='消费'}}" style="color:#e7361f">{{item.operate_type}}</text>
- </view>
- </view>
- <view wx:if="{{list==''}}" class="no_list">
- <text>暂无更多~</text>
- </view>
- </view>
|