buyList.wxml 1.5 KB

123456789101112131415161718192021222324
  1. <wxs src="../../../utils/formatFuc.wxs" module="formatFuc" />
  2. <view class="buy-list-page">
  3. <view class="buy-list" style="height:100vh;">
  4. <view class="buy-item {{item.memberStatus=='2'?'invalid-item':''}}" wx:for="{{buyList}}" wx:key="index" >
  5. <view class="buy-item-left">
  6. <view>
  7. <text class="item-title">鲸致生活</text>|<text class="item-title" wx:if="{{item.memberType=='1'}}">超级鲸会员月卡</text><text class="item-title" wx:if="{{item.memberType=='2'}}">超级鲸会员年卡</text></view>
  8. <view class="item-content">
  9. <text>有效期:{{formatFuc.sliceStr(item.effectiveStartTime,0,10)}}-{{formatFuc.sliceStr(item.effectiveEndTime,0,10)}}</text>
  10. <!-- <text style="margin-left:30rpx">共{{item.days}}天</text> -->
  11. </view>
  12. <view class="item-date">{{formatFuc.sliceStr(item.createTime,0,10)}} 支付成功</view>
  13. </view>
  14. <view class="buy-item-right">
  15. <image src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/memberCard-1229/icon-member-valid.png" wx:if="{{item.memberStatus=='1'}}" mode="aspectFit"></image>
  16. <image src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/memberCard-1229/icon-status-invalid.png" wx:if="{{item.memberStatus=='2'}}" mode="aspectFit" class="status-img"></image>
  17. <image src="https://jzmall.lifejingzhi.com/file/jzmall/weixin/memberCard-1229/icon-member-invalid.png" wx:if="{{item.memberStatus=='2'}}" mode="aspectFit"></image>
  18. </view>
  19. </view>
  20. </view>
  21. </view>