order-detail.less 16 KB

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