wallet_details.wxml 773 B

1234567891011121314151617
  1. <view class="box">
  2. <view class="list" wx:for="{{list}}" wx:key="index" wx:if="{{list!=''}}">
  3. <view class="left">
  4. <text>{{item.name}}</text>
  5. <text>{{item.created_at}}</text>
  6. </view>
  7. <view class="right">
  8. <text wx:if="{{item.operate_type=='充值'}}" style="color:#18D5B9">+{{item.money}}</text>
  9. <text wx:if="{{item.operate_type=='消费'}}" style="color:#e7361f">{{item.money}}</text>
  10. <text wx:if="{{item.operate_type=='充值'}}" style="color:#18D5B9">{{item.operate_type}}</text>
  11. <text wx:if="{{item.operate_type=='消费'}}" style="color:#e7361f">{{item.operate_type}}</text>
  12. </view>
  13. </view>
  14. <view wx:if="{{list==''}}" class="no_list">
  15. <text>暂无更多~</text>
  16. </view>
  17. </view>