order-result.less 8.6 KB

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