index.axml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <wrapper className="refund-container">
  2. <!-- 弹框内容 -->
  3. <popup-container
  4. show="{{ show }}"
  5. title=""
  6. onClose="onClosePopup"
  7. >
  8. <!-- 标题栏 -->
  9. <view
  10. slot="header"
  11. class="header"
  12. >
  13. <view class="title">
  14. {{ title }}
  15. </view>
  16. <view
  17. onTap="onPopupClose"
  18. class="cancel"
  19. >
  20. 取消
  21. </view>
  22. </view>
  23. <view class="refund-pop-container">
  24. <list>
  25. <block a:for="{{refundList}}">
  26. <list-item
  27. arrow="{{true}}"
  28. onClick="onItemTap"
  29. data-refundid="{{item.refundId}}"
  30. >
  31. <view class="money">
  32. 退款金额:¥{{item.realRefund}}
  33. <block a:if="{{item.refundDetailStatus && item.refundDetailStatus !== 'REFUND'}}">,退货数量:{{item.refundNum}}</block>
  34. <block a:if="{{item.deliveryCostBack || item.packingFeeBack}}">(含配送/打包费¥{{item.deliveryCostBack+item.packingFeeBack}})</block>
  35. </view>
  36. <view class="refund-num">
  37. 退款单号: {{item.refundId}}
  38. </view>
  39. </list-item>
  40. </block>
  41. </list>
  42. </view>
  43. </popup-container>
  44. </wrapper>
  45. <view onTap="onOpenPopup">
  46. <slot></slot>
  47. </view>