index.less 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484
  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. .goodsSection {
  50. }
  51. .goodsIntro {
  52. background: #FFFFFF;
  53. // border-radius: 20rpx;
  54. overflow: hidden;
  55. // margin: 16rpx 0 0;
  56. .title {
  57. font-weight: 600;
  58. font-size: 32rpx;
  59. color: #131415;
  60. line-height: 44rpx;
  61. padding: 28rpx 24rpx;
  62. display: flex;
  63. align-items: center;
  64. justify-content: center;
  65. .before, .after {
  66. content: '';
  67. width: 68rpx;
  68. height: 2rpx;
  69. border-radius: 2rpx;
  70. opacity: 0.3;
  71. display: inline-block;
  72. }
  73. .before {
  74. background: linear-gradient( 90deg, rgba(0,0,0,0) 0%, #000000 100%);
  75. margin-right: 24rpx;
  76. }
  77. .after {
  78. background: linear-gradient( 270deg, rgba(0,0,0,0) 0%, #000000 100%);
  79. margin-left: 24rpx;
  80. }
  81. }
  82. .quick-btn {
  83. padding: 0 20rpx 30rpx;
  84. font-size: 28rpx;
  85. color: #999999;
  86. line-height: 40rpx;
  87. display: flex;
  88. view {
  89. padding: 8rpx 24rpx;
  90. margin-right: 12rpx;
  91. }
  92. .active {
  93. background: #FFDF9E;
  94. border-radius: 28rpx;
  95. font-weight: 600;
  96. color: #131415;
  97. }
  98. }
  99. .images {
  100. font-size: 0;
  101. image {
  102. display: block;
  103. width: 100%;
  104. }
  105. }
  106. }
  107. .bottom-sectionBox{
  108. width: 100%;
  109. background-color: #E0F5DA;
  110. }
  111. .bottom-section {
  112. width: 100%;
  113. background: #FFFFFF;
  114. box-shadow: 0rpx -2rpx 32rpx 0rpx rgba(0,0,0,0.1);
  115. border-radius: 32rpx 32rpx 0rpx 0rpx;
  116. padding: 34rpx 40rpx 56rpx 48rpx;
  117. display: flex;
  118. align-items: center;
  119. box-sizing: border-box;
  120. .orders {
  121. display: flex;
  122. flex-direction: column;
  123. image {
  124. width: 48rpx;
  125. height: 48rpx;
  126. }
  127. text {
  128. margin-top: 2px;
  129. font-weight: 400;
  130. font-size: 22rpx;
  131. color: #131415;
  132. line-height: 32rpx;
  133. }
  134. }
  135. .btnSection {
  136. margin-left: 48rpx;
  137. flex-grow: 1;
  138. font-weight: 600;
  139. font-size: 32rpx;
  140. color: #FFFFFF;
  141. line-height: 88rpx;
  142. text-align: center;
  143. background: url("https://oss.dayaedu.com/ktyq/1738898417485.png") no-repeat;
  144. background-size: 100% 100%;
  145. border-radius: 78rpx;
  146. }
  147. }
  148. .hide {
  149. display: none !important;
  150. }
  151. // 'demo-text-1', 'demo-text-2', 'demo-text-3'
  152. .popup-section {
  153. .popup-mask {
  154. position: fixed;
  155. top: 0;
  156. left: 0;
  157. right: 0;
  158. bottom: 0;
  159. background-color: rgba(0,0,0,0.6);
  160. z-index: 9;
  161. }
  162. .popup-container {
  163. position: fixed;
  164. bottom: 0;
  165. left: 0;
  166. right: 0;
  167. z-index: 10;
  168. width: 100%;
  169. background: #FFFFFF;
  170. border-radius: 32rpx 32rpx 0rpx 0rpx;
  171. padding: 40rpx 0 56rpx;
  172. box-sizing: border-box;
  173. .iconClose {
  174. right: 26rpx;
  175. top: 30rpx;
  176. position: absolute;
  177. width: 64rpx;
  178. height: 64rpx;
  179. background: url("https://oss.dayaedu.com/ktyq/1739246513167.png") no-repeat;
  180. background-size: 52rpx 52rpx;
  181. background-position: center center;
  182. }
  183. .product-section {
  184. display: flex;
  185. padding: 0 40rpx;
  186. .product-img {
  187. width: 160rpx;
  188. height: 160rpx;
  189. flex-shrink: 0;
  190. margin-right: 32rpx;
  191. border-radius: 6px;
  192. overflow: hidden;
  193. image {
  194. width: 100%;
  195. height: 100%;
  196. }
  197. }
  198. .product-left {
  199. display: flex;
  200. flex-direction: column;
  201. align-items: flex-start;
  202. overflow: hidden;
  203. .price-s {
  204. display: flex;
  205. align-items: center;
  206. .priceImg{
  207. margin-right: 8rpx;
  208. width: 96rpx;
  209. height: 40rpx;
  210. }
  211. .currentPrice {
  212. font-weight: bold;
  213. color: #000000;
  214. font-family: DINAlternate, DINAlternate;
  215. line-height: 1;
  216. .stuff {
  217. font-size: 32rpx;
  218. }
  219. .numberDisplay--integer{
  220. line-height: 60rpx;
  221. font-size: 52rpx;
  222. }
  223. .numberDisplay--decimal{
  224. font-size: 32rpx;
  225. }
  226. }
  227. .originPrice {
  228. margin-left: 8rpx;
  229. font-weight: 400;
  230. font-size: 28rpx;
  231. color: #AAAAAA;
  232. text-decoration: line-through;
  233. }
  234. }
  235. .current-s {
  236. margin-top: 8rpx;
  237. font-weight: 400;
  238. font-size: 26rpx;
  239. color: #777777;
  240. line-height: 36rpx;
  241. width: 100%;
  242. white-space: nowrap;
  243. overflow: hidden;
  244. text-overflow: ellipsis;
  245. }
  246. .discountCon{
  247. margin-top: 10rpx;
  248. font-weight: 400;
  249. font-size: 24rpx;
  250. color: #FD4502;
  251. line-height: 32rpx;
  252. border-radius: 6rpx;
  253. border: 2rpx solid #FD4502;
  254. padding: 4rpx 8rpx;
  255. }
  256. }
  257. }
  258. .memberBox{
  259. margin: 48rpx 40rpx;
  260. background: #F5F6F7;
  261. border-radius: 20rpx;
  262. border: 3rpx solid transparent;
  263. &.showMemberInfoTip{
  264. border-color: #FD4502;
  265. }
  266. .memberCon{
  267. padding: 24rpx;
  268. display: flex;
  269. justify-content: space-between;
  270. align-items: center;
  271. .memberImg{
  272. width: 44rpx;
  273. height: 44rpx;
  274. }
  275. .info{
  276. flex-grow: 1;
  277. margin-left: 16rpx;
  278. font-weight: 600;
  279. font-size: 28rpx;
  280. color: #131415;
  281. line-height: 40rpx;
  282. }
  283. .chevronImg{
  284. flex-shrink: 0;
  285. width: 32rpx;
  286. height: 32rpx;
  287. }
  288. .memberInfoCon{
  289. margin-right: 24rpx;
  290. overflow: hidden;
  291. }
  292. .infoCon {
  293. display: flex;
  294. align-items: center;
  295. font-weight: 600;
  296. font-size: 28rpx;
  297. color: #131415;
  298. line-height: 40rpx;
  299. .tip {
  300. flex-shrink: 0;
  301. width: 44rpx;
  302. height: 44rpx;
  303. }
  304. .name{
  305. margin-left: 16rpx;
  306. white-space: nowrap;
  307. overflow: hidden;
  308. text-overflow: ellipsis;
  309. }
  310. .phone {
  311. flex-shrink: 0;
  312. margin-left: 16rpx;
  313. }
  314. }
  315. .schoolInfoCon{
  316. margin-top: 20rpx;
  317. display: flex;
  318. align-items: center;
  319. .schoolInfo{
  320. margin-right: 8rpx;
  321. border-radius: 4rpx;
  322. border: 1.6rpx solid rgba(15,179,96,0.5);
  323. padding: 2rpx 6rpx;
  324. font-weight: 400;
  325. font-size: 20rpx;
  326. color: #0FB360;
  327. line-height: 32rpx;
  328. flex-shrink: 0;
  329. }
  330. .schoolInfoDes{
  331. font-weight: 400;
  332. font-size: 24rpx;
  333. color: #777777;
  334. line-height: 32rpx;
  335. white-space: nowrap;
  336. overflow: hidden;
  337. text-overflow: ellipsis;
  338. }
  339. }
  340. }
  341. }
  342. .btnSections {
  343. margin-top: 20rpx;
  344. padding: 0 40rpx;
  345. button {
  346. width: 100%;
  347. line-height: 88rpx;
  348. background: url("https://oss.dayaedu.com/ktyq/1738898417485.png") no-repeat;
  349. background-size: 100% 100%;
  350. font-weight: 500;
  351. font-size: 32rpx;
  352. color: #FFFFFF;
  353. padding-top: 0;
  354. padding-bottom: 0;
  355. border-radius: 78rpx;
  356. &[disabled][type=primary] {
  357. color: #fff;
  358. opacity: 0.7;
  359. }
  360. }
  361. }
  362. .goodsInfo {
  363. padding: 0 40rpx;
  364. max-height: 33vh;
  365. overflow-x: hidden;
  366. overflow-y: auto;
  367. &::-webkit-scrollbar {
  368. display: none;
  369. }
  370. .desc {
  371. margin-top: 48rpx;
  372. font-weight: 600;
  373. font-size: 28rpx;
  374. line-height: 40rpx;
  375. color: #131415;
  376. &:first-child{
  377. margin-top: 0;
  378. }
  379. text{
  380. color: #FD4502;
  381. }
  382. }
  383. .goodsList {
  384. display: flex;
  385. flex-wrap: wrap;
  386. &.instrumentsList{
  387. padding-bottom: 40rpx;
  388. .goodsItem{
  389. padding: 10rpx 24rpx;
  390. }
  391. }
  392. .goodsItem {
  393. margin-right: 24rpx;
  394. margin-top: 24rpx;
  395. padding: 10rpx 30rpx;
  396. background: #F2F2F2;
  397. border-radius: 12rpx;
  398. font-weight: 400;
  399. font-size: 28rpx;
  400. color: #444444;
  401. line-height: 40rpx;
  402. position: relative;
  403. border:2.4rpx solid transparent;
  404. &.instrumentsGoodsItem{
  405. display: flex;
  406. align-items: center;
  407. view{
  408. margin: 0 16rpx;
  409. width: 2rpx;
  410. height: 32rpx;
  411. background: rgba(0,0,0,0.3);
  412. }
  413. }
  414. &.nosale{
  415. color: #BBBBBB;
  416. }
  417. &.selected{
  418. background: #E6FADB;
  419. font-weight: 600;
  420. color: #0AAF5F;
  421. border-color: #51BA35;
  422. border-radius: 12rpx;
  423. view{
  424. background: #0AAF5F;
  425. }
  426. }
  427. .iconSale{
  428. position: absolute;
  429. width: 56rpx;
  430. height: 28rpx;
  431. right: -14rpx;
  432. top: -14rpx;
  433. }
  434. }
  435. }
  436. }
  437. }
  438. }
  439. .showMoreContainer {
  440. position: fixed;
  441. bottom: 0;
  442. width: 100%;
  443. left: 0;
  444. right: 0;
  445. height: 378rpx;
  446. background: linear-gradient( 180deg, rgba(255,255,255,0) 0%, #FFFFFF 100%);
  447. display: flex;
  448. justify-content: center;
  449. align-items: flex-end;
  450. pointer-events: none;
  451. .iconUpScroll {
  452. width: 80rpx;
  453. height: 80rpx;
  454. margin-bottom: 60rpx;
  455. animation: breathe 2s infinite cubic-bezier(0, 0.21, 0, 0.88);
  456. // transition: all cubic-bezier(0, 0.21, 0, 0.88);
  457. }
  458. @keyframes breathe {
  459. 0% {
  460. opacity: 1;
  461. transform: translateY(0rpx);
  462. }
  463. 75%{
  464. opacity: 1;
  465. }
  466. 100% {
  467. opacity: 0;
  468. transform: translateY(-50rpx);
  469. }
  470. }
  471. }