order-detail.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
  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. .record-list {
  21. padding-top: 36rpx;
  22. flex-grow: 1;
  23. padding-bottom: 200rpx;
  24. overflow: hidden;
  25. }
  26. }
  27. .order-status {
  28. margin: 24rpx 26rpx 0;
  29. // background-color: #FFFFFF;
  30. border-radius: 20rpx;
  31. padding: 24rpx 32rpx;
  32. .status {
  33. display: flex;
  34. padding-bottom: 24rpx;
  35. image {
  36. width: 48rpx;
  37. height: 48rpx;
  38. margin-right: 16rpx;
  39. }
  40. text {
  41. font-weight: 600;
  42. font-size: 48rpx;
  43. color: #FFFFFF;
  44. line-height: 48rpx;
  45. }
  46. }
  47. .tips {
  48. font-size: 28rpx;
  49. color: #FFFFFF;
  50. line-height: 40rpx;
  51. }
  52. }
  53. .order-content {
  54. margin: 20rpx 26rpx 0;
  55. border-radius: 20rpx;
  56. padding: 24rpx;
  57. display: flex;
  58. flex-direction: column;
  59. background-color: #FFFFFF;
  60. &:first-child {
  61. margin-top: 0;
  62. }
  63. }
  64. .titTip {
  65. font-weight: 600;
  66. font-size: 28rpx;
  67. color: #131415;
  68. line-height: 40rpx;
  69. position: relative;
  70. }
  71. .quotaCon {
  72. display: flex;
  73. align-items: center;
  74. .quota {
  75. margin-left: 12rpx;
  76. width: 102rpx;
  77. height: 36rpx;
  78. }
  79. }
  80. .tip {
  81. margin-top: 12rpx;
  82. font-weight: 400;
  83. font-size: 24rpx;
  84. color: #888888;
  85. line-height: 34rpx;
  86. }
  87. .instrumentsListBox {
  88. margin-top: 24rpx;
  89. width: 100%;
  90. height: 350rpx;
  91. position: relative;
  92. .instrumentsListCon {
  93. width: calc(100% + 50rpx);
  94. height: 100%;
  95. position: absolute;
  96. white-space: nowrap;
  97. display: flex;
  98. overflow-x: auto;
  99. -webkit-overflow-scrolling: touch;
  100. &::-webkit-scrollbar {
  101. display: none;
  102. }
  103. .instrumentItem {
  104. width: 200rpx;
  105. background: #FFFFFF;
  106. border-radius: 16rpx;
  107. border: 2rpx solid #EAEAEA;
  108. margin-right: 16rpx;
  109. overflow: hidden;
  110. flex-shrink: 0;
  111. display: flex;
  112. flex-direction: column;
  113. position: relative;
  114. &:last-child {
  115. margin-right: 26rpx;
  116. }
  117. .itemSel {
  118. position: absolute;
  119. right: 12rpx;
  120. top: 12rpx;
  121. width: 32rpx;
  122. height: 32rpx;
  123. }
  124. .itemPic {
  125. width: 200rpx;
  126. height: 202rpx;
  127. }
  128. .itemName {
  129. margin: 6rpx 0 0 12rpx;
  130. font-weight: 400;
  131. font-size: 26rpx;
  132. color: #131415;
  133. line-height: 40rpx;
  134. white-space: nowrap;
  135. overflow: hidden;
  136. text-overflow: ellipsis;
  137. }
  138. .itemSalePrice {
  139. margin: 6rpx 0 0 12rpx;
  140. font-weight: bold;
  141. font-size: 28rpx;
  142. color: #000000;
  143. line-height: 40rpx;
  144. white-space: nowrap;
  145. overflow: hidden;
  146. text-overflow: ellipsis;
  147. .stuff {
  148. margin-right: 2rpx;
  149. }
  150. .numberDisplay--integer {
  151. line-height: 1;
  152. font-size: 32rpx;
  153. }
  154. .numberDisplay--decimal {
  155. font-size: 24rpx;
  156. }
  157. }
  158. .itemOriginalPrice {
  159. margin: 6rpx 0 0 12rpx;
  160. font-weight: 400;
  161. font-size: 24rpx;
  162. color: #AAAAAA;
  163. line-height: 36rpx;
  164. white-space: nowrap;
  165. overflow: hidden;
  166. text-overflow: ellipsis;
  167. }
  168. }
  169. }
  170. }
  171. .memberBox {
  172. margin-top: 16rpx;
  173. background: linear-gradient(315deg, #FFEEE9 0%, #FFF6EC 100%);
  174. border-radius: 20rpx;
  175. border: 3rpx solid #FD4502;
  176. .memberCon {
  177. padding: 24rpx;
  178. display: flex;
  179. justify-content: space-between;
  180. position: relative;
  181. .memberImg {
  182. margin-top: 4rpx;
  183. width: 28rpx;
  184. height: 36rpx;
  185. flex-shrink: 0;
  186. }
  187. .infoBox {
  188. margin-left: 12rpx;
  189. display: flex;
  190. flex-direction: column;
  191. flex-grow: 1;
  192. margin-right: 42rpx;
  193. overflow: hidden;
  194. .topInfo {
  195. font-weight: 600;
  196. font-size: 28rpx;
  197. color: #131415;
  198. line-height: 40rpx;
  199. }
  200. .info {
  201. margin-top: 14rpx;
  202. font-weight: 400;
  203. font-size: 24rpx;
  204. color: rgba(19, 20, 21, 0.4);
  205. line-height: 34rpx;
  206. white-space: nowrap;
  207. overflow: hidden;
  208. text-overflow: ellipsis;
  209. }
  210. .infoCon {
  211. margin-top: 8rpx;
  212. display: flex;
  213. align-items: center;
  214. font-weight: 400;
  215. font-size: 24rpx;
  216. color: rgba(19, 20, 21, 0.5);
  217. line-height: 34rpx;
  218. .name {
  219. white-space: nowrap;
  220. overflow: hidden;
  221. text-overflow: ellipsis;
  222. }
  223. .phone {
  224. flex-shrink: 0;
  225. margin-left: 16rpx;
  226. }
  227. }
  228. .infoAddress {
  229. font-weight: 600;
  230. font-size: 26rpx;
  231. color: #131415;
  232. line-height: 36rpx;
  233. white-space: nowrap;
  234. overflow: hidden;
  235. text-overflow: ellipsis;
  236. }
  237. }
  238. .chevronImg {
  239. position: absolute;
  240. right: 24rpx;
  241. top: 50%;
  242. transform: translateY(-50%);
  243. width: 32rpx;
  244. height: 32rpx;
  245. }
  246. }
  247. }
  248. .priceDetails {
  249. display: flex;
  250. justify-content: space-between;
  251. align-items: center;
  252. margin-top: 28rpx;
  253. &.sumTip {
  254. padding-top: 24rpx;
  255. border-top: 2rpx solid #F2F2F2;
  256. .titPic {
  257. font-weight: 400;
  258. font-size: 24rpx;
  259. color: #777777;
  260. }
  261. }
  262. .priceLeft {
  263. >text {
  264. &:nth-child(1) {
  265. font-weight: 400;
  266. font-size: 26rpx;
  267. color: #777777;
  268. line-height: 36rpx;
  269. }
  270. &:nth-child(2) {
  271. margin-left: 16rpx;
  272. font-weight: 400;
  273. font-size: 24rpx;
  274. color: #AAAAAA;
  275. line-height: 34rpx;
  276. }
  277. }
  278. }
  279. .priceRight {
  280. display: flex;
  281. justify-content: flex-end;
  282. align-items: flex-end;
  283. font-weight: bold;
  284. font-size: 28rpx;
  285. color: #000000;
  286. line-height: 44rpx;
  287. &.discountTip {
  288. color: #FD4502;
  289. }
  290. .stuff {
  291. line-height: 40rpx;
  292. margin-right: 4rpx;
  293. }
  294. .numberDisplay--integer {
  295. line-height: 1;
  296. font-size: 32rpx;
  297. }
  298. .numberDisplay--decimal {
  299. font-size: 24rpx;
  300. }
  301. }
  302. }
  303. .popup-section {
  304. .popup-mask {
  305. position: fixed;
  306. top: 0;
  307. left: 0;
  308. right: 0;
  309. bottom: 0;
  310. background-color: rgba(0, 0, 0, 0.6);
  311. z-index: 9;
  312. }
  313. .popup-container {
  314. position: fixed;
  315. bottom: 0;
  316. left: 0;
  317. right: 0;
  318. z-index: 10;
  319. width: 100%;
  320. background: #FFFFFF;
  321. border-radius: 32rpx 32rpx 0rpx 0rpx;
  322. padding: 40rpx 0 56rpx;
  323. box-sizing: border-box;
  324. .topTit {
  325. font-weight: 600;
  326. font-size: 36rpx;
  327. color: #131415;
  328. line-height: 50rpx;
  329. text-align: center;
  330. margin-bottom: 40rpx;
  331. }
  332. .iconClose {
  333. position: absolute;
  334. right: 40rpx;
  335. top: 50rpx;
  336. width: 32rpx;
  337. height: 32rpx;
  338. }
  339. .btnSections {
  340. margin-top: 20rpx;
  341. padding: 0 26rpx;
  342. image {
  343. width: 28rpx;
  344. height: 28rpx;
  345. margin-right: 16rpx;
  346. }
  347. button {
  348. width: 100%;
  349. line-height: 84rpx;
  350. background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
  351. background-size: 100% 100%;
  352. font-weight: 500;
  353. font-size: 32rpx;
  354. color: #FFFFFF;
  355. padding-top: 0;
  356. padding-bottom: 0;
  357. border-radius: 78rpx;
  358. &[disabled][type=primary] {
  359. color: #fff;
  360. opacity: 0.7;
  361. }
  362. }
  363. }
  364. }
  365. }
  366. .addressPopup {
  367. z-index: 10;
  368. .popup-mask {
  369. z-index: 11;
  370. }
  371. .popup-container {
  372. z-index: 11;
  373. .memberListCon {
  374. overflow: hidden;
  375. max-height: 500rpx;
  376. min-height: 400rpx;
  377. .memberListInfo {
  378. background: #F6F6F6;
  379. border-radius: 20rpx;
  380. margin: 0 26rpx 24rpx;
  381. padding: 28rpx 24rpx;
  382. border: 3rpx solid transparent;
  383. &.active {
  384. background: linear-gradient(315deg, #FFEEE9 0%, #FFF6EC 100%);
  385. border-color: rgba(255, 170, 157, 0.56);
  386. }
  387. .schoolInfoCon {
  388. font-weight: 600;
  389. font-size: 28rpx;
  390. color: #131415;
  391. line-height: 40rpx;
  392. word-break: break-all;
  393. }
  394. .infoCon {
  395. margin-top: 16rpx;
  396. font-weight: 400;
  397. font-size: 26rpx;
  398. color: rgba(19, 20, 21, 0.5);
  399. line-height: 36rpx;
  400. display: flex;
  401. align-items: center;
  402. padding-bottom: 28rpx;
  403. border-bottom: 2rpx solid rgba(0, 0, 0, 0.06);
  404. .name {
  405. white-space: nowrap;
  406. overflow: hidden;
  407. text-overflow: ellipsis;
  408. }
  409. .phone {
  410. flex-shrink: 0;
  411. margin-left: 16rpx;
  412. }
  413. }
  414. .operate {
  415. margin-top: 28rpx;
  416. display: flex;
  417. justify-content: space-between;
  418. align-items: center;
  419. .radioCon {
  420. display: flex;
  421. align-items: center;
  422. .radioImg {
  423. width: 28rpx;
  424. height: 28rpx;
  425. }
  426. .radioName {
  427. margin-left: 8rpx;
  428. font-weight: 400;
  429. font-size: 24rpx;
  430. color: #777777;
  431. line-height: 34rpx;
  432. }
  433. }
  434. .operateCon {
  435. display: flex;
  436. font-weight: 400;
  437. font-size: 24rpx;
  438. color: #333333;
  439. line-height: 34rpx;
  440. view:last-child {
  441. margin-left: 60rpx;
  442. }
  443. }
  444. }
  445. }
  446. .empty-box {
  447. height: 400rpx;
  448. display: flex;
  449. flex-direction: column;
  450. justify-content: center;
  451. align-items: center;
  452. image {
  453. width: 375rpx;
  454. height: 250rpx;
  455. }
  456. .empty-text {
  457. font-weight: 400;
  458. font-size: 28rpx;
  459. color: #AAAAAA;
  460. line-height: 40rpx;
  461. text-align: center;
  462. margin-top: -24rpx;
  463. }
  464. }
  465. }
  466. .btnSections {
  467. margin-top: 20rpx;
  468. padding: 0 26rpx;
  469. button {
  470. width: 100%;
  471. line-height: 84rpx;
  472. background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
  473. background-size: 100% 100%;
  474. font-weight: 500;
  475. font-size: 32rpx;
  476. color: #FFFFFF;
  477. padding-top: 0;
  478. padding-bottom: 0;
  479. border-radius: 78rpx;
  480. &[disabled][type=primary] {
  481. color: #fff;
  482. opacity: 0.7;
  483. }
  484. }
  485. }
  486. }
  487. }
  488. .item-content {
  489. margin-top: 40rpx;
  490. display: flex;
  491. width: 100%;
  492. &.first-item-content {
  493. margin-top: 0;
  494. }
  495. .goods-icon {
  496. width: 120rpx;
  497. height: 120rpx;
  498. margin-right: 24rpx;
  499. flex-shrink: 0;
  500. border-radius: 6px;
  501. overflow: hidden;
  502. }
  503. .goods-desc {
  504. flex: 1 auto;
  505. display: flex;
  506. flex-direction: column;
  507. overflow: hidden;
  508. }
  509. .goodsInfo {
  510. display: flex;
  511. justify-content: space-between;
  512. align-items: center;
  513. margin-top: 8rpx;
  514. .goods-name {
  515. flex: 1 auto;
  516. white-space: nowrap;
  517. overflow: hidden;
  518. text-overflow: ellipsis;
  519. margin-right: 20rpx;
  520. font-weight: 600;
  521. font-size: 28rpx;
  522. color: #131415;
  523. line-height: 48rpx;
  524. }
  525. .goods-price {
  526. flex-shrink: 0;
  527. font-family: DINAlternate, DINAlternate;
  528. font-weight: bold;
  529. font-size: 24rpx;
  530. color: #131415;
  531. .stuff {
  532. margin-right: 6rpx;
  533. font-size: 24rpx;
  534. }
  535. .numberDisplay--integer {
  536. line-height: 1;
  537. font-size: 32rpx;
  538. }
  539. .numberDisplay--decimal {
  540. font-size: 24rpx;
  541. }
  542. }
  543. }
  544. .goods-type {
  545. display: flex;
  546. justify-content: space-between;
  547. align-items: center;
  548. padding-top: 12rpx;
  549. .goods-card {
  550. font-weight: 400;
  551. font-size: 26rpx;
  552. color: #777777;
  553. line-height: 36rpx;
  554. }
  555. .goods-num {
  556. font-weight: 400;
  557. font-size: 26rpx;
  558. color: #777777;
  559. line-height: 36rpx;
  560. }
  561. }
  562. }
  563. .order-time {
  564. margin: 24rpx 26rpx 0;
  565. border-radius: 20rpx;
  566. padding: 36rpx 24rpx;
  567. background-color: #FFFFFF;
  568. .order-item {
  569. display: flex;
  570. justify-content: space-between;
  571. padding-bottom: 36rpx;
  572. &:last-child {
  573. padding-bottom: 0;
  574. }
  575. .title {
  576. font-size: 28rpx;
  577. color: #131415;
  578. line-height: 40rpx;
  579. }
  580. .value {
  581. font-size: 28rpx;
  582. color: #777777;
  583. line-height: 40rpx;
  584. }
  585. }
  586. }
  587. .order-btn {
  588. position: fixed;
  589. bottom: 0;
  590. left: 0;
  591. width: 100%;
  592. background-color: #FFFFFF;
  593. border-radius: 32rpx 32rpx 0rpx 0rpx;
  594. padding: 24rpx 32rpx 56rpx 32rpx;
  595. display: flex;
  596. justify-content: flex-end;
  597. align-items: center;
  598. box-sizing: border-box;
  599. .orders {
  600. display: flex;
  601. flex-direction: column;
  602. margin-right: 40rpx;
  603. image {
  604. width: 48rpx;
  605. height: 48rpx;
  606. }
  607. text {
  608. font-weight: 500;
  609. font-size: 22rpx;
  610. color: #131415;
  611. line-height: 32rpx;
  612. text-align: center;
  613. }
  614. }
  615. .more {
  616. display: flex;
  617. }
  618. .priceCon {
  619. margin-right: 32rpx;
  620. }
  621. .price {
  622. display: flex;
  623. align-items: flex-end;
  624. font-weight: bold;
  625. font-size: 32rpx;
  626. color: #FE462E;
  627. line-height: 56rpx;
  628. .goodsNum {
  629. margin-right: 10rpx;
  630. font-weight: 600;
  631. font-size: 24rpx;
  632. color: #777777;
  633. }
  634. .desc {
  635. font-weight: 600;
  636. font-size: 24rpx;
  637. color: #777777;
  638. }
  639. .stuff {
  640. margin-right: 6rpx;
  641. }
  642. .numberDisplay--integer {
  643. line-height: 1;
  644. font-size: 52rpx;
  645. }
  646. .numberDisplay--decimal {
  647. font-size: 32rpx;
  648. }
  649. }
  650. button {
  651. margin: 0;
  652. width: 220rpx;
  653. height: 84rpx;
  654. background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat;
  655. background-size: 100% 100%;
  656. border-radius: 78rpx;
  657. font-weight: 600;
  658. font-size: 32rpx;
  659. color: #FFFFFF;
  660. line-height: 84rpx;
  661. }
  662. }
  663. .del-popup-section {
  664. .popup-mask {
  665. position: fixed;
  666. top: 0;
  667. left: 0;
  668. right: 0;
  669. bottom: 0;
  670. background-color: rgba(0, 0, 0, 0.6);
  671. z-index: 99999;
  672. }
  673. .popup-container {
  674. position: fixed;
  675. left: 0;
  676. right: 0;
  677. top: 50%;
  678. transform: translateY(-50%);
  679. z-index: 999999;
  680. margin: 0 100rpx;
  681. padding: 50rpx 0 40rpx 0;
  682. background: #FFFFFF;
  683. border-radius: 32rpx;
  684. .tit {
  685. font-weight: 600;
  686. font-size: 32rpx;
  687. color: #000000;
  688. line-height: 44rpx;
  689. text-align: center;
  690. }
  691. .titCon {
  692. margin-top: 40rpx;
  693. font-weight: 400;
  694. font-size: 32rpx;
  695. color: #777777;
  696. line-height: 44rpx;
  697. text-align: center;
  698. }
  699. .btnCon {
  700. display: flex;
  701. justify-content: center;
  702. margin-top: 50rpx;
  703. view {
  704. font-weight: 400;
  705. font-size: 28rpx;
  706. color: #000000;
  707. line-height: 36rpx;
  708. padding: 16rpx 72rpx;
  709. border-radius: 36rpx;
  710. border: 2rpx solid #DCDCDC;
  711. &:last-child {
  712. margin-left: 32rpx;
  713. background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat;
  714. background-size: 100% 100%;
  715. color: #fff;
  716. border-color: transparent;
  717. }
  718. }
  719. }
  720. }
  721. }