order-result.less 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  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: 592rpx;
  17. background: url("https://oss.dayaedu.com/ktyq/1738997023805.png") no-repeat;
  18. background-size: 100% 100%;
  19. }
  20. .record-list {
  21. padding-top: 24rpx;
  22. flex-grow: 1;
  23. overflow: hidden;
  24. &.waitList{
  25. padding-bottom: 200rpx;
  26. }
  27. }
  28. }
  29. .order-status {
  30. margin: 0 24rpx 32rpx 50rpx;
  31. // background-color: #FFFFFF;
  32. border-radius: 20rpx;
  33. //padding: 24rpx 32rpx;
  34. .status {
  35. display: flex;
  36. align-items: center;
  37. image {
  38. width: 48rpx;
  39. height: 48rpx;
  40. margin-right: 16rpx;
  41. }
  42. text {
  43. font-weight: 600;
  44. font-size: 40rpx;
  45. color: #000000;
  46. line-height: 48rpx;
  47. }
  48. }
  49. .tips {
  50. margin-top: 20rpx;
  51. font-weight: 400;
  52. font-size: 26rpx;
  53. color: rgba(0,0,0,0.5);
  54. line-height: 36rpx;
  55. }
  56. }
  57. .memberBox {
  58. margin: 0 20rpx;
  59. background: #ffffff;
  60. border-radius: 20rpx;
  61. border: 3rpx solid transparent;
  62. &.showMemberInfoTip {
  63. border-color: #FD4502;
  64. }
  65. .memberCon {
  66. padding: 24rpx;
  67. display: flex;
  68. justify-content: space-between;
  69. align-items: center;
  70. .memberImg {
  71. width: 44rpx;
  72. height: 44rpx;
  73. }
  74. .info {
  75. flex-grow: 1;
  76. margin-left: 16rpx;
  77. font-weight: 600;
  78. font-size: 28rpx;
  79. color: #131415;
  80. line-height: 40rpx;
  81. }
  82. .chevronImg {
  83. flex-shrink: 0;
  84. width: 32rpx;
  85. height: 32rpx;
  86. }
  87. .memberInfoCon {
  88. overflow: hidden;
  89. }
  90. .infoCon {
  91. display: flex;
  92. align-items: center;
  93. font-weight: 600;
  94. font-size: 28rpx;
  95. color: #131415;
  96. line-height: 40rpx;
  97. .tip {
  98. width: 44rpx;
  99. height: 44rpx;
  100. }
  101. .name,
  102. .phone {
  103. margin-left: 16rpx;
  104. }
  105. }
  106. .schoolInfoCon {
  107. margin-top: 20rpx;
  108. display: flex;
  109. align-items: center;
  110. .schoolInfo {
  111. margin-right: 8rpx;
  112. border-radius: 4rpx;
  113. border: 1rpx solid rgba(243, 131, 9, 0.5);
  114. padding: 2rpx 6rpx;
  115. font-weight: 400;
  116. font-size: 20rpx;
  117. color: #F38309;
  118. line-height: 30rpx;
  119. flex-shrink: 0;
  120. }
  121. .schoolInfoDes {
  122. margin-right: 10rpx;
  123. font-weight: 400;
  124. font-size: 24rpx;
  125. color: #777777;
  126. line-height: 32rpx;
  127. white-space: nowrap;
  128. overflow: hidden;
  129. text-overflow: ellipsis;
  130. }
  131. }
  132. }
  133. }
  134. .order-content {
  135. margin: 20rpx 26rpx 0;
  136. border-radius: 20rpx;
  137. padding: 24rpx 24rpx 32rpx;
  138. display: flex;
  139. flex-direction: column;
  140. background-color: #FFFFFF;
  141. &:first-child {
  142. margin-top: 0;
  143. }
  144. }
  145. .titTip {
  146. font-weight: 600;
  147. font-size: 28rpx;
  148. color: #131415;
  149. line-height: 40rpx;
  150. margin-bottom: 32rpx;
  151. position: relative;
  152. &::after {
  153. content: "";
  154. display: inline-block;
  155. position: absolute;
  156. left: -24rpx;
  157. top: 50%;
  158. transform: translateY(-50%);
  159. z-index: 1;
  160. width: 6rpx;
  161. height: 24rpx;
  162. background: #24CD72;
  163. border-radius: 0rpx 4rpx 4rpx 0rpx;
  164. }
  165. }
  166. .item-content {
  167. margin-top: 40rpx;
  168. display: flex;
  169. width: 100%;
  170. &.first-item-content {
  171. margin-top: 0;
  172. }
  173. .goods-icon {
  174. width: 120rpx;
  175. height: 120rpx;
  176. margin-right: 24rpx;
  177. flex-shrink: 0;
  178. border-radius: 6px;
  179. overflow: hidden;
  180. }
  181. .goods-desc {
  182. flex: 1 auto;
  183. display: flex;
  184. flex-direction: column;
  185. overflow: hidden;
  186. }
  187. .goodsInfo {
  188. display: flex;
  189. justify-content: space-between;
  190. margin-top: 8rpx;
  191. .goods-name {
  192. flex: 1 auto;
  193. white-space: nowrap;
  194. overflow: hidden;
  195. text-overflow: ellipsis;
  196. margin-right: 20rpx;
  197. font-weight: 600;
  198. font-size: 28rpx;
  199. color: #131415;
  200. line-height: 48rpx;
  201. }
  202. .goods-price {
  203. flex-shrink: 0;
  204. font-family: DINAlternate, DINAlternate;
  205. font-weight: bold;
  206. font-size: 28rpx;
  207. color: #131415;
  208. line-height: 48rpx;
  209. .stuff {
  210. font-size: 28rpx;
  211. }
  212. .priceZ {
  213. font-size: 32rpx;
  214. }
  215. }
  216. }
  217. .goods-type {
  218. display: flex;
  219. justify-content: space-between;
  220. align-items: center;
  221. padding-top: 12rpx;
  222. .goods-card {
  223. font-weight: 400;
  224. font-size: 26rpx;
  225. color: #777777;
  226. line-height: 36rpx;
  227. }
  228. .goods-num {
  229. font-weight: 400;
  230. font-size: 26rpx;
  231. color: #777777;
  232. line-height: 36rpx;
  233. }
  234. }
  235. }
  236. .discountCon {
  237. margin-top: 42rpx;
  238. display: flex;
  239. justify-content: space-between;
  240. align-items: center;
  241. .discountTip {
  242. display: flex;
  243. align-items: center;
  244. image {
  245. width: 32rpx;
  246. height: 32rpx;
  247. }
  248. text {
  249. margin-left: 8rpx;
  250. font-weight: 400;
  251. font-size: 28rpx;
  252. color: #333333;
  253. line-height: 40rpx;
  254. }
  255. }
  256. .discount {
  257. font-weight: bold;
  258. font-size: 32rpx;
  259. color: #FD4502;
  260. line-height: 48rpx;
  261. text {
  262. &:first-child {
  263. font-size: 28rpx;
  264. }
  265. }
  266. }
  267. }
  268. .totalPic {
  269. border-top: 2rpx solid #EEEEEE;
  270. margin-top: 32rpx;
  271. padding-top: 20rpx;
  272. display: flex;
  273. justify-content: flex-end;
  274. align-items: flex-end;
  275. font-weight: bold;
  276. font-size: 32rpx;
  277. color: #000000;
  278. .titPic {
  279. font-weight: 600;
  280. font-size: 24rpx;
  281. color: #777777;
  282. line-height: 34rpx;
  283. }
  284. .stuff {
  285. margin-left: 16rpx;
  286. margin-right: 4rpx;
  287. }
  288. .numberDisplay--integer {
  289. line-height: 56rpx;
  290. font-size: 48rpx;
  291. }
  292. .numberDisplay--decimal {
  293. font-size: 32rpx;
  294. }
  295. }
  296. .memberInfo {
  297. display: flex;
  298. justify-content: space-between;
  299. margin-bottom: 32rpx;
  300. .orderInfoRight{
  301. display: flex;
  302. align-items: center;
  303. font-weight: 400;
  304. font-size: 28rpx;
  305. color: #000000;
  306. line-height: 40rpx;
  307. .copy{
  308. margin-left: 20rpx;
  309. font-weight: 400;
  310. font-size: 28rpx;
  311. color: #0AAF20;
  312. line-height: 40rpx;
  313. }
  314. }
  315. >text {
  316. &:nth-child(1) {
  317. flex-shrink: 0;
  318. font-weight: 400;
  319. font-size: 28rpx;
  320. color: #666666;
  321. line-height: 40rpx;
  322. }
  323. &:nth-child(2) {
  324. margin-left: 30rpx;
  325. word-break: break-all;
  326. text-align: right;
  327. font-weight: 400;
  328. font-size: 28rpx;
  329. color: #000000;
  330. line-height: 40rpx;
  331. }
  332. }
  333. }
  334. .order-time {
  335. margin: 24rpx 26rpx 0;
  336. border-radius: 20rpx;
  337. padding: 36rpx 24rpx;
  338. background-color: #FFFFFF;
  339. .order-item {
  340. display: flex;
  341. justify-content: space-between;
  342. padding-bottom: 36rpx;
  343. &:last-child {
  344. padding-bottom: 0;
  345. }
  346. .title {
  347. font-size: 28rpx;
  348. color: #131415;
  349. line-height: 40rpx;
  350. }
  351. .value {
  352. font-size: 28rpx;
  353. color: #777777;
  354. line-height: 40rpx;
  355. }
  356. }
  357. }
  358. .order-btn {
  359. position: fixed;
  360. bottom: 0;
  361. left: 0;
  362. width: 100%;
  363. background-color: #FFFFFF;
  364. border-radius: 32rpx 32rpx 0rpx 0rpx;
  365. padding: 32rpx 40rpx 56rpx 48rpx;
  366. display: flex;
  367. justify-content: space-between;
  368. align-items: center;
  369. box-sizing: border-box;
  370. .orders {
  371. display: flex;
  372. flex-direction: column;
  373. margin-right: 40rpx;
  374. image {
  375. width: 48rpx;
  376. height: 48rpx;
  377. }
  378. text {
  379. font-weight: 500;
  380. font-size: 22rpx;
  381. color: #131415;
  382. line-height: 32rpx;
  383. text-align: center;
  384. }
  385. }
  386. .more {
  387. display: flex;
  388. }
  389. .price {
  390. display: flex;
  391. align-items: flex-end;
  392. font-weight: bold;
  393. font-size: 32rpx;
  394. color: #000000;
  395. line-height: 38rpx;
  396. .desc {
  397. font-weight: 600;
  398. font-size: 24rpx;
  399. color: #777777;
  400. line-height: 34rpx;
  401. }
  402. .stuff {
  403. margin-right: 4rpx;
  404. }
  405. .numberDisplay--integer {
  406. line-height: 56rpx;
  407. font-size: 48rpx;
  408. }
  409. .numberDisplay--decimal {
  410. font-size: 32rpx;
  411. }
  412. }
  413. .discountVal {
  414. margin-top: 4rpx;
  415. font-weight: 600;
  416. font-size: 24rpx;
  417. color: #FD4502;
  418. line-height: 34rpx;
  419. }
  420. button {
  421. margin: 0;
  422. width: 280rpx;
  423. height: 88rpx;
  424. background: url("https://oss.dayaedu.com/ktyq/1739342836131.png") no-repeat;
  425. background-size: 100% 100%;
  426. border-radius: 78rpx;
  427. font-weight: 600;
  428. font-size: 32rpx;
  429. color: #FFFFFF;
  430. line-height: 88rpx;
  431. }
  432. }