C端小程序
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

43 行
2.1 KiB

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