order-result.less 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412
  1. /* pages/orders/order-detail.wxss */
  2. .container {
  3. position: relative;
  4. height: 100vh;
  5. display: flex;
  6. flex-direction: column;
  7. background: #F5F6F7;
  8. // background: linear-gradient(to bottom, #FB660A, #F5F6F7) #f4f4f4;
  9. // background-size: 750rpx;
  10. &::before {
  11. content: '';
  12. position: absolute;
  13. top: 0;
  14. width: 100%;
  15. width: 100%;
  16. height: 489rpx;
  17. background: url("https://oss.dayaedu.com/ktyq/1739529857509.png") no-repeat;
  18. background-size: 100% 100%;
  19. }
  20. .topTitle {
  21. font-weight: 400;
  22. font-size: 24rpx;
  23. color: rgba(0, 0, 0, 0.5);
  24. line-height: 34rpx;
  25. text-align: center;
  26. }
  27. .record-list {
  28. padding-top: 24rpx;
  29. flex-grow: 1;
  30. overflow: hidden;
  31. &.waitList {
  32. padding-bottom: 200rpx;
  33. }
  34. }
  35. }
  36. .order-status {
  37. margin: 0 24rpx 32rpx 50rpx;
  38. // background-color: #FFFFFF;
  39. border-radius: 20rpx;
  40. //padding: 24rpx 32rpx;
  41. .status {
  42. display: flex;
  43. align-items: center;
  44. image {
  45. width: 48rpx;
  46. height: 48rpx;
  47. margin-right: 16rpx;
  48. }
  49. text {
  50. font-weight: 600;
  51. font-size: 40rpx;
  52. color: #000000;
  53. line-height: 48rpx;
  54. }
  55. }
  56. .tips {
  57. margin-top: 20rpx;
  58. font-weight: 400;
  59. font-size: 26rpx;
  60. color: rgba(0, 0, 0, 0.5);
  61. line-height: 36rpx;
  62. }
  63. }
  64. .order-content {
  65. margin: 20rpx 26rpx 0;
  66. border-radius: 20rpx;
  67. padding: 24rpx 24rpx 32rpx;
  68. display: flex;
  69. flex-direction: column;
  70. background-color: #FFFFFF;
  71. &:first-child {
  72. margin-top: 0;
  73. }
  74. }
  75. .bottomBlock {
  76. width: 100%;
  77. height: 60rpx;
  78. }
  79. .titTip {
  80. font-weight: 600;
  81. font-size: 28rpx;
  82. color: #131415;
  83. line-height: 40rpx;
  84. margin-bottom: 32rpx;
  85. position: relative;
  86. }
  87. .item-content {
  88. margin-top: 40rpx;
  89. display: flex;
  90. width: 100%;
  91. &.first-item-content {
  92. margin-top: 0;
  93. }
  94. .goods-icon {
  95. width: 120rpx;
  96. height: 120rpx;
  97. margin-right: 24rpx;
  98. flex-shrink: 0;
  99. border-radius: 6px;
  100. overflow: hidden;
  101. }
  102. .goods-desc {
  103. flex: 1 auto;
  104. display: flex;
  105. flex-direction: column;
  106. overflow: hidden;
  107. }
  108. .goodsInfo {
  109. display: flex;
  110. justify-content: space-between;
  111. margin-top: 8rpx;
  112. .goods-name {
  113. flex: 1 auto;
  114. white-space: nowrap;
  115. overflow: hidden;
  116. text-overflow: ellipsis;
  117. margin-right: 20rpx;
  118. font-weight: 600;
  119. font-size: 28rpx;
  120. color: #131415;
  121. line-height: 48rpx;
  122. }
  123. .goods-price {
  124. flex-shrink: 0;
  125. font-family: DINAlternate, DINAlternate;
  126. font-weight: bold;
  127. font-size: 28rpx;
  128. color: #131415;
  129. line-height: 48rpx;
  130. display: flex;
  131. .stuff {
  132. margin-right: 6rpx;
  133. font-size: 28rpx;
  134. }
  135. .priceZ {
  136. font-size: 32rpx;
  137. }
  138. }
  139. }
  140. .goods-type {
  141. display: flex;
  142. justify-content: space-between;
  143. align-items: center;
  144. padding-top: 12rpx;
  145. .goods-card {
  146. font-weight: 400;
  147. font-size: 24rpx;
  148. color: #777777;
  149. line-height: 36rpx;
  150. }
  151. .goods-num {
  152. font-weight: 400;
  153. font-size: 24rpx;
  154. color: #AAAAAA;
  155. line-height: 36rpx;
  156. }
  157. }
  158. }
  159. .priceDetails {
  160. display: flex;
  161. justify-content: space-between;
  162. align-items: center;
  163. margin-top: 28rpx;
  164. &.sumTip {
  165. padding-top: 24rpx;
  166. border-top: 2rpx solid #F2F2F2;
  167. .titPic {
  168. font-weight: 400;
  169. font-size: 24rpx;
  170. color: #777777;
  171. }
  172. }
  173. .priceLeft {
  174. >text {
  175. &:nth-child(1) {
  176. font-weight: 400;
  177. font-size: 26rpx;
  178. color: #777777;
  179. line-height: 36rpx;
  180. }
  181. &:nth-child(2) {
  182. margin-left: 16rpx;
  183. font-weight: 400;
  184. font-size: 24rpx;
  185. color: #AAAAAA;
  186. line-height: 34rpx;
  187. }
  188. }
  189. }
  190. .priceRight {
  191. display: flex;
  192. justify-content: flex-end;
  193. align-items: flex-end;
  194. font-weight: bold;
  195. font-size: 28rpx;
  196. color: #000000;
  197. line-height: 44rpx;
  198. &.discountTip {
  199. color: #FD4502;
  200. }
  201. .stuff {
  202. margin-right: 4rpx;
  203. }
  204. .numberDisplay--integer {
  205. line-height: 1;
  206. font-size: 32rpx;
  207. }
  208. .numberDisplay--decimal {
  209. font-size: 24rpx;
  210. }
  211. }
  212. }
  213. .memberInfo {
  214. display: flex;
  215. justify-content: space-between;
  216. margin-bottom: 32rpx;
  217. &:last-child {
  218. margin-bottom: 0;
  219. }
  220. .orderInfoRight {
  221. display: flex;
  222. align-items: center;
  223. font-weight: 400;
  224. font-size: 28rpx;
  225. color: #000000;
  226. line-height: 40rpx;
  227. .copy {
  228. border-left: 2rpx solid #D2D2D2;
  229. margin-left: 12rpx;
  230. padding-left: 12rpx;
  231. font-weight: 400;
  232. font-size: 28rpx;
  233. line-height: 40rpx;
  234. }
  235. }
  236. >text {
  237. &:nth-child(1) {
  238. flex-shrink: 0;
  239. font-weight: 400;
  240. font-size: 28rpx;
  241. color: #666666;
  242. line-height: 40rpx;
  243. }
  244. &:nth-child(2) {
  245. margin-left: 30rpx;
  246. word-break: break-all;
  247. text-align: right;
  248. font-weight: 400;
  249. font-size: 28rpx;
  250. color: #000000;
  251. line-height: 40rpx;
  252. }
  253. }
  254. }
  255. .order-time {
  256. margin: 24rpx 26rpx 0;
  257. border-radius: 20rpx;
  258. padding: 36rpx 24rpx;
  259. background-color: #FFFFFF;
  260. .order-item {
  261. display: flex;
  262. justify-content: space-between;
  263. padding-bottom: 36rpx;
  264. &:last-child {
  265. padding-bottom: 0;
  266. }
  267. .title {
  268. font-size: 28rpx;
  269. color: #131415;
  270. line-height: 40rpx;
  271. }
  272. .value {
  273. font-size: 28rpx;
  274. color: #777777;
  275. line-height: 40rpx;
  276. }
  277. }
  278. }
  279. .order-btn {
  280. position: fixed;
  281. bottom: 0;
  282. left: 0;
  283. width: 100%;
  284. background-color: #FFFFFF;
  285. border-radius: 32rpx 32rpx 0rpx 0rpx;
  286. padding: 32rpx 40rpx 56rpx 48rpx;
  287. display: flex;
  288. justify-content: flex-end;
  289. align-items: center;
  290. box-sizing: border-box;
  291. .orders {
  292. display: flex;
  293. flex-direction: column;
  294. margin-right: 40rpx;
  295. image {
  296. width: 48rpx;
  297. height: 48rpx;
  298. }
  299. text {
  300. font-weight: 500;
  301. font-size: 22rpx;
  302. color: #131415;
  303. line-height: 32rpx;
  304. text-align: center;
  305. }
  306. }
  307. .more {
  308. display: flex;
  309. }
  310. .priceCon {
  311. margin-right: 32rpx;
  312. }
  313. .price {
  314. display: flex;
  315. align-items: flex-end;
  316. font-weight: bold;
  317. font-size: 32rpx;
  318. color: #FE462E;
  319. line-height: 56rpx;
  320. .goodsNum {
  321. margin-right: 10rpx;
  322. font-weight: 600;
  323. font-size: 24rpx;
  324. color: #777777;
  325. }
  326. .desc {
  327. font-weight: 600;
  328. font-size: 24rpx;
  329. color: #777777;
  330. }
  331. .stuff {
  332. margin-right: 6rpx;
  333. }
  334. .numberDisplay--integer {
  335. line-height: 1;
  336. font-size: 52rpx;
  337. }
  338. .numberDisplay--decimal {
  339. font-size: 32rpx;
  340. }
  341. }
  342. button {
  343. margin: 0;
  344. width: 220rpx;
  345. height: 84rpx;
  346. background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat;
  347. background-size: 100% 100%;
  348. border-radius: 78rpx;
  349. font-weight: 600;
  350. font-size: 32rpx;
  351. color: #FFFFFF;
  352. line-height: 84rpx;
  353. }
  354. }