index.less 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
  1. /**index.less**/
  2. page {
  3. height: 100vh;
  4. display: flex;
  5. flex-direction: column;
  6. background: #F5F6F7;
  7. }
  8. .scrollarea {
  9. flex: 1;
  10. overflow-y: hidden;
  11. }
  12. .container {
  13. position: relative;
  14. .slider-count {
  15. position: absolute;
  16. top: 678rpx;
  17. right: 0;
  18. background: rgba(0, 0, 0, 0.4);
  19. border-radius: 200rpx 0rpx 0rpx 200rpx;
  20. font-weight: 600;
  21. font-size: 28rpx;
  22. color: #FFFFFF;
  23. line-height: 40rpx;
  24. text-align: center;
  25. padding: 4rpx 20rpx 4rpx 28rpx;
  26. z-index: 1;
  27. }
  28. swiper {
  29. height: 750rpx;
  30. }
  31. .swiper-item {
  32. width: 100%;
  33. height: 100%;
  34. image {
  35. width: 100%;
  36. height: 100%;
  37. }
  38. }
  39. .demo-text-1 {
  40. background-color: red;
  41. }
  42. .demo-text-2 {
  43. background-color: black;
  44. }
  45. .demo-text-3 {
  46. background-color: gray;
  47. }
  48. }
  49. .goodsIntro {
  50. background: #FFFFFF;
  51. // border-radius: 20rpx;
  52. overflow: hidden;
  53. // margin: 16rpx 0 0;
  54. .title {
  55. font-weight: 600;
  56. font-size: 32rpx;
  57. color: #131415;
  58. line-height: 44rpx;
  59. padding: 28rpx 24rpx;
  60. display: flex;
  61. align-items: center;
  62. justify-content: center;
  63. .before,
  64. .after {
  65. content: '';
  66. width: 68rpx;
  67. height: 2rpx;
  68. border-radius: 2rpx;
  69. opacity: 0.3;
  70. display: inline-block;
  71. }
  72. .before {
  73. background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  74. margin-right: 24rpx;
  75. }
  76. .after {
  77. background: linear-gradient(270deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  78. margin-left: 24rpx;
  79. }
  80. }
  81. .quick-btn {
  82. padding: 0 20rpx 30rpx;
  83. font-size: 28rpx;
  84. color: #999999;
  85. line-height: 40rpx;
  86. display: flex;
  87. view {
  88. padding: 8rpx 24rpx;
  89. margin-right: 12rpx;
  90. }
  91. .active {
  92. background: #FFDF9E;
  93. border-radius: 28rpx;
  94. font-weight: 600;
  95. color: #131415;
  96. }
  97. }
  98. .images {
  99. font-size: 0;
  100. image {
  101. display: block;
  102. width: 100%;
  103. }
  104. }
  105. }
  106. .bottom-sectionBox {
  107. position: fixed;
  108. display: flex;
  109. flex-direction: column;
  110. .orders {
  111. width: 148rpx;
  112. height: 150rpx;
  113. background: url("https://oss.dayaedu.com/ktyq/1740045181826.png") no-repeat;
  114. background-size: 100% 100%;
  115. }
  116. .btnSection {
  117. margin-top: 10px;
  118. width: 148rpx;
  119. height: 150rpx;
  120. background: url("https://oss.dayaedu.com/ktyq/1740045152037.png") no-repeat;
  121. background-size: 100% 100%;
  122. }
  123. }
  124. .hide {
  125. display: none !important;
  126. }
  127. // 'demo-text-1', 'demo-text-2', 'demo-text-3'
  128. .popup-section {
  129. .popup-mask {
  130. position: fixed;
  131. top: 0;
  132. left: 0;
  133. right: 0;
  134. bottom: 0;
  135. background-color: rgba(0, 0, 0, 0.6);
  136. z-index: 9;
  137. }
  138. .popup-container {
  139. position: fixed;
  140. bottom: 0;
  141. left: 0;
  142. right: 0;
  143. z-index: 10;
  144. width: 100%;
  145. background: #FFFFFF;
  146. border-radius: 32rpx 32rpx 0rpx 0rpx;
  147. padding: 40rpx 0 56rpx;
  148. box-sizing: border-box;
  149. // height: 1080rpx;
  150. // height: 90vh;
  151. .topTit {
  152. font-weight: 600;
  153. font-size: 36rpx;
  154. color: #131415;
  155. line-height: 50rpx;
  156. text-align: center;
  157. }
  158. .iconClose {
  159. right: 24rpx;
  160. top: 34rpx;
  161. position: absolute;
  162. width: 64rpx;
  163. height: 64rpx;
  164. background: url("https://oss.dayaedu.com/ktyq/1739847605228.png") no-repeat;
  165. background-size: 32rpx 32rpx;
  166. background-position: center center;
  167. }
  168. .product-section {
  169. display: flex;
  170. padding: 0 26rpx;
  171. .product-img {
  172. width: 160rpx;
  173. height: 160rpx;
  174. flex-shrink: 0;
  175. margin-right: 24rpx;
  176. border-radius: 6px;
  177. overflow: hidden;
  178. image {
  179. width: 100%;
  180. height: 100%;
  181. }
  182. }
  183. .product-left {
  184. display: flex;
  185. flex-direction: column;
  186. align-items: flex-start;
  187. justify-content: center;
  188. overflow: hidden;
  189. .price-s {
  190. display: flex;
  191. align-items: center;
  192. .priceImg {
  193. margin-right: 8rpx;
  194. width: 96rpx;
  195. height: 40rpx;
  196. }
  197. .currentPrice {
  198. display: flex;
  199. align-items: baseline;
  200. font-weight: bold;
  201. color: #FE462E;
  202. font-family: DINAlternate, DINAlternate;
  203. .stuff {
  204. font-size: 32rpx;
  205. }
  206. .numberDisplay--integer {
  207. line-height: 60rpx;
  208. font-size: 52rpx;
  209. }
  210. .numberDisplay--decimal {
  211. font-size: 32rpx;
  212. }
  213. }
  214. .originPrice {
  215. margin-left: 12rpx;
  216. font-weight: 400;
  217. font-size: 24rpx;
  218. color: #AAAAAA;
  219. }
  220. }
  221. .current-s {
  222. margin-top: 16rpx;
  223. font-weight: 400;
  224. font-size: 28rpx;
  225. color: #777777;
  226. line-height: 40rpx;
  227. width: 100%;
  228. white-space: nowrap;
  229. overflow: hidden;
  230. text-overflow: ellipsis;
  231. }
  232. .discountCon {
  233. margin-top: 10rpx;
  234. font-weight: 400;
  235. font-size: 24rpx;
  236. color: #FD4502;
  237. line-height: 32rpx;
  238. border-radius: 6rpx;
  239. border: 2rpx solid #FD4502;
  240. padding: 4rpx 8rpx;
  241. }
  242. }
  243. }
  244. .memberBox {
  245. margin: 40rpx 26rpx 48rpx;
  246. background: #F5F6F7;
  247. border-radius: 20rpx;
  248. border: 3rpx solid transparent;
  249. &.showMemberInfoTip {
  250. border-color: #FD4502;
  251. }
  252. .memberCon {
  253. padding: 24rpx;
  254. display: flex;
  255. justify-content: space-between;
  256. position: relative;
  257. .memberImg {
  258. margin-top: 4rpx;
  259. width: 28rpx;
  260. height: 32rpx;
  261. flex-shrink: 0;
  262. }
  263. .infoBox {
  264. margin-left: 12rpx;
  265. display: flex;
  266. flex-direction: column;
  267. flex-grow: 1;
  268. margin-right: 42rpx;
  269. overflow: hidden;
  270. .topInfo {
  271. font-weight: 600;
  272. font-size: 28rpx;
  273. color: #131415;
  274. line-height: 40rpx;
  275. }
  276. .info {
  277. margin-top: 14rpx;
  278. font-weight: 400;
  279. font-size: 24rpx;
  280. color: rgba(19, 20, 21, 0.4);
  281. line-height: 34rpx;
  282. white-space: nowrap;
  283. overflow: hidden;
  284. text-overflow: ellipsis;
  285. }
  286. .infoCon {
  287. display: flex;
  288. align-items: center;
  289. font-weight: 600;
  290. font-size: 28rpx;
  291. color: #131415;
  292. line-height: 40rpx;
  293. .name {
  294. white-space: nowrap;
  295. overflow: hidden;
  296. text-overflow: ellipsis;
  297. }
  298. .phone {
  299. flex-shrink: 0;
  300. margin-left: 16rpx;
  301. }
  302. }
  303. }
  304. .chevronImg {
  305. position: absolute;
  306. right: 24rpx;
  307. top: 50%;
  308. transform: translateY(-50%);
  309. width: 32rpx;
  310. height: 32rpx;
  311. }
  312. }
  313. }
  314. .btnSections {
  315. margin-top: 20rpx;
  316. padding: 0 32rpx;
  317. button {
  318. width: 100%;
  319. line-height: 84rpx;
  320. background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
  321. background-size: 100% 100%;
  322. font-weight: 500;
  323. font-size: 32rpx;
  324. color: #FFFFFF;
  325. padding-top: 0;
  326. padding-bottom: 0;
  327. border-radius: 78rpx;
  328. &[disabled][type=primary] {
  329. color: #fff;
  330. opacity: 0.7;
  331. }
  332. }
  333. }
  334. .goodsInfo {
  335. margin-top: 48rpx;
  336. padding: 0 26rpx;
  337. // height: 394rpx;
  338. height: 27vh;
  339. overflow-x: hidden;
  340. overflow-y: auto;
  341. &::-webkit-scrollbar {
  342. display: none;
  343. }
  344. .desc {
  345. margin-top: 48rpx;
  346. font-weight: 400;
  347. font-size: 26rpx;
  348. color: #777777;
  349. line-height: 36rpx;
  350. &:first-child {
  351. margin-top: 0;
  352. }
  353. }
  354. .goodsList {
  355. display: flex;
  356. flex-wrap: wrap;
  357. &.lastGoodsList {
  358. padding-bottom: 72rpx;
  359. }
  360. &.instrumentsList {
  361. .goodsItem {
  362. padding: 10rpx 24rpx;
  363. }
  364. }
  365. .goodsItem {
  366. margin-right: 24rpx;
  367. margin-top: 24rpx;
  368. padding: 12rpx 50rpx;
  369. border-radius: 34rpx;
  370. font-weight: 400;
  371. font-size: 26rpx;
  372. color: #444444;
  373. line-height: 36rpx;
  374. position: relative;
  375. border: 2.4rpx solid #DCDCDC;
  376. &.instrumentsGoodsItem {
  377. display: flex;
  378. align-items: center;
  379. view {
  380. margin: 0 16rpx;
  381. width: 2rpx;
  382. height: 32rpx;
  383. background: rgba(0, 0, 0, 0.3);
  384. }
  385. }
  386. &.nosale {
  387. color: #BBBBBB;
  388. }
  389. &.selected {
  390. background: rgba(255, 240, 238, 0.5);
  391. color: #FE462E;
  392. border-color: rgba(254, 70, 46, 0.5);
  393. }
  394. .iconSale {
  395. position: absolute;
  396. width: 56rpx;
  397. height: 28rpx;
  398. right: -12rpx;
  399. top: -12rpx;
  400. }
  401. }
  402. }
  403. }
  404. }
  405. }
  406. .memberPopup {
  407. z-index: 10;
  408. .popup-mask {
  409. z-index: 11;
  410. }
  411. .popup-container {
  412. z-index: 11;
  413. .memberListCon {
  414. margin-top: 40rpx;
  415. overflow: hidden;
  416. // height: 790rpx;
  417. height: 51.5vh;
  418. .memberInfo {
  419. display: flex;
  420. justify-content: space-between;
  421. align-items: center;
  422. background: #F6F6F6;
  423. border-radius: 20rpx;
  424. padding: 24rpx 18rpx 32rpx 24rpx;
  425. margin: 0 26rpx 24rpx;
  426. border: 3rpx solid transparent;
  427. &.active {
  428. background: linear-gradient(315deg, #FFEEE9 0%, #FFF6EC 100%);
  429. border-color: rgba(255, 170, 157, 0.56);
  430. }
  431. &:last-child {
  432. margin-bottom: 40rpx;
  433. }
  434. .radioImg {
  435. flex-shrink: 0;
  436. width: 30rpx;
  437. height: 30rpx;
  438. }
  439. .infoConBox {
  440. margin: 0 10rpx 0 24rpx;
  441. flex-grow: 1;
  442. overflow: hidden;
  443. .infoCon {
  444. display: flex;
  445. align-items: center;
  446. font-weight: 600;
  447. font-size: 28rpx;
  448. color: #131415;
  449. line-height: 40rpx;
  450. .name {
  451. white-space: nowrap;
  452. overflow: hidden;
  453. text-overflow: ellipsis;
  454. }
  455. .phone {
  456. flex-shrink: 0;
  457. margin-left: 16rpx;
  458. }
  459. }
  460. .schoolInfoCon {
  461. margin-top: 14rpx;
  462. line-height: 1;
  463. .schoolInfoDes {
  464. font-weight: 400;
  465. font-size: 24rpx;
  466. color: rgba(19, 20, 21, 0.4);
  467. line-height: 32rpx;
  468. word-break: break-all;
  469. }
  470. }
  471. }
  472. .operate {
  473. display: flex;
  474. justify-content: center;
  475. align-items: center;
  476. flex-shrink: 0;
  477. .operateBtn {
  478. display: flex;
  479. justify-content: center;
  480. align-items: center;
  481. width: 62rpx;
  482. height: 62rpx;
  483. image {
  484. width: 34rpx;
  485. height: 34rpx;
  486. }
  487. }
  488. }
  489. }
  490. .empty-box {
  491. height: 790rpx;
  492. display: flex;
  493. flex-direction: column;
  494. justify-content: center;
  495. align-items: center;
  496. image {
  497. width: 375rpx;
  498. height: 250rpx;
  499. }
  500. .empty-text {
  501. font-weight: 400;
  502. font-size: 28rpx;
  503. color: #AAAAAA;
  504. line-height: 40rpx;
  505. text-align: center;
  506. margin-top: -24rpx;
  507. }
  508. }
  509. }
  510. .btnSections {
  511. margin-top: 20rpx;
  512. padding: 0 32rpx;
  513. button {
  514. width: 100%;
  515. line-height: 84rpx;
  516. background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
  517. background-size: 100% 100%;
  518. font-weight: 500;
  519. font-size: 32rpx;
  520. color: #FFFFFF;
  521. padding-top: 0;
  522. padding-bottom: 0;
  523. border-radius: 78rpx;
  524. &[disabled][type=primary] {
  525. color: #fff;
  526. opacity: 0.7;
  527. }
  528. }
  529. }
  530. }
  531. }
  532. .showMoreContainer {
  533. position: fixed;
  534. bottom: 0;
  535. width: 100%;
  536. left: 0;
  537. right: 0;
  538. height: 378rpx;
  539. background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
  540. display: flex;
  541. justify-content: center;
  542. align-items: flex-end;
  543. pointer-events: none;
  544. .iconUpScroll {
  545. width: 80rpx;
  546. height: 80rpx;
  547. margin-bottom: 60rpx;
  548. animation: breathe 2s infinite cubic-bezier(0, 0.21, 0, 0.88);
  549. // transition: all cubic-bezier(0, 0.21, 0, 0.88);
  550. }
  551. @keyframes breathe {
  552. 0% {
  553. opacity: 1;
  554. transform: translateY(0rpx);
  555. }
  556. 75% {
  557. opacity: 1;
  558. }
  559. 100% {
  560. opacity: 0;
  561. transform: translateY(-50rpx);
  562. }
  563. }
  564. }
  565. .del-popup-section {
  566. .popup-mask {
  567. position: fixed;
  568. top: 0;
  569. left: 0;
  570. right: 0;
  571. bottom: 0;
  572. background-color: rgba(0, 0, 0, 0.6);
  573. z-index: 99999;
  574. }
  575. .popup-container {
  576. position: fixed;
  577. left: 0;
  578. right: 0;
  579. top: 50%;
  580. transform: translateY(-50%);
  581. z-index: 999999;
  582. margin: 0 100rpx;
  583. padding: 50px 0 40px 0;
  584. background: #FFFFFF;
  585. border-radius: 32rpx;
  586. .tit {
  587. font-weight: 600;
  588. font-size: 36rpx;
  589. color: #000000;
  590. line-height: 50rpx;
  591. text-align: center;
  592. }
  593. .titCon {
  594. margin-top: 40rpx;
  595. font-weight: 400;
  596. font-size: 32rpx;
  597. color: #777777;
  598. line-height: 44rpx;
  599. text-align: center;
  600. }
  601. .btnCon {
  602. display: flex;
  603. justify-content: center;
  604. align-items: center;
  605. margin-top: 50rpx;
  606. view {
  607. font-weight: 400;
  608. font-size: 28rpx;
  609. color: #000000;
  610. line-height: 36rpx;
  611. padding: 16rpx 72rpx;
  612. border-radius: 36rpx;
  613. box-sizing: border-box;
  614. border: 2rpx solid #DCDCDC;
  615. &:last-child {
  616. margin-left: 32rpx;
  617. 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%);
  618. font-weight: 500;
  619. color: #fff;
  620. border-color: transparent;
  621. }
  622. }
  623. }
  624. }
  625. }