order-detail.less 15 KB

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