index.less 14 KB

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