order-result.less 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  1. /* pages/orders/order-detail.wxss */
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  7. }
  8. .order-status {
  9. margin: 24rpx 26rpx 0;
  10. background-color: #FFFFFF;
  11. border-radius: 20rpx;
  12. padding: 24rpx 32rpx;
  13. .status {
  14. display: flex;
  15. image {
  16. width: 48rpx;
  17. height: 48rpx;
  18. margin-right: 16rpx;
  19. }
  20. text {
  21. font-weight: 600;
  22. font-size: 36rpx;
  23. color: #131415;
  24. line-height: 48rpx;
  25. }
  26. }
  27. .tips {
  28. padding-top: 24rpx;
  29. font-size: 28rpx;
  30. color: #777777;
  31. line-height: 40rpx;
  32. }
  33. }
  34. .order-content {
  35. margin: 24rpx 26rpx 0;
  36. border-radius: 20rpx;
  37. padding: 28rpx 24rpx;
  38. display: flex;
  39. flex-direction: column;
  40. background-color: #FFFFFF;
  41. }
  42. .item-content {
  43. display: flex;
  44. width: 100%;
  45. .goods-icon {
  46. width: 160rpx;
  47. height: 160rpx;
  48. margin-right: 24rpx;
  49. flex-shrink: 0;
  50. border-radius: 6px;
  51. overflow: hidden;
  52. }
  53. .goods-desc {
  54. flex: 1 auto;
  55. display: flex;
  56. flex-direction: column;
  57. }
  58. .goodsInfo {
  59. display: flex;
  60. justify-content: space-between;
  61. padding-top: 4rpx;
  62. .goods-name {
  63. flex: 1 auto;
  64. white-space: nowrap;
  65. overflow: hidden;
  66. font-weight: 600;
  67. font-size: 28rpx;
  68. text-overflow: ellipsis;
  69. max-width: 310rpx;
  70. }
  71. .goods-price {
  72. flex-shrink: 0;
  73. font-family: DINAlternate, DINAlternate;
  74. font-weight: bold;
  75. font-size: 28rpx;
  76. color: #131415;
  77. line-height: 48rpx;
  78. }
  79. }
  80. .goods-type {
  81. display: flex;
  82. justify-content: space-between;
  83. align-items: center;
  84. padding-top: 12rpx;
  85. .goods-card {
  86. background: #FEEDF0;
  87. border-radius: 6rpx;
  88. font-size: 26rpx;
  89. color: #FE2451;
  90. line-height: 40rpx;
  91. padding: 0 12rpx;
  92. }
  93. .goods-num {
  94. font-size: 28rpx;
  95. color: #777777;
  96. line-height: 36rpx;
  97. }
  98. }
  99. }
  100. .qrcode-section {
  101. margin-top: 28rpx;
  102. border-top: 2rpx solid #F0F0F0;
  103. padding-top: 60rpx;
  104. padding-bottom: 32rpx;
  105. text-align: center;
  106. .qrcode-wrap {
  107. margin: 0 auto;
  108. border: 3rpx solid #EDEDED;
  109. padding: 10rpx;
  110. display: inline-block;
  111. }
  112. .my_draw_canvas {
  113. width: 262rpx;
  114. height: 262rpx;
  115. }
  116. .qrcode-text {
  117. padding-top: 32rpx;
  118. font-size: 28rpx;
  119. color: #131415;
  120. line-height: 40rpx;
  121. &.used {
  122. color: #AAAAAA;
  123. }
  124. }
  125. }
  126. .order-time {
  127. margin: 24rpx 26rpx 0;
  128. border-radius: 20rpx;
  129. padding: 36rpx 24rpx;
  130. background-color: #FFFFFF;
  131. .order-item {
  132. display: flex;
  133. justify-content: space-between;
  134. padding-bottom: 36rpx;
  135. &:last-child {
  136. padding-bottom: 0;
  137. }
  138. .title {
  139. font-size: 28rpx;
  140. color: #131415;
  141. line-height: 40rpx;
  142. }
  143. .value {
  144. font-size: 30rpx;
  145. color: #777777;
  146. line-height: 42rpx;
  147. display: flex;
  148. &.red {
  149. color: #FE2451;
  150. }
  151. .copy {
  152. font-size: 30rpx;
  153. color: #FE2451;
  154. line-height: 42rpx;
  155. display: flex;
  156. align-items: center;
  157. padding-left: 16rpx;
  158. }
  159. }
  160. }
  161. }
  162. .order-btn {
  163. position: fixed;
  164. bottom: 0;
  165. left: 0;
  166. width: 100%;
  167. background-color: #FFFFFF;
  168. padding: 20rpx 32rpx 58rpx 40rpx;
  169. display: flex;
  170. justify-content: space-between;
  171. box-sizing: border-box;
  172. .orders {
  173. display: flex;
  174. flex-direction: column;
  175. margin-right: 40rpx;
  176. image {
  177. width: 48rpx;
  178. height: 48rpx;
  179. }
  180. text {
  181. font-weight: 500;
  182. font-size: 22rpx;
  183. color: #131415;
  184. line-height: 32rpx;
  185. text-align: center;
  186. }
  187. }
  188. .price {
  189. display: flex;
  190. align-items: center;
  191. .desc {
  192. font-weight: 500;
  193. font-size: 28rpx;
  194. color: #131415;
  195. line-height: 40rpx;
  196. }
  197. .currentPrice {
  198. font-weight: bold;
  199. color: #FE2451;
  200. font-family: DINAlternate, DINAlternate;
  201. .stuff {
  202. font-size: 32rpx;
  203. }
  204. .priceZ {
  205. font-size: 56rpx;
  206. }
  207. .priceF {
  208. font-size: 32rpx;
  209. }
  210. }
  211. }
  212. button {
  213. margin: 0;
  214. width: 100%;
  215. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  216. border-radius: 78rpx;
  217. padding: 22rpx 84rpx;
  218. font-weight: 500;
  219. font-size: 32rpx;
  220. color: #FFFFFF;
  221. line-height: 44rpx;
  222. }
  223. }
  224. .useRefound-pop {
  225. position: fixed;
  226. top: 0;
  227. left: 0;
  228. right: 0;
  229. bottom: 0;
  230. .useRefound-mask {
  231. position: absolute;
  232. top: 0;
  233. left: 0;
  234. right: 0;
  235. bottom: 0;
  236. background-color: rgba(0, 0, 0, 0.6);
  237. }
  238. .useRefound-container {
  239. position: absolute;
  240. left: 0;
  241. right: 0;
  242. bottom: 0;
  243. width: 100%;
  244. background: linear-gradient( 180deg, #FFDEE7 0%, #FFFFFF 12%, #FFFFFF 100%);
  245. background-color: #fff;
  246. border-radius: 32rpx 32rpx 0rpx 0rpx;
  247. .icon-close {
  248. position: absolute;
  249. width: 38rpx;
  250. height: 38rpx;
  251. top: 40rpx;
  252. right: 40rpx;
  253. }
  254. .use-title {
  255. font-weight: 600;
  256. font-size: 36rpx;
  257. color: #131415;
  258. line-height: 50rpx;
  259. padding-top: 34rpx;
  260. padding-bottom: 30rpx;
  261. text-align: center;
  262. }
  263. .use-form {
  264. margin: 0 40rpx;
  265. background: #F7F8F9;
  266. border-radius: 16rpx;
  267. padding: 16rpx 16rpx 8rpx;
  268. margin-bottom: 80rpx;
  269. textarea {
  270. height: 140rpx;
  271. font-size: 30rpx;
  272. }
  273. .num {
  274. text-align: right;
  275. font-size: 26rpx;
  276. color: #AAAAAA;
  277. line-height: 42rpx;
  278. }
  279. }
  280. .btnSection {
  281. padding: 0 32rpx 58rpx;
  282. button {
  283. margin: 0;
  284. width: 100%;
  285. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  286. border-radius: 78rpx;
  287. padding: 22rpx 84rpx;
  288. font-weight: 500;
  289. font-size: 32rpx;
  290. color: #FFFFFF;
  291. line-height: 44rpx;
  292. }
  293. }
  294. }
  295. }