refundOrderLogs.vue 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. <template>
  2. <view>
  3. <view class="top-cont">
  4. <!-- 背景图片 -->
  5. <view class="bg-color"></view>
  6. <!-- <image class="bg" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/order_top_bg.png" mode=""></image> -->
  7. <view class="top-inner">
  8. <!-- 这里是状态栏 -->
  9. <view class="status_bar" :style="{height: statusBarHeight}"></view>
  10. <view class="back-box" @click="back">
  11. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/back_white.png" mode=""></image>
  12. <text class="title">退款详情</text>
  13. <text></text>
  14. </view>
  15. <!-- 订单状态 -->
  16. <view class="order-status">
  17. <view class="inner">
  18. <view class="img-box">
  19. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/pag96.png" mode=""></image>
  20. </view>
  21. <view class="status-box">
  22. <text class="status">退款总额</text>
  23. </view>
  24. </view>
  25. <!-- 退款状态:退款总额 -->
  26. <view class="refund-money">
  27. <text class="unit">¥</text>
  28. <text class="num">29.4</text>
  29. </view>
  30. </view>
  31. <!-- 订单退款 -->
  32. <view class="order-refund">
  33. <view class="inner">
  34. <view class="title-box">
  35. <text class="title">订单退款</text>
  36. <view class="price-box">
  37. <text class="unit">¥</text>
  38. <text class="num">29.4</text>
  39. </view>
  40. </view>
  41. <view class="text-box">
  42. 系统已提交微信支付处理,微信审核完成后1-3个工作日
  43. 自动原路退款至您的支付账户,若超时未收到退款,请联
  44. 系客服核实
  45. </view>
  46. </view>
  47. </view>
  48. </view>
  49. </view>
  50. <view class="content">
  51. <!-- 退款步骤 -->
  52. <view class="refund-steps">
  53. <view v-for="(item,index) in 3" :key="index" class="steps">
  54. <view class="title">
  55. <text :class="index == 0?'text black-text':'text'">已原路退款至您的微信支付账户</text>
  56. <!-- 左侧灰色圆点 -->
  57. <view :class="index == 1?'dot active':'dot'"></view>
  58. <!-- 对号 -->
  59. <image v-if="index == 0" class="img" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/complete.png" mode=""></image>
  60. </view>
  61. <view class="time">2019-9-16 10:00</view>
  62. <view v-if="index == 0" class="context">
  63. 微信支付将把钱退至原支付账户,若逾期未受到退款,请致电微信支付客服
  64. </view>
  65. </view>
  66. </view>
  67. </view>
  68. </view>
  69. </template>
  70. <script>
  71. export default {
  72. data() {
  73. return {
  74. // 状态栏的高度
  75. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  76. };
  77. },
  78. onLoad(option) {
  79. },
  80. methods: {
  81. // 返回上一页
  82. back() {
  83. uni.navigateBack()
  84. },
  85. }
  86. }
  87. </script>
  88. <style lang="scss">
  89. .bg-color {
  90. width: 100%;
  91. background: linear-gradient(to right, #2583EB 0%, #60CDC3 100%);
  92. height: 450rpx;
  93. }
  94. .top-cont{
  95. width: 100%;
  96. height: 476upx;
  97. position: relative;
  98. .bg{
  99. width: 100%;
  100. height: 100%;
  101. position: absolute;
  102. top: 0;
  103. left: 0;
  104. z-index: 1;
  105. }
  106. .top-inner{
  107. width: 100%;
  108. height: 100%;
  109. position: absolute;
  110. top: 0;
  111. left: 0;
  112. z-index: 2;
  113. .back-box{
  114. height: 88upx;
  115. padding-left: 22upx;
  116. display: flex;
  117. align-items: center;
  118. justify-content: space-between;
  119. padding: 0 20upx;
  120. image{
  121. width: 40upx;
  122. height: 40upx;
  123. }
  124. .title{
  125. font-size: 36upx;
  126. font-family: PingFang SC;
  127. font-weight: 500;
  128. color: #FFFFFF;
  129. }
  130. }
  131. .order-status{
  132. margin-top: 60upx;
  133. display: flex;
  134. align-items: center;
  135. justify-content: space-between;
  136. padding: 0 30upx;
  137. .inner{
  138. display: flex;
  139. align-items: center;
  140. .img-box{
  141. width: 96upx;
  142. height: 96upx;
  143. margin-right: 30upx;
  144. image{
  145. width: 100%;
  146. height: 100%;
  147. }
  148. }
  149. .status-box{
  150. height: 96upx;
  151. display: flex;
  152. flex-direction: column;
  153. justify-content: center;
  154. .status{
  155. font-size: 40upx;
  156. font-family: PingFang SC;
  157. font-weight: bold;
  158. color: #FFFFFF;
  159. line-height: 1;
  160. }
  161. .desc{
  162. font-size: 26upx;
  163. font-family: PingFang SC;
  164. font-weight: 500;
  165. color: #FFFFFF;
  166. line-height: 1;
  167. margin-top: 30upx;
  168. }
  169. }
  170. }
  171. // 退款状态:退款总额
  172. .refund-money{
  173. display: flex;
  174. align-items: flex-end;
  175. .unit{
  176. font-size: 32upx;
  177. font-family: PingFang SC;
  178. font-weight: bold;
  179. color: #FFFFFF;
  180. line-height: 1.2;
  181. margin-right: 10upx;
  182. }
  183. .num{
  184. font-size: 50upx;
  185. font-family: PingFang SC;
  186. font-weight: bold;
  187. color: #FFFFFF;
  188. line-height: 1;
  189. }
  190. }
  191. }
  192. .order-refund{
  193. margin-top: 50upx;
  194. padding: 0 20upx;
  195. .inner{
  196. box-sizing: border-box;
  197. height: 268upx;
  198. background: #FFFFFF;
  199. border-radius: 16upx;
  200. padding: 0 30upx;
  201. .title-box{
  202. height: 88upx;
  203. display: flex;
  204. align-items: center;
  205. justify-content: space-between;
  206. border-bottom: 1px solid #F0F0F0;
  207. .title{
  208. font-size: 30upx;
  209. font-family: PingFang SC;
  210. font-weight: bold;
  211. color: #333333;
  212. }
  213. .price-box{
  214. display: flex;
  215. align-items: flex-end;
  216. .unit{
  217. font-size: 24upx;
  218. font-family: PingFang SC;
  219. font-weight: 500;
  220. color: #FF6633;
  221. line-height: 1.2;
  222. margin-right: 4upx;
  223. }
  224. .num{
  225. font-size: 32upx;
  226. font-family: PingFang SC;
  227. font-weight: bold;
  228. color: #FF6633;
  229. line-height: 1;
  230. }
  231. }
  232. }
  233. .text-box{
  234. font-size: 26upx;
  235. font-family: PingFang SC;
  236. font-weight: 500;
  237. color: #666666;
  238. line-height: 42upx;
  239. margin-top: 22upx;
  240. }
  241. }
  242. }
  243. }
  244. }
  245. .content{
  246. padding: 0 20upx;
  247. .refund-steps{
  248. margin-top: 188upx;
  249. background: #FFFFFF;
  250. border-radius: 16upx;
  251. padding: 40upx 44upx;
  252. .steps{
  253. padding-left: 40upx;
  254. padding-bottom: 56upx;
  255. position: relative;
  256. &::after{
  257. content: "";
  258. width: 4upx;
  259. height: 100%;
  260. background: #F1F1F1;
  261. position: absolute;
  262. left: 0;
  263. top: 20upx;
  264. }
  265. &:last-child{
  266. padding-bottom: 0;
  267. &::after{
  268. display: none;
  269. }
  270. }
  271. .title{
  272. position: relative;
  273. .text{
  274. font-size: 28upx;
  275. font-family: PingFang SC;
  276. font-weight: 500;
  277. color: #666666;
  278. line-height: 38upx;
  279. &.black-text{
  280. color: #111111;
  281. }
  282. }
  283. .dot{
  284. width: 16upx;
  285. height: 16upx;
  286. background: #EBEBEB;
  287. border-radius: 50%;
  288. position: absolute;
  289. left: -46upx;
  290. top: 16upx;
  291. z-index: 10;
  292. &.active{
  293. background-color: #2583EB;
  294. }
  295. }
  296. .img{
  297. width: 40upx;
  298. height: 40upx;
  299. position: absolute;
  300. left: -57upx;
  301. top: 6upx;
  302. z-index: 10;
  303. }
  304. }
  305. .time{
  306. font-size: 24upx;
  307. font-family: Gilroy;
  308. font-weight: 500;
  309. color: #999999;
  310. margin-top: 5upx;
  311. }
  312. .context{
  313. font-size: 26upx;
  314. font-family: PingFang SC;
  315. font-weight: 500;
  316. color: #999999;
  317. line-height: 40upx;
  318. margin-top: 22upx;
  319. }
  320. }
  321. }
  322. }
  323. </style>