aftersale.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <view class="container">
  2. <view class="order-goods">
  3. <view class="h">
  4. 退款商品
  5. </view>
  6. <view class="goods">
  7. <view class="item" wx:for="{{orderGoods}}" wx:key="id">
  8. <view class="img">
  9. <image src="{{item.picUrl}}"></image>
  10. </view>
  11. <view class="info">
  12. <view class="t">
  13. <text class="name">{{item.goodsName}}</text>
  14. <text class="number">x{{item.number}}</text>
  15. </view>
  16. <view class="attr">{{item.specifications}}</view>
  17. <view class="price">¥{{item.price}}</view>
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <van-cell-group title="订单明细">
  23. <van-cell title="商品总价" value=" ¥{{orderInfo.goodsPrice}}元" />
  24. <!-- <van-cell title=" 运费" value=" ¥{{orderInfo.freightPrice}}元" /> -->
  25. <van-cell title=" 优惠" value="-¥{{orderInfo.couponPrice}}元" />
  26. <van-cell title="订单实付" value=" ¥{{orderInfo.actualPrice}}元" />
  27. </van-cell-group>
  28. <van-cell-group title="操作">
  29. <van-field value="{{ aftersale.typeDesc }}" label="退款类型" readonly="readonly" placeholder="请选择" input-align="right"
  30. required clickable bind:tap="showTypePicker" />
  31. <van-field value="{{ aftersale.reason }}" label="退款原因" placeholder="请输入" bind:change="onReasonChange"
  32. input-align="right" required clearable />
  33. <van-field label="退款说明" value="{{ aftersale.comment }}" placeholder="请输入" type="textarea" input-align="right"
  34. autosize />
  35. <van-cell title="退款金额" value="¥{{ aftersale.amount }}元" label="不可修改,即订单实付- 运费" required />
  36. <van-cell title="上传凭证" label="最多上传三张">
  37. <van-uploader file-list="{{ fileList }}" bind:after-read="afterRead" bind:delete="deleteImage" max-count="3"
  38. preview-size="50px" />
  39. </van-cell>
  40. </van-cell-group>
  41. <van-button type="danger" bind:click="submit" block>申请售后</van-button>
  42. <van-popup show="{{showPicker}}" position="bottom">
  43. <van-picker show-toolbar columns="{{columns}}" bind:cancel="onCancel" bind:confirm="onConfirm" />
  44. </van-popup>
  45. </view>