index.wxml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <view class="priceChange" class="priceChange {{change ? 'on' : ''}}">
  2. <view class="priceTitle">
  3. {{status == 0? orderInfo.refund_status === 1? "立即退款": "一键改价": "订单备注"}}
  4. <span class="iconfont icon-guanbi" bindtap="close"></span>
  5. </view>
  6. <view class="listChange" wx:if="{{status == 0}}">
  7. <view
  8. class="item acea-row row-between-wrapper"
  9. wx:if="{{orderInfo.refund_status === 0}}"
  10. >
  11. <view>商品总价(¥)</view>
  12. <view class="money">
  13. {{ orderInfo.total_price }}<span class="iconfont icon-suozi"></span>
  14. </view>
  15. </view>
  16. <view
  17. class="item acea-row row-between-wrapper"
  18. wx:if="{{orderInfo.refund_status === 0}}"
  19. >
  20. <view>原始邮费(¥)</view>
  21. <view class="money">
  22. {{ orderInfo.pay_postage }}<span class="iconfont icon-suozi"></span>
  23. </view>
  24. </view>
  25. <view
  26. class="item acea-row row-between-wrapper"
  27. wx:if="{{orderInfo.refund_status === 0}}"
  28. >
  29. <view>实际支付(¥)</view>
  30. <view class="money">
  31. <input
  32. type="text"
  33. bindinput="bindPrice" data-name="orderInfo.pay_price" value='{{orderInfo.pay_price}}'
  34. class="{{focus === true ? 'on' : ''}}"/>
  35. </view>
  36. </view>
  37. <view
  38. class="item acea-row row-between-wrapper"
  39. wx:if="{{orderInfo.refund_status === 1}}"
  40. >
  41. <view>实际支付(¥)</view>
  42. <view class="money">
  43. {{ orderInfo.pay_price }}<span class="iconfont icon-suozi"></span>
  44. </view>
  45. </view>
  46. <view
  47. class="item acea-row row-between-wrapper"
  48. wx:if="{{orderInfo.refund_status === 1}}"
  49. >
  50. <view>退款金额(¥)</view>
  51. <view class="money">
  52. <input
  53. type="text"
  54. bindinput="bindRefundPrice" data-name="refund_price" value='{{refund_price}}' class="{{focus === true ? 'on' : ''}}"
  55. />
  56. </view>
  57. </view>
  58. </view>
  59. <view class="listChange" wx:else>
  60. <textarea placeholder="{{orderInfo.remark ? orderInfo.remark : '请填写备注信息...'}}" bindinput="bindHideKeyboard" data-name="remark" value='{{remark}}'></textarea>
  61. </view>
  62. <view class="modify" bindtap="save" data-type="1">
  63. {{ status === 1 || orderInfo.refund_status === 0 ? "立即修改" : "确认退款" }}
  64. </view>
  65. <view class="modify1" bindtap="refuse" data-type="2" wx:if="{{orderInfo.refund_status === 1 && status === 0}}">
  66. 拒绝退款
  67. </view>
  68. </view>
  69. <view class="mask" wx:if='{{change}}' bindtap='close'></view>