refund.vue 4.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <uni-popup ref="servicePop" type="bottom" border-radius="10px 10px 0 0" background-color="#f1f1f1">
  3. <view class="ts-body">
  4. <view class="ts-title">
  5. 退款原因
  6. <view class="right" @click="orderTs(2)"><image src="/static/image/close.png"></image></view>
  7. </view>
  8. <view class="ts-content">
  9. <view class="ts-list">
  10. <view class="ts-sub-title">个人原因</view>
  11. <view class="ts-item-body">
  12. <view class="ts-item" @click="toTs('买多了/买错了')">买多了/买错了<image src="/static/image/right-black.png"></image></view>
  13. <view class="ts-item" @click="toTs('计划有变,暂时不需要了')">计划有变,暂时不需要了<image src="/static/image/right-black.png"></image></view>
  14. <view class="ts-item" @click="toTs('没看清使用规则,要用时才发现限制')">没看清使用规则,要用时才发现限制<image src="/static/image/right-black.png"></image></view>
  15. </view>
  16. </view>
  17. <view class="ts-list">
  18. <view class="ts-sub-title">商家原因</view>
  19. <view class="ts-item-body">
  20. <view class="ts-item" @click="toTs('电话/发消息联系不上商家')">电话/发消息联系不上商家<image src="/static/image/right-black.png"></image></view>
  21. <view class="ts-item" @click="toTs('商品缺货/无货')">商品缺货/无货<image src="/static/image/right-black.png"></image></view>
  22. <view class="ts-item" @click="toTs('商家营业但不接待')">商家营业但不接待<image src="/static/image/right-black.png"></image></view>
  23. <view class="ts-item" @click="toTs('商家停业/装修/转让')">商家停业/装修/转让<image src="/static/image/right-black.png"></image></view>
  24. <view class="ts-item" @click="toTs('需加价/购买其他商品才能使用')">需加价/购买其他商品才能使用<image src="/static/image/right-black.png"></image></view>
  25. <view class="ts-item" @click="toTs('商家要求改用其他方式/平台付款')">商家要求改用其他方式/平台付款<image src="/static/image/right-black.png"></image></view>
  26. <view class="ts-item" @click="toTs('预约不到合适的时间')">预约不到合适的时间<image src="/static/image/right-black.png"></image></view>
  27. <view class="ts-item" @click="toTs('商品涉及假冒品牌')">商品涉及假冒品牌<image src="/static/image/right-black.png"></image></view>
  28. </view>
  29. </view>
  30. <view class="ts-list">
  31. <view class="ts-sub-title">其他原因</view>
  32. <view class="ts-item-body">
  33. <view class="ts-item" @click="toTs('排队太久')">排队太久<image src="/static/image/right-black.png"></image></view>
  34. <view class="ts-item" @click="toTs('其他平台/方式购买更优惠')">其他平台/方式购买更优惠<image src="/static/image/right-black.png"></image></view>
  35. <view class="ts-item" @click="toTs('朋友/网上评价不好')">朋友/网上评价不好<image src="/static/image/right-black.png"></image></view>
  36. <view class="ts-item" @click="toTs('可用的门店距离太远')">可用的门店距离太远<image src="/static/image/right-black.png"></image></view>
  37. <view class="ts-item" @click="toTs('担心安全问题(疫情、天气等)')">担心安全问题(疫情、天气等)<image src="/static/image/right-black.png"></image></view>
  38. <view class="ts-item" @click="toTs('其他')">其他<image src="/static/image/right-black.png"></image></view>
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. </uni-popup>
  44. </template>
  45. <script>
  46. export default {
  47. data() {
  48. return {
  49. orderSn:0
  50. }
  51. },
  52. methods: {
  53. orderTs(type){
  54. if (type == 1) {
  55. this.$refs.servicePop.open()
  56. } else {
  57. this.$refs.servicePop.close()
  58. }
  59. },
  60. open(data) {
  61. this.orderSn = data;
  62. this.$nextTick(()=>{
  63. this.$refs.servicePop.open()
  64. })
  65. },
  66. toTs(name){
  67. this.$emit("success",name)
  68. this.$refs.servicePop.close()
  69. }
  70. }
  71. }
  72. </script>
  73. <style>
  74. .ts-body .ts-title{display: flex;align-items: center;justify-content: space-between;font-size: 28upx;padding: 20upx;}
  75. .ts-body .ts-title image{width: 40upx;height: 40upx;}
  76. .ts-body .ts-content{height: 60vh;overflow: auto;padding: 20upx;}
  77. .ts-body .ts-list{margin-bottom: 20upx;}
  78. .ts-body .ts-list .ts-sub-title{line-height: 32upx;color: #666;font-size: 24upx;margin-bottom: 20upx;}
  79. .ts-body .ts-list .ts-item-body{background-color: #fff;border-radius: 10upx;padding: 20upx;}
  80. .ts-body .ts-list .ts-item-body .ts-item{font-size: 28upx;color: #333;display: flex;align-items: center;justify-content: space-between;border-bottom: 2upx solid #f8f8f8;padding: 20upx 0;}
  81. .ts-body .ts-list .ts-item-body .ts-item:last-child{border-bottom: 0;}
  82. .ts-body .ts-list .ts-item-body .ts-item image{width: 40upx;height: 40upx;}
  83. </style>