order-detail.less 16 KB

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