order-result.less 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  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. .only_canvas {
  101. position: absolute;
  102. left: -300rpx;
  103. top: 0;
  104. width: 202rpx;
  105. height: 202rpx;
  106. }
  107. .qrcode-section {
  108. margin-top: 28rpx;
  109. border-top: 2rpx solid #F0F0F0;
  110. padding-top: 60rpx;
  111. padding-bottom: 32rpx;
  112. text-align: center;
  113. .qrcode-wrap {
  114. margin: 0 auto;
  115. border: 3rpx solid #EDEDED;
  116. padding: 10rpx;
  117. display: inline-block;
  118. }
  119. .my_draw_canvas {
  120. width: 262rpx;
  121. height: 262rpx;
  122. }
  123. .qrcode-text {
  124. padding-top: 32rpx;
  125. font-size: 28rpx;
  126. color: #131415;
  127. line-height: 40rpx;
  128. &.used {
  129. color: #AAAAAA;
  130. }
  131. }
  132. }
  133. .order-time {
  134. margin: 24rpx 26rpx 0;
  135. border-radius: 20rpx;
  136. padding: 36rpx 24rpx;
  137. background-color: #FFFFFF;
  138. .order-item {
  139. display: flex;
  140. justify-content: space-between;
  141. padding-bottom: 36rpx;
  142. &:last-child {
  143. padding-bottom: 0;
  144. }
  145. .title {
  146. font-size: 28rpx;
  147. color: #131415;
  148. line-height: 40rpx;
  149. }
  150. .value {
  151. font-size: 30rpx;
  152. color: #777777;
  153. line-height: 42rpx;
  154. display: flex;
  155. &.red {
  156. color: #FE2451;
  157. }
  158. .copy {
  159. font-size: 30rpx;
  160. color: #FE2451;
  161. line-height: 42rpx;
  162. display: flex;
  163. align-items: center;
  164. padding-left: 16rpx;
  165. }
  166. }
  167. }
  168. }
  169. .order-btn {
  170. position: fixed;
  171. bottom: 0;
  172. left: 0;
  173. width: 100%;
  174. background-color: #FFFFFF;
  175. padding: 20rpx 32rpx 58rpx 40rpx;
  176. display: flex;
  177. justify-content: space-between;
  178. box-sizing: border-box;
  179. .orders {
  180. display: flex;
  181. flex-direction: column;
  182. margin-right: 40rpx;
  183. image {
  184. width: 48rpx;
  185. height: 48rpx;
  186. }
  187. text {
  188. font-weight: 500;
  189. font-size: 22rpx;
  190. color: #131415;
  191. line-height: 32rpx;
  192. text-align: center;
  193. }
  194. }
  195. .price {
  196. display: flex;
  197. align-items: center;
  198. .desc {
  199. font-weight: 500;
  200. font-size: 28rpx;
  201. color: #131415;
  202. line-height: 40rpx;
  203. }
  204. .currentPrice {
  205. font-weight: bold;
  206. color: #FE2451;
  207. font-family: DINAlternate, DINAlternate;
  208. .stuff {
  209. font-size: 32rpx;
  210. }
  211. .priceZ {
  212. font-size: 56rpx;
  213. }
  214. .priceF {
  215. font-size: 32rpx;
  216. }
  217. }
  218. }
  219. button {
  220. margin: 0;
  221. width: 100%;
  222. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  223. border-radius: 78rpx;
  224. padding: 22rpx 84rpx;
  225. font-weight: 500;
  226. font-size: 32rpx;
  227. color: #FFFFFF;
  228. line-height: 44rpx;
  229. }
  230. }
  231. .useRefound-pop {
  232. position: fixed;
  233. top: 0;
  234. left: 0;
  235. right: 0;
  236. bottom: 0;
  237. .useRefound-mask {
  238. position: absolute;
  239. top: 0;
  240. left: 0;
  241. right: 0;
  242. bottom: 0;
  243. background-color: rgba(0, 0, 0, 0.6);
  244. }
  245. .useRefound-container {
  246. position: absolute;
  247. left: 0;
  248. right: 0;
  249. bottom: 0;
  250. width: 100%;
  251. background: linear-gradient( 180deg, #FFDEE7 0%, #FFFFFF 12%, #FFFFFF 100%);
  252. background-color: #fff;
  253. border-radius: 32rpx 32rpx 0rpx 0rpx;
  254. .icon-close {
  255. position: absolute;
  256. width: 38rpx;
  257. height: 38rpx;
  258. top: 40rpx;
  259. right: 40rpx;
  260. }
  261. .use-title {
  262. font-weight: 600;
  263. font-size: 36rpx;
  264. color: #131415;
  265. line-height: 50rpx;
  266. padding-top: 34rpx;
  267. padding-bottom: 30rpx;
  268. text-align: center;
  269. }
  270. .use-form {
  271. margin: 0 40rpx;
  272. background: #F7F8F9;
  273. border-radius: 16rpx;
  274. padding: 16rpx 16rpx 8rpx;
  275. margin-bottom: 80rpx;
  276. textarea {
  277. height: 140rpx;
  278. font-size: 30rpx;
  279. }
  280. .num {
  281. text-align: right;
  282. font-size: 26rpx;
  283. color: #AAAAAA;
  284. line-height: 42rpx;
  285. }
  286. }
  287. .btnSection {
  288. padding: 0 32rpx 58rpx;
  289. button {
  290. margin: 0;
  291. width: 100%;
  292. background: linear-gradient( 270deg, #FF204B 0%, #FE5B71 100%);
  293. border-radius: 78rpx;
  294. padding: 22rpx 84rpx;
  295. font-weight: 500;
  296. font-size: 32rpx;
  297. color: #FFFFFF;
  298. line-height: 44rpx;
  299. }
  300. }
  301. }
  302. }