refund.vue 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. <template>
  2. <view class="page">
  3. <view class="p-pro flex-col">
  4. <text class="title">退款盲盒</text>
  5. <view class="flex-row group_7">
  6. <image src="/static/temp/pro.png" class="img" mode="aspectFill" />
  7. <view class="flex-col group_8">
  8. <view class="flex-row justify-between group_9">
  9. <text class="name clamp">幸福西饼Rice盲盒</text>
  10. <text class="price">¥80.40</text>
  11. </view>
  12. <view class="flex-col group_10">
  13. <view class="group_11">
  14. <text class="text_5">配送方式:</text>
  15. <text class="text_6">自提</text>
  16. </view>
  17. <text class="text_7">共1件</text>
  18. </view>
  19. <view class="group_12">
  20. <text class="text_8">自提地址:</text>
  21. <text class="text_9">河东区万达广场1F东门入口</text>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="p-info flex-col">
  27. <text class="text_10">退款信息</text>
  28. <view class="flex-row justify-between group_13">
  29. <text class="text_11">货物状态</text>
  30. <view class="flex-row">
  31. <text class="text_13">请选择</text>
  32. <image
  33. src="/static/refund-rarrow.png"
  34. class="image_6"
  35. />
  36. </view>
  37. </view>
  38. <view class="flex-row justify-between group_13">
  39. <text class="text_11">退款原因</text>
  40. <view class="flex-row">
  41. <text class="text_13">请选择</text>
  42. <image
  43. src="/static/refund-rarrow.png"
  44. class="image_6"
  45. />
  46. </view>
  47. </view>
  48. <view class="flex-col group_16">
  49. <view class="flex-row justify-between">
  50. <text class="text_17">退款金额</text>
  51. <text class="text_18">¥149.00</text>
  52. </view>
  53. <text class="text_19">可修改,请与商家协商一致后填写</text>
  54. </view>
  55. </view>
  56. <view class="p-desc flex-col items-start ">
  57. <text class="title">描述信息</text>
  58. <textarea placeholder="补充描述信息,方便更好的处理售后问题" class="area"></textarea>
  59. <view class="img-wrap flex-row">
  60. <view class="img-item" v-for="(item,idx) in 10" :key="idx">
  61. <image src="/static/temp/pro.png" mode="aspectFill" class="img" ></image>
  62. <view class="cancel">
  63. 取消
  64. </view>
  65. </view>
  66. <image
  67. src="/static/refund-add.png"
  68. class="img"
  69. />
  70. </view>
  71. </view>
  72. <safe-area height="94rpx">
  73. <template v-slot:btn>
  74. <view class="btn-wrap">
  75. 提交
  76. </view>
  77. </template>
  78. </safe-area>
  79. </view>
  80. </template>
  81. <script>
  82. export default {
  83. data() {
  84. return {};
  85. }
  86. };
  87. </script>
  88. <style lang="scss">
  89. page {
  90. background-color: #f8f8f8;
  91. }
  92. .page {
  93. padding: 30rpx;
  94. }
  95. .p-pro {
  96. padding: 22rpx 18rpx 25rpx 20rpx;
  97. background-color: #ffffff;
  98. box-shadow: 0px 6rpx 10rpx #2a2a2a14;
  99. border-radius: 20rpx;
  100. .title {
  101. align-self: flex-start;
  102. color: #333333;
  103. font-size: 32rpx;
  104. font-family: PingFang;
  105. }
  106. .group_7 {
  107. margin-top: 22rpx;
  108. padding-left: 3rpx;
  109. }
  110. .img {
  111. flex-shrink: 0;
  112. width: 154rpx;
  113. height: 154rpx;
  114. border-radius: 10rpx;
  115. }
  116. .group_8 {
  117. margin-left: 23rpx;
  118. flex: 1 1 auto;
  119. }
  120. .group_9 {
  121. padding-left: 2rpx;
  122. }
  123. .name {
  124. color: #333333;
  125. font-size: 30rpx;
  126. font-family: PingFang;
  127. max-width: 359rpx;
  128. }
  129. .price {
  130. margin-bottom: 6rpx;
  131. color: #ff3e3e;
  132. font-size: 30rpx;
  133. font-family: PingFang;
  134. }
  135. .group_10 {
  136. margin-top: 7rpx;
  137. height: 35rpx;
  138. }
  139. .group_11 {
  140. margin-top: 12rpx;
  141. align-self: flex-start;
  142. line-height: 23rpx;
  143. }
  144. .text_5 {
  145. color: #999999;
  146. font-size: 24rpx;
  147. font-family: PingFang;
  148. line-height: 23rpx;
  149. }
  150. .text_6 {
  151. color: #333333;
  152. font-size: 24rpx;
  153. font-family: PingFang;
  154. line-height: 23rpx;
  155. }
  156. .text_7 {
  157. margin-right: 25rpx;
  158. margin-top: -35rpx;
  159. align-self: flex-end;
  160. color: #999999;
  161. font-size: 24rpx;
  162. font-family: PingFang;
  163. line-height: 23rpx;
  164. }
  165. .group_12 {
  166. margin-top: 19rpx;
  167. align-self: flex-start;
  168. line-height: 23rpx;
  169. }
  170. .text_8 {
  171. color: #999999;
  172. font-size: 24rpx;
  173. font-family: PingFang;
  174. line-height: 23rpx;
  175. }
  176. .text_9 {
  177. color: #333333;
  178. font-size: 24rpx;
  179. font-family: PingFang;
  180. line-height: 23rpx;
  181. }
  182. }
  183. .p-info{
  184. margin-top: 24rpx;
  185. padding: 30rpx 18rpx 40rpx 20rpx;
  186. background-color: #ffffff;
  187. box-shadow: 0px 6rpx 10rpx #2a2a2a14;
  188. border-radius: 20rpx;
  189. .text_10 {
  190. align-self: flex-start;
  191. color: #333333;
  192. font-size: 32rpx;
  193. font-family: PingFang;
  194. line-height: 31rpx;
  195. }
  196. .group_13 {
  197. margin-top: 49rpx;
  198. padding: 0 5rpx;
  199. }
  200. .text_11 {
  201. color: #333333;
  202. font-size: 30rpx;
  203. font-family: PingFang;
  204. letter-spacing: 1.2rpx;
  205. }
  206. .text_13 {
  207. color: #999999;
  208. font-size: 30rpx;
  209. font-family: PingFang;
  210. letter-spacing: 1.2rpx;
  211. }
  212. .image_6 {
  213. margin: 4rpx 0 4rpx 14rpx;
  214. flex-shrink: 0;
  215. width: 12rpx;
  216. height: 20rpx;
  217. }
  218. .group_16 {
  219. margin-top: 49rpx;
  220. padding-left: 5rpx;
  221. }
  222. .text_17 {
  223. color: #333333;
  224. font-size: 30rpx;
  225. font-family: PingFang;
  226. letter-spacing: 1.2rpx;
  227. }
  228. .text_18 {
  229. margin: 3rpx 0;
  230. color: #fc4d37;
  231. font-size: 30rpx;
  232. font-family: PingFang;
  233. letter-spacing: 1.2rpx;
  234. }
  235. .text_19 {
  236. margin-left: 30rpx;
  237. margin-top: 19rpx;
  238. align-self: flex-start;
  239. color: #999999;
  240. font-size: 24rpx;
  241. font-family: PingFang;
  242. }
  243. }
  244. .p-desc{
  245. margin-top: 24rpx;
  246. padding: 30rpx 19rpx;
  247. background-color: #ffffff;
  248. box-shadow: 0px 6rpx 10rpx #2a2a2a14;
  249. border-radius: 20rpx;
  250. .title {
  251. color: #333333;
  252. font-size: 32rpx;
  253. font-family: PingFang;
  254. }
  255. .area{
  256. height: 160rpx;
  257. color:#333;
  258. font-size: 24rpx;
  259. line-height: 36rpx;
  260. padding: 30rpx;
  261. }
  262. .img-wrap{
  263. flex-wrap: wrap;
  264. .img-item{
  265. position: relative;
  266. margin-right: 10rpx;
  267. margin-bottom: 10rpx;
  268. border-radius: 20rpx;
  269. overflow: hidden;
  270. }
  271. .cancel{
  272. position: absolute;
  273. bottom: 0;
  274. left: 0;
  275. background: rgba(0,0,0,.4);
  276. height: 40rpx;
  277. line-height: 40rpx;
  278. text-align: center;
  279. width: 100%;
  280. color:#fff;
  281. font-size: 24rpx;
  282. }
  283. .img {
  284. width: 118rpx;
  285. height: 118rpx;
  286. &:nth-child(5n){
  287. margin-right: 0;
  288. }
  289. }
  290. }
  291. }
  292. .btn-wrap{
  293. width: 690rpx;
  294. height: 94rpx;
  295. background: $base-color;
  296. border-radius: 47rpx;
  297. margin: 0 auto;
  298. font-size: 34rpx;
  299. font-family: PingFang SC;
  300. font-weight: bold;
  301. color: #FFFFFF;
  302. line-height: 94rpx;
  303. text-align: center;
  304. }
  305. </style>