index.wxml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <nav type="back" background-color="#ffffff" frontColor="#000000" title="退款/售后" />
  2. <view class="title">订单已完成</view>
  3. <view class="cardbox">
  4. <view class="title2">确认退换信息</view>
  5. <view class="roombox">
  6. <image src="{{order.targetObject[0].image||'https://file-cloud.fmode.cn//tmp/mqHkA2qV3Q8nca3dc59bad49de6e5ae57afa81d78ae8.jpeg'}}"></image>
  7. <view class="room">
  8. <view class="room-name">{{order.targetObject[0].name}}</view>
  9. <view class="room-text2">
  10. <block wx:if="{{order.specMap[order.targetObject[0].objectId].spec}}">
  11. {{order.specMap[order.targetObject[0].objectId].spec}}
  12. <van-icon name="cross" />{{order.specMap[order.targetObject[0].objectId].count}}
  13. </block>
  14. <block wx:for="{{order.specMap[order.targetObject[0].objectId].list}}" wx:key="index">
  15. {{item.spec}}
  16. <van-icon name="cross" />{{item.count}}
  17. </block>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="text1" bind:tap="openWay">
  22. <view class="tex1">退换方式</view>
  23. <view class="tex3">
  24. {{way}}
  25. <van-icon name="arrow" custom-style='margin-left:10rpx' />
  26. </view>
  27. </view>
  28. <view class="text1" bind:tap="openCause">
  29. <view class="tex1">退货退款的原因</view>
  30. <view class="tex3">
  31. {{cause}}
  32. <van-icon name="arrow" custom-style='margin-left:10rpx' />
  33. </view>
  34. </view>
  35. <view class="text1">
  36. <view class="tex1">
  37. 描述和凭证
  38. <view class="tex1-1">*</view>
  39. </view>
  40. <view class="tex2">
  41. 上传有助于处理问题
  42. </view>
  43. </view>
  44. <view class="areabox">
  45. <textarea auto-height model:value='{{content}}' maxlength='200'></textarea>
  46. <view class="number">{{text.length||0}}/200</view>
  47. </view>
  48. <view class="uploadbox">
  49. <image bind:tap="getTemp" class="up" src="https://file-cloud.fmode.cn/EbxZUK5lBI/20250326/og1bfn023609454.jpg" mode="widthFix" />
  50. <view class="box">
  51. <block wx:for="{{tempFiles}}" wx:key="index">
  52. <view class="image">
  53. <image src="{{item}}" mode="" />
  54. <van-icon data-index="{{index}}" bind:tap="del" name="cross" />
  55. </view>
  56. </block>
  57. </view>
  58. </view>
  59. </view>
  60. <view class="submitbox">
  61. <view class="submit" bind:tap="submit">提交</view>
  62. </view>
  63. <!-- 退换方式 -->
  64. <van-action-sheet
  65. show="{{ isShowWay }}"
  66. actions="{{ wayList }}"
  67. bind:close="closeWay"
  68. bind:select="selectWay"
  69. description="退换方式"
  70. />
  71. <!-- 原因 -->
  72. <van-action-sheet
  73. show="{{ isShowCause }}"
  74. actions="{{ causeList }}"
  75. bind:close="closeCause"
  76. bind:select="selectCause"
  77. description="原因"
  78. />