index.less 12 KB

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