orderAfterSale.vue 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  1. <template>
  2. <view class="">
  3. <view class="applyAfterSale-top">
  4. <view class="l">
  5. <view class="" style="font-size: 36rpx;font-weight: 600;color: #333333;">
  6. 夕阳红康养团7日游
  7. </view>
  8. <view class="" style="font-size: 22rpx;margin: 24rpx 0;">
  9. 出行日期:2022-04-25
  10. </view>
  11. <view class="" style="font-size: 22rpx;">
  12. 数量 1
  13. </view>
  14. </view>
  15. <view class="r">
  16. <image src="https://t38.9026.com/uploads/golf/images/2022-05-31/20220531601652.png" mode="widthFix"></image>
  17. <view class="" style="margin-top: 20rpx;">
  18. <text style="font-size: 22rpx;">订单金额</text><text style="font-size: 32rpx;font-weight: 600;">¥12121</text>
  19. </view>
  20. </view>
  21. </view>
  22. <!-- 待退款 -->
  23. <view :class="state==0?'afterSale-center':'afterSale-center-success'">
  24. <view class="" style="font-size: 26rpx;">
  25. 申请时间:2022-05-25
  26. </view>
  27. <view class="form-item">
  28. <view class="">
  29. 退款原因
  30. </view>
  31. <view class="r">
  32. 个人
  33. </view>
  34. </view>
  35. <view class="form-item">
  36. <view class="">
  37. 退款金额
  38. </view>
  39. <view class="r">
  40. ¥1690
  41. </view>
  42. </view>
  43. <view class="form-item">
  44. <view class="">
  45. 联系方式
  46. </view>
  47. <view class="r">
  48. 15286920927
  49. </view>
  50. </view>
  51. <view class="" style="margin: 32rpx 0;">
  52. 备注信息
  53. </view>
  54. <view class="" style="color: #101010;">
  55. 退款
  56. </view>
  57. <view class="image" style="margin: 40rpx 0;">
  58. <view class="">
  59. 图片凭证
  60. </view>
  61. <image src="https:\/\/t38.9026.com\/uploads\/golf\/images\/2022-05-31\/20220531739250.png" mode=""></image>
  62. </view>
  63. </view>
  64. <!-- 成功退款 -->
  65. <view class="afterSale-center" v-if="state==1">
  66. <view class="" style="font-size: 26rpx;">
  67. 申请时间:2022-05-25
  68. </view>
  69. <view class="form-item">
  70. <view class="">
  71. 处理结果
  72. </view>
  73. <view class="r">
  74. 通过
  75. </view>
  76. </view>
  77. <view class="form-item">
  78. <view class="">
  79. 结果反馈
  80. </view>
  81. <view class="r">
  82. 款项已原路返回
  83. </view>
  84. </view>
  85. <view class="image" style="margin: 40rpx 0;">
  86. <view class="">
  87. 反馈截图
  88. </view>
  89. <image src="https:\/\/t38.9026.com\/uploads\/golf\/images\/2022-05-31\/20220531739250.png" mode=""></image>
  90. </view>
  91. </view>
  92. <view class="call" v-if="state==1">
  93. 联系客服
  94. </view>
  95. <view class="navbar" v-if="state==0">
  96. 待平台处理
  97. </view>
  98. </view>
  99. </template>
  100. <script>
  101. export default{
  102. data(){
  103. return{
  104. // 退款进度 0待退框 1已退框
  105. state:0
  106. }
  107. },
  108. onLoad(options) {
  109. if(options.id==0){
  110. this.state=0
  111. }else if(options.id==1){
  112. this.state=1
  113. }
  114. }
  115. }
  116. </script>
  117. <style lang="less">
  118. page{
  119. background-color: #F4F4F4;
  120. color: #666666 ;
  121. font-size: 30rpx;
  122. }
  123. .applyAfterSale-top{
  124. margin: 24rpx 0 0;
  125. padding:40rpx 30rpx;
  126. background: #FFFFFF;
  127. box-shadow: 0px 2rpx 4px 0px rgba(0, 0, 0, 0.02);
  128. border-radius: 16rpx 56rpx 8rpx 8rpx;
  129. display: flex;
  130. justify-content: space-between;
  131. align-items: center;
  132. .r{
  133. text-align: right;
  134. }
  135. image{
  136. width: 140rpx;
  137. border-radius: 6rpx;
  138. }
  139. }
  140. .afterSale-center{
  141. border-radius: 8rpx 8rpx 16rpx 56rpx;
  142. background-color: #FFFFFF;
  143. padding:30rpx;
  144. margin: 24rpx 0;
  145. .form-item{
  146. display:flex;
  147. justify-content: space-between;
  148. align-items: center;
  149. // margin: 20rpx 0;
  150. border-bottom:1rpx solid #E3E3E3;
  151. padding: 40rpx 0;
  152. .r{
  153. width: 50%;
  154. text-align: left;
  155. color: #101010;
  156. }
  157. }
  158. .image{
  159. image{
  160. width: 217rpx;
  161. height: 217rpx;
  162. border-radius: 8rpx 24rpx 8rpx 24rpx;
  163. margin-top: 20rpx;
  164. }
  165. }
  166. }
  167. .afterSale-center-success{
  168. border-radius: 8rpx;
  169. background-color: #FFFFFF;
  170. padding:30rpx;
  171. margin: 24rpx 0;
  172. .form-item{
  173. display:flex;
  174. justify-content: space-between;
  175. align-items: center;
  176. // margin: 20rpx 0;
  177. border-bottom:1rpx solid #E3E3E3;
  178. padding: 40rpx 0;
  179. .r{
  180. width: 50%;
  181. text-align: left;
  182. color: #101010;
  183. }
  184. }
  185. .image{
  186. image{
  187. width: 217rpx;
  188. height: 217rpx;
  189. border-radius: 8rpx 24rpx 8rpx 24rpx;
  190. margin-top: 20rpx;
  191. }
  192. }
  193. }
  194. .navbar{
  195. // margin-top: 104rpx;
  196. width: 100%;
  197. height: 104rpx;
  198. line-height: 104rpx;
  199. background: #FFFFFF;
  200. border-radius: 16rpx 16rpx 0px 0px;
  201. position: fixed;
  202. left: 0;
  203. bottom: 0;
  204. text-align: center;
  205. // margin: 0 auto;
  206. }
  207. .call{
  208. width: 100%;
  209. height: 104rpx;
  210. line-height: 104rpx;
  211. background: #FFFFFF;
  212. border-radius: 16rpx 16rpx 0px 0px;
  213. text-align: center;
  214. margin: 40rpx 0;
  215. }
  216. </style>