C端小程序
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

ConsumeDetail.wxml 2.9 KiB

1 yıl önce
1 yıl önce
1 yıl önce
1 yıl önce
1 yıl önce
1 yıl önce
1 yıl önce
1 yıl önce
1 yıl önce
1 yıl önce
1 yıl önce
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <navbar home back text="交易明细" background="#fff" color="#000"></navbar>
  2. <view style="height:{{navigationBarHeight}} "></view>
  3. <view wx:if="{{showPage}}" class='notes'>
  4. <view class='head'>
  5. <view class='titles' style='font-weight:bold;'>卡名称:{{cardDetail.title}}</view>
  6. <view wx:if="{{cardDetail.wxCardInfo}}" class='titles' style="font-size: 26rpx;">电子卡卡号:{{cardDetail.wxCardInfo.id}}</view>
  7. <view wx:if="{{cardDetail.wxCardInfo && cardDetail.wxCardInfo.couponPasswordId}}" class='titles' style="font-size: 26rpx;">卡密卡号:{{cardDetail.wxCardInfo.couponPasswordId}}</view>
  8. <view class='titles clearfix'>
  9. <text class='fl'>有效期:{{cardDetail.expiredTime}}</text>
  10. <view class='fr'>余额:
  11. <text>{{cardDetail.remainingAmount/100}}</text>元
  12. </view>
  13. </view>
  14. </view>
  15. <text class='title'>适用门店</text>
  16. <view class='posi' style='overflow:{{hidden}};height:{{height}}'>
  17. <view class='posi_logo' wx:for="{{cardDetail.merchantVoList}}" wx:key="index">
  18. <view bindtap='gotoDetail' data-id='{{item.id}}'>
  19. <image src='{{item.merchantImgUrl}}'></image>
  20. </view>
  21. <view bindtap='gotoDetail' data-id='{{item.id}}'>
  22. <text>{{item.merchantName}}</text>
  23. <text>{{item.addr}}{{item.buildingName}}{{item.floorName}}</text>
  24. </view>
  25. <image wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantLinkPhone='{{item.linkLinePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
  26. </view>
  27. </view>
  28. <view class='bottom' bindtap='more' wx:if="{{showMore}}">{{more}}</view>
  29. <text class='title' wx:if="{{supportTransfer!=1}}">交易记录</text>
  30. <view wx:if="{{data.length>0}}" wx:for="{{data}}" wx:key="index" class='list'>
  31. <view class='record clearfix record1'>
  32. <text class='fl'>{{item.merchantName}}</text>
  33. <text class='fr'>
  34. <text wx:if="{{item.payType == 1}}" style="color: #ff0000;">退款:+ {{item.deductionAmount/100}}元</text>
  35. <text wx:else style="color: #ff0000;">{{item.payType == 0 ?'-':'+'}}{{item.deductionAmount/100}}元</text>
  36. </text>
  37. </view>
  38. <view class='clearfix record2'>
  39. <text class='fl'>交易时间:{{item.createDate}}</text>
  40. <text class='fr'>余 {{item.cardRemainAmount/100}}元</text>
  41. </view>
  42. <view class="orderId">订单号:{{item.orderId}}</view>
  43. </view>
  44. <view class="dingdan" wx:if="{{data.length==0&&supportTransfer!=1}}">
  45. <image src="{{dingdanUrl}}" mode="widthFix"></image>
  46. <text>暂无交易明细</text>
  47. </view>
  48. <view class='share-bottom'>
  49. <!-- <button class='goback' wx:if="{{supportTransfer==1}}" bindtap='gotoIndex'><image src='{{home}}' mode="widthFix"></image></button> -->
  50. <button type="primary" open-type="share" wx:if="{{supportTransfer==1}}" class='support-tansfer'>
  51. <image src="{{weixinTitle}}" class='share' mode="widthFix"></image>转赠给微信好友
  52. </button>
  53. </view>
  54. </view>