index.less 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625
  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. font-weight: 600;
  284. font-size: 28rpx;
  285. color: #131415;
  286. line-height: 40rpx;
  287. .name {
  288. white-space: nowrap;
  289. overflow: hidden;
  290. text-overflow: ellipsis;
  291. }
  292. .phone {
  293. flex-shrink: 0;
  294. margin-left: 16rpx;
  295. }
  296. }
  297. }
  298. .chevronImg {
  299. position: absolute;
  300. right: 24rpx;
  301. top: 50%;
  302. transform: translateY(-50%);
  303. width: 32rpx;
  304. height: 32rpx;
  305. }
  306. }
  307. }
  308. .btnSections {
  309. margin-top: 20rpx;
  310. padding: 0 32rpx;
  311. button {
  312. width: 100%;
  313. line-height: 84rpx;
  314. background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
  315. background-size: 100% 100%;
  316. font-weight: 500;
  317. font-size: 32rpx;
  318. color: #FFFFFF;
  319. padding-top: 0;
  320. padding-bottom: 0;
  321. border-radius: 78rpx;
  322. &[disabled][type=primary] {
  323. color: #fff;
  324. opacity: 0.7;
  325. }
  326. }
  327. }
  328. .goodsInfo {
  329. margin-top: 48rpx;
  330. padding: 0 26rpx;
  331. height: 394rpx;
  332. overflow-x: hidden;
  333. overflow-y: auto;
  334. &::-webkit-scrollbar {
  335. display: none;
  336. }
  337. .desc {
  338. margin-top: 48rpx;
  339. font-weight: 400;
  340. font-size: 26rpx;
  341. color: #777777;
  342. line-height: 36rpx;
  343. &:first-child {
  344. margin-top: 0;
  345. }
  346. }
  347. .goodsList {
  348. display: flex;
  349. flex-wrap: wrap;
  350. &.lastGoodsList{
  351. padding-bottom: 72rpx;
  352. }
  353. &.instrumentsList {
  354. .goodsItem {
  355. padding: 10rpx 24rpx;
  356. }
  357. }
  358. .goodsItem {
  359. margin-right: 24rpx;
  360. margin-top: 24rpx;
  361. padding: 12rpx 50rpx;
  362. border-radius: 34rpx;
  363. font-weight: 400;
  364. font-size: 26rpx;
  365. color: #444444;
  366. line-height: 36rpx;
  367. position: relative;
  368. border: 2.4rpx solid #DCDCDC;
  369. &.instrumentsGoodsItem {
  370. display: flex;
  371. align-items: center;
  372. view {
  373. margin: 0 16rpx;
  374. width: 2rpx;
  375. height: 32rpx;
  376. background: rgba(0, 0, 0, 0.3);
  377. }
  378. }
  379. &.nosale {
  380. color: #BBBBBB;
  381. }
  382. &.selected {
  383. background: rgba(255, 240, 238, 0.5);
  384. color: #FE462E;
  385. border-color: rgba(254, 70, 46, 0.5);
  386. }
  387. .iconSale {
  388. position: absolute;
  389. width: 56rpx;
  390. height: 28rpx;
  391. right: -12rpx;
  392. top: -12rpx;
  393. }
  394. }
  395. }
  396. }
  397. }
  398. }
  399. .memberPopup {
  400. z-index: 10;
  401. .popup-mask {
  402. z-index: 11;
  403. }
  404. .popup-container {
  405. z-index: 11;
  406. .memberListCon {
  407. margin-top: 40rpx;
  408. overflow: hidden;
  409. height: 790rpx;
  410. .memberInfo {
  411. display: flex;
  412. justify-content: space-between;
  413. align-items: center;
  414. background: #F6F6F6;
  415. border-radius: 20rpx;
  416. padding: 24rpx 18rpx 32rpx 24rpx;
  417. margin: 0 26rpx 24rpx;
  418. border: 3rpx solid transparent;
  419. &.active {
  420. background: linear-gradient( 315deg, #FFEEE9 0%, #FFF6EC 100%);
  421. border-color: rgba(255,170,157,0.56);
  422. }
  423. &:last-child {
  424. margin-bottom: 40rpx;
  425. }
  426. .radioImg {
  427. flex-shrink: 0;
  428. width: 30rpx;
  429. height: 30rpx;
  430. }
  431. .infoConBox {
  432. margin: 0 10rpx 0 24rpx;
  433. flex-grow: 1;
  434. overflow: hidden;
  435. .infoCon {
  436. display: flex;
  437. align-items: center;
  438. font-weight: 600;
  439. font-size: 28rpx;
  440. color: #131415;
  441. line-height: 40rpx;
  442. .name {
  443. white-space: nowrap;
  444. overflow: hidden;
  445. text-overflow: ellipsis;
  446. }
  447. .phone {
  448. flex-shrink: 0;
  449. margin-left: 16rpx;
  450. }
  451. }
  452. .schoolInfoCon {
  453. margin-top: 14rpx;
  454. line-height: 1;
  455. .schoolInfoDes {
  456. font-weight: 400;
  457. font-size: 24rpx;
  458. color: rgba(19, 20, 21, 0.4);
  459. line-height: 32rpx;
  460. word-break: break-all;
  461. }
  462. }
  463. }
  464. .operate {
  465. width: 62rpx;
  466. height: 62rpx;
  467. display: flex;
  468. justify-content: center;
  469. align-items: center;
  470. flex-shrink: 0;
  471. image {
  472. width: 34rpx;
  473. height: 34rpx;
  474. }
  475. }
  476. }
  477. }
  478. .btnSections {
  479. margin-top: 20rpx;
  480. padding: 0 32rpx;
  481. button {
  482. width: 100%;
  483. line-height: 84rpx;
  484. background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
  485. background-size: 100% 100%;
  486. font-weight: 500;
  487. font-size: 32rpx;
  488. color: #FFFFFF;
  489. padding-top: 0;
  490. padding-bottom: 0;
  491. border-radius: 78rpx;
  492. &[disabled][type=primary] {
  493. color: #fff;
  494. opacity: 0.7;
  495. }
  496. }
  497. }
  498. }
  499. }
  500. .showMoreContainer {
  501. position: fixed;
  502. bottom: 0;
  503. width: 100%;
  504. left: 0;
  505. right: 0;
  506. height: 378rpx;
  507. background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
  508. display: flex;
  509. justify-content: center;
  510. align-items: flex-end;
  511. pointer-events: none;
  512. .iconUpScroll {
  513. width: 80rpx;
  514. height: 80rpx;
  515. margin-bottom: 60rpx;
  516. animation: breathe 2s infinite cubic-bezier(0, 0.21, 0, 0.88);
  517. // transition: all cubic-bezier(0, 0.21, 0, 0.88);
  518. }
  519. @keyframes breathe {
  520. 0% {
  521. opacity: 1;
  522. transform: translateY(0rpx);
  523. }
  524. 75% {
  525. opacity: 1;
  526. }
  527. 100% {
  528. opacity: 0;
  529. transform: translateY(-50rpx);
  530. }
  531. }
  532. }