order-detail.less 16 KB

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