C端小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
2.2 KiB

  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 class='titles clearfix'>
  7. <text class='fl'>有效期:{{cardDetail.expiredTime}}</text>
  8. <view class='fr'>余额:
  9. <text>{{cardDetail.remainingAmount/100}}</text>元</view>
  10. </view>
  11. </view>
  12. <text class='title'>适用门店</text>
  13. <view class='posi' style='overflow:{{hidden}};height:{{height}}'>
  14. <view class='posi_logo' wx:for="{{cardDetail.merchantVoList}}" wx:key="index">
  15. <view bindtap='gotoDetail' data-id='{{item.id}}'>
  16. <image src='{{item.merchantImgUrl}}'></image>
  17. </view>
  18. <view bindtap='gotoDetail' data-id='{{item.id}}'>
  19. <text>{{item.merchantName}}</text>
  20. <text>{{item.addr}}{{item.buildingName}}{{item.floorName}}</text>
  21. </view>
  22. <image wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantLinkPhone='{{item.linkLinePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
  23. </view>
  24. </view>
  25. <view class='bottom' bindtap='more' wx:if="{{showMore}}">{{more}}</view>
  26. <text class='title' wx:if="{{supportTransfer!=1}}">交易记录</text>
  27. <view wx:for="{{data}}" wx:key="{{index}}" class='list'>
  28. <view class='record clearfix record1'>
  29. <text class='fl'>{{item.merchantName}}</text>
  30. <text class='fr'>-{{item.deductionAmount/100}}元</text>
  31. </view>
  32. <view class='clearfix record2'>
  33. <text class='fl'>{{item.updateDate}}</text>
  34. <text class='fr'>余 {{item.cardRemainAmount/100}}元</text>
  35. </view>
  36. </view>
  37. <view class="dingdan" wx:if="{{data.length==0&&supportTransfer!=1}}">
  38. <image src="{{dingdanUrl}}" mode="widthFix"></image>
  39. <text>暂无交易明细</text>
  40. </view>
  41. <view class='share-bottom'>
  42. <!-- <button class='goback' wx:if="{{supportTransfer==1}}" bindtap='gotoIndex'><image src='{{home}}' mode="widthFix"></image></button> -->
  43. <button type="primary" open-type="share" wx:if="{{supportTransfer==1}}" class='support-tansfer'><image src="{{weixinTitle}}" class='share' mode="widthFix"></image>转赠给微信好友</button>
  44. </view>
  45. </view>