complaint.vue 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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 class="ts-item" @click="toTs('催促退款')">催促退款<image src="/static/image/right-black.png"></image></view>
  16. <view class="ts-item" @click="toTs('支付后找不到订单')">支付后找不到订单<image src="/static/image/right-black.png"></image></view>
  17. <view class="ts-item" @click="toTs('无故被扣费/核销')">无故被扣费/核销<image src="/static/image/right-black.png"></image></view>
  18. <view class="ts-item" @click="toTs('其他')">其他<image src="/static/image/right-black.png"></image></view>
  19. </view>
  20. </view>
  21. <view class="ts-list">
  22. <view class="ts-sub-title">商品与履约问题</view>
  23. <view class="ts-item-body">
  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 class="ts-item" @click="toTs('申请退款仍然发货')">申请退款仍然发货<image src="/static/image/right-black.png"></image></view>
  29. </view>
  30. </view>
  31. <view class="ts-list">
  32. <view class="ts-sub-title">客服问题</view>
  33. <view class="ts-item-body">
  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>
  37. </view>
  38. </view>
  39. </view>
  40. </uni-popup>
  41. </template>
  42. <script>
  43. export default {
  44. data() {
  45. return {
  46. orderSn:0
  47. }
  48. },
  49. methods: {
  50. orderTs(type){
  51. if (type == 1) {
  52. this.$refs.servicePop.open()
  53. } else {
  54. this.$refs.servicePop.close()
  55. }
  56. },
  57. open(data) {
  58. this.orderSn = data;
  59. this.$nextTick(()=>{
  60. this.$refs.servicePop.open()
  61. })
  62. },
  63. toTs(name){
  64. uni.navigateTo({
  65. url:"/pages/complaint/form?name="+name+"&order="+this.orderSn
  66. })
  67. }
  68. }
  69. }
  70. </script>
  71. <style>
  72. .ts-body .ts-title{display: flex;align-items: center;justify-content: space-between;font-size: 28upx;padding: 20upx;}
  73. .ts-body .ts-title image{width: 40upx;height: 40upx;}
  74. .ts-body .ts-content{height: 60vh;overflow: auto;padding: 20upx;}
  75. .ts-body .ts-list{margin-bottom: 20upx;}
  76. .ts-body .ts-list .ts-sub-title{line-height: 32upx;color: #666;font-size: 24upx;margin-bottom: 20upx;}
  77. .ts-body .ts-list .ts-item-body{background-color: #fff;border-radius: 10upx;padding: 20upx;}
  78. .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;}
  79. .ts-body .ts-list .ts-item-body .ts-item:last-child{border-bottom: 0;}
  80. .ts-body .ts-list .ts-item-body .ts-item image{width: 40upx;height: 40upx;}
  81. </style>