index.less 12 KB

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