order-detail.less 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  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. margin-right: 4rpx;
  292. }
  293. .numberDisplay--integer {
  294. line-height: 1;
  295. font-size: 32rpx;
  296. }
  297. .numberDisplay--decimal {
  298. font-size: 24rpx;
  299. }
  300. }
  301. }
  302. .popup-section {
  303. .popup-mask {
  304. position: fixed;
  305. top: 0;
  306. left: 0;
  307. right: 0;
  308. bottom: 0;
  309. background-color: rgba(0, 0, 0, 0.6);
  310. z-index: 9;
  311. }
  312. .popup-container {
  313. position: fixed;
  314. bottom: 0;
  315. left: 0;
  316. right: 0;
  317. z-index: 10;
  318. width: 100%;
  319. background: #FFFFFF;
  320. border-radius: 32rpx 32rpx 0rpx 0rpx;
  321. padding: 40rpx 0 56rpx;
  322. box-sizing: border-box;
  323. .topTit {
  324. font-weight: 600;
  325. font-size: 36rpx;
  326. color: #131415;
  327. line-height: 50rpx;
  328. text-align: center;
  329. margin-bottom: 40rpx;
  330. }
  331. .iconClose {
  332. position: absolute;
  333. right: 40rpx;
  334. top: 50rpx;
  335. width: 32rpx;
  336. height: 32rpx;
  337. }
  338. .btnSections {
  339. margin-top: 20rpx;
  340. padding: 0 26rpx;
  341. image {
  342. width: 28rpx;
  343. height: 28rpx;
  344. margin-right: 16rpx;
  345. }
  346. button {
  347. width: 100%;
  348. line-height: 88rpx;
  349. background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
  350. background-size: 100% 100%;
  351. font-weight: 500;
  352. font-size: 32rpx;
  353. color: #FFFFFF;
  354. padding-top: 0;
  355. padding-bottom: 0;
  356. border-radius: 78rpx;
  357. &[disabled][type=primary] {
  358. color: #fff;
  359. opacity: 0.7;
  360. }
  361. }
  362. }
  363. }
  364. }
  365. .addressPopup {
  366. z-index: 10;
  367. .popup-mask {
  368. z-index: 11;
  369. }
  370. .popup-container {
  371. z-index: 11;
  372. .memberListCon {
  373. overflow: hidden;
  374. max-height: 500rpx;
  375. min-height: 400rpx;
  376. .memberListInfo {
  377. background: #F6F6F6;
  378. border-radius: 20rpx;
  379. margin: 0 26rpx 24rpx;
  380. padding: 28rpx 24rpx;
  381. border: 3rpx solid transparent;
  382. &.active {
  383. background: linear-gradient(315deg, #FFEEE9 0%, #FFF6EC 100%);
  384. border-color: rgba(255, 170, 157, 0.56);
  385. }
  386. .schoolInfoCon {
  387. font-weight: 600;
  388. font-size: 28rpx;
  389. color: #131415;
  390. line-height: 40rpx;
  391. white-space: nowrap;
  392. overflow: hidden;
  393. text-overflow: ellipsis;
  394. }
  395. .infoCon {
  396. margin-top: 16rpx;
  397. font-weight: 400;
  398. font-size: 26rpx;
  399. color: rgba(19, 20, 21, 0.5);
  400. line-height: 36rpx;
  401. display: flex;
  402. align-items: center;
  403. padding-bottom: 28rpx;
  404. border-bottom: 2rpx solid rgba(0, 0, 0, 0.06);
  405. .name {
  406. white-space: nowrap;
  407. overflow: hidden;
  408. text-overflow: ellipsis;
  409. }
  410. .phone {
  411. flex-shrink: 0;
  412. margin-left: 16rpx;
  413. }
  414. }
  415. .operate {
  416. margin-top: 28rpx;
  417. display: flex;
  418. justify-content: space-between;
  419. align-items: center;
  420. .radioCon {
  421. display: flex;
  422. align-items: center;
  423. .radioImg {
  424. width: 28rpx;
  425. height: 28rpx;
  426. }
  427. .radioName {
  428. margin-left: 8rpx;
  429. font-weight: 400;
  430. font-size: 24rpx;
  431. color: #777777;
  432. line-height: 34rpx;
  433. }
  434. }
  435. .operateCon {
  436. display: flex;
  437. font-weight: 400;
  438. font-size: 24rpx;
  439. color: #333333;
  440. line-height: 34rpx;
  441. view:last-child {
  442. margin-left: 60rpx;
  443. }
  444. }
  445. }
  446. }
  447. .empty-box {
  448. height: 400rpx;
  449. display: flex;
  450. flex-direction: column;
  451. justify-content: center;
  452. align-items: center;
  453. image {
  454. width: 375rpx;
  455. height: 250rpx;
  456. }
  457. .empty-text {
  458. font-weight: 400;
  459. font-size: 28rpx;
  460. color: #AAAAAA;
  461. line-height: 40rpx;
  462. text-align: center;
  463. margin-top: -24rpx;
  464. }
  465. }
  466. }
  467. .btnSections {
  468. margin-top: 20rpx;
  469. padding: 0 26rpx;
  470. button {
  471. width: 100%;
  472. line-height: 88rpx;
  473. background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
  474. background-size: 100% 100%;
  475. font-weight: 500;
  476. font-size: 32rpx;
  477. color: #FFFFFF;
  478. padding-top: 0;
  479. padding-bottom: 0;
  480. border-radius: 78rpx;
  481. &[disabled][type=primary] {
  482. color: #fff;
  483. opacity: 0.7;
  484. }
  485. }
  486. }
  487. }
  488. }
  489. .item-content {
  490. margin-top: 40rpx;
  491. display: flex;
  492. width: 100%;
  493. &.first-item-content {
  494. margin-top: 0;
  495. }
  496. .goods-icon {
  497. width: 120rpx;
  498. height: 120rpx;
  499. margin-right: 24rpx;
  500. flex-shrink: 0;
  501. border-radius: 6px;
  502. overflow: hidden;
  503. }
  504. .goods-desc {
  505. flex: 1 auto;
  506. display: flex;
  507. flex-direction: column;
  508. overflow: hidden;
  509. }
  510. .goodsInfo {
  511. display: flex;
  512. justify-content: space-between;
  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. line-height: 48rpx;
  532. display: flex;
  533. .stuff {
  534. margin-right: 6rpx;
  535. font-size: 24rpx;
  536. }
  537. .numberDisplay--integer {
  538. line-height: 1;
  539. font-size: 32rpx;
  540. }
  541. .numberDisplay--decimal {
  542. font-size: 24rpx;
  543. }
  544. }
  545. }
  546. .goods-type {
  547. display: flex;
  548. justify-content: space-between;
  549. align-items: center;
  550. padding-top: 12rpx;
  551. .goods-card {
  552. font-weight: 400;
  553. font-size: 26rpx;
  554. color: #777777;
  555. line-height: 36rpx;
  556. }
  557. .goods-num {
  558. font-weight: 400;
  559. font-size: 26rpx;
  560. color: #777777;
  561. line-height: 36rpx;
  562. }
  563. }
  564. }
  565. .order-time {
  566. margin: 24rpx 26rpx 0;
  567. border-radius: 20rpx;
  568. padding: 36rpx 24rpx;
  569. background-color: #FFFFFF;
  570. .order-item {
  571. display: flex;
  572. justify-content: space-between;
  573. padding-bottom: 36rpx;
  574. &:last-child {
  575. padding-bottom: 0;
  576. }
  577. .title {
  578. font-size: 28rpx;
  579. color: #131415;
  580. line-height: 40rpx;
  581. }
  582. .value {
  583. font-size: 28rpx;
  584. color: #777777;
  585. line-height: 40rpx;
  586. }
  587. }
  588. }
  589. .order-btn {
  590. position: fixed;
  591. bottom: 0;
  592. left: 0;
  593. width: 100%;
  594. background-color: #FFFFFF;
  595. border-radius: 32rpx 32rpx 0rpx 0rpx;
  596. padding: 24rpx 32rpx 56rpx 32rpx;
  597. display: flex;
  598. justify-content: flex-end;
  599. align-items: center;
  600. box-sizing: border-box;
  601. .orders {
  602. display: flex;
  603. flex-direction: column;
  604. margin-right: 40rpx;
  605. image {
  606. width: 48rpx;
  607. height: 48rpx;
  608. }
  609. text {
  610. font-weight: 500;
  611. font-size: 22rpx;
  612. color: #131415;
  613. line-height: 32rpx;
  614. text-align: center;
  615. }
  616. }
  617. .more {
  618. display: flex;
  619. }
  620. .priceCon {
  621. margin-right: 32rpx;
  622. }
  623. .price {
  624. display: flex;
  625. align-items: flex-end;
  626. font-weight: bold;
  627. font-size: 32rpx;
  628. color: #FE462E;
  629. line-height: 56rpx;
  630. .goodsNum {
  631. margin-right: 10rpx;
  632. font-weight: 600;
  633. font-size: 24rpx;
  634. color: #777777;
  635. }
  636. .desc {
  637. font-weight: 600;
  638. font-size: 24rpx;
  639. color: #777777;
  640. }
  641. .stuff {
  642. margin-right: 6rpx;
  643. }
  644. .numberDisplay--integer {
  645. line-height: 1;
  646. font-size: 52rpx;
  647. }
  648. .numberDisplay--decimal {
  649. font-size: 32rpx;
  650. }
  651. }
  652. button {
  653. margin: 0;
  654. width: 220rpx;
  655. height: 84rpx;
  656. background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat;
  657. background-size: 100% 100%;
  658. border-radius: 78rpx;
  659. font-weight: 600;
  660. font-size: 32rpx;
  661. color: #FFFFFF;
  662. line-height: 84rpx;
  663. }
  664. }
  665. .del-popup-section {
  666. .popup-mask {
  667. position: fixed;
  668. top: 0;
  669. left: 0;
  670. right: 0;
  671. bottom: 0;
  672. background-color: rgba(0, 0, 0, 0.6);
  673. z-index: 99999;
  674. }
  675. .popup-container {
  676. position: fixed;
  677. left: 0;
  678. right: 0;
  679. top: 50%;
  680. transform: translateY(-50%);
  681. z-index: 999999;
  682. margin: 0 100rpx;
  683. padding: 50rpx 0 40rpx 0;
  684. background: #FFFFFF;
  685. border-radius: 32rpx;
  686. .tit {
  687. font-weight: 600;
  688. font-size: 32rpx;
  689. color: #000000;
  690. line-height: 44rpx;
  691. text-align: center;
  692. }
  693. .titCon {
  694. margin-top: 40rpx;
  695. font-weight: 400;
  696. font-size: 32rpx;
  697. color: #777777;
  698. line-height: 44rpx;
  699. text-align: center;
  700. }
  701. .btnCon {
  702. display: flex;
  703. justify-content: center;
  704. margin-top: 50rpx;
  705. view {
  706. font-weight: 400;
  707. font-size: 28rpx;
  708. color: #000000;
  709. line-height: 36rpx;
  710. padding: 16rpx 72rpx;
  711. border-radius: 36rpx;
  712. border: 2rpx solid #DCDCDC;
  713. &:last-child {
  714. margin-left: 32rpx;
  715. background: url("https://oss.dayaedu.com/ktyq/1739864864169.png") no-repeat;
  716. background-size: 100% 100%;
  717. color: #fff;
  718. border-color: transparent;
  719. }
  720. }
  721. }
  722. }
  723. }