exchangeRecord.axml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <view>
  2. <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower" style="padding:20rpx">
  3. <view a:for="{{list}}" style="padding:20rpx;box-shadow: 0rpx 0rpx 10rpx #ccc;margin-bottom:20rpx" data-item="{{item}}"
  4. catchTap="openDetail">
  5. <view class="flex-box-ce" style="border-bottom:1px solid #f1f1f1;padding-bottom:20rpx">
  6. <text class="flex-1 font-flex-word" style="padding-right:20rpx;">{{item.goods_name}}</text>
  7. <text class="orange" style="width:100rpx" a:if="{{item.status==0}}">未发放</text>
  8. <text class="green" style="width:100rpx" a:if="{{item.status==1}}">已发放</text>
  9. <text class="red" style="width:100rpx" a:if="{{item.status==2}}">已取消</text>
  10. </view>
  11. <view class="flex-box-ce" style="padding:20rpx 0">
  12. <image src="{{item.goods_image}}" mode="aspectFill" style="width:200rpx;height:200rpx;border-radius: 10rpx;" />
  13. <view class="flex-box-v flex-1" style="height:200rpx;padding-top:20rpx;padding-left:20rpx;">
  14. <view style="margin-bottom:30rpx"> 单价:{{item.price}}功勋点</view>
  15. <view class="fontColorB" style="margin-bottom:30rpx"> 数量:{{item.num}}</view>
  16. <view >总价:{{item.total_price}}功勋点</view>
  17. </view>
  18. <image src="../../../image/code.jpg" data-item="{{item}}" style="width:70rpx;height:70rpx" catchTap="showText" />
  19. </view>
  20. <view class="fontColorB" style="font-size:28rpx">兑换时间 {{item.date}}</view>
  21. </view>
  22. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  23. </scroll-view>
  24. <no-data a:if="{{list.length==0}}" />
  25. <view a:if="{{isBh}}" class="windows" content="还没有积分事件">
  26. <view class="windows-box">
  27. <view class="windows-title">兑换码</view>
  28. <view class="flex-box-ce flex-center-center" style="margin-bottom:20rpx;">
  29. <text style="padding-right:20rpx;font-size:36rpx">{{sn}}</text>
  30. <button size="mini" open-type="share" catchTap="handleCopy">复制</button>
  31. </view>
  32. <view style="text-align:center;padding:20rpx 0;">
  33. <image src="{{image}}" style="width:260rpx;height:260rpx;border-radius: 10rpx" />
  34. </view>
  35. <view class="windows-content">提供兑换码或二维码给奖品兑换负责人即可</view>
  36. <view class="windows-btn flex-box flex-v-ce">
  37. <view class="flex-1" catchTap="showText">我知道了</view>
  38. </view>
  39. </view>
  40. </view>
  41. </view>