aftersale.wxml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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" required clickable bind:tap="showTypePicker" />
  30. <van-field value="{{ aftersale.reason }}" label="退款原因" placeholder="请输入" bind:change="onReasonChange" input-align="right" required clearable />
  31. <van-field label="退款说明" value="{{ aftersale.comment }}" placeholder="请输入" type="textarea" input-align="right" autosize/>
  32. <van-cell title="退款金额" value="¥{{ aftersale.amount }}元" label="不可修改,即订单实付- 运费" required/>
  33. <van-cell title="上传凭证" label="最多上传三张">
  34. <van-uploader file-list="{{ fileList }}" bind:after-read="afterRead" bind:delete="deleteImage" max-count="3" preview-size="50px"/>
  35. </van-cell>
  36. </van-cell-group>
  37. <van-button type="danger" bind:click="submit" block>申请售后</van-button>
  38. <van-popup show="{{showPicker}}" position="bottom">
  39. <van-picker show-toolbar columns="{{columns}}" bind:cancel="onCancel" bind:confirm="onConfirm" />
  40. </van-popup>
  41. </view>