index.less 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  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. .addPhone {
  342. // margin: 24rpx 40rpx 24rpx;
  343. border-bottom: 1px solid #F6F6F6;
  344. // overflow: hidden;
  345. // background-color: #fff;
  346. .van-cell {
  347. padding-left: 0;
  348. padding-right: 0;
  349. border: none;
  350. }
  351. }
  352. }
  353. .btnSections {
  354. margin-top: 20rpx;
  355. padding: 0 40rpx;
  356. button {
  357. width: 100%;
  358. line-height: 88rpx;
  359. background: url("https://oss.dayaedu.com/ktyq/1738898417485.png") no-repeat;
  360. background-size: 100% 100%;
  361. font-weight: 500;
  362. font-size: 32rpx;
  363. color: #FFFFFF;
  364. padding-top: 0;
  365. padding-bottom: 0;
  366. border-radius: 78rpx;
  367. &[disabled][type=primary] {
  368. color: #fff;
  369. opacity: 0.7;
  370. }
  371. }
  372. }
  373. .goodsInfo {
  374. padding: 0 40rpx;
  375. max-height: 33vh;
  376. overflow-x: hidden;
  377. overflow-y: auto;
  378. &::-webkit-scrollbar {
  379. display: none;
  380. }
  381. .desc {
  382. margin-top: 48rpx;
  383. font-weight: 600;
  384. font-size: 28rpx;
  385. line-height: 40rpx;
  386. color: #131415;
  387. &:first-child{
  388. margin-top: 0;
  389. }
  390. text{
  391. color: #FD4502;
  392. }
  393. }
  394. .goodsList {
  395. display: flex;
  396. flex-wrap: wrap;
  397. &.instrumentsList{
  398. padding-bottom: 40rpx;
  399. .goodsItem{
  400. padding: 10rpx 24rpx;
  401. }
  402. }
  403. .goodsItem {
  404. margin-right: 24rpx;
  405. margin-top: 24rpx;
  406. padding: 10rpx 30rpx;
  407. background: #F2F2F2;
  408. border-radius: 12rpx;
  409. font-weight: 400;
  410. font-size: 28rpx;
  411. color: #444444;
  412. line-height: 40rpx;
  413. position: relative;
  414. border:2.4rpx solid transparent;
  415. &.instrumentsGoodsItem{
  416. display: flex;
  417. align-items: center;
  418. view{
  419. margin: 0 16rpx;
  420. width: 2rpx;
  421. height: 32rpx;
  422. background: rgba(0,0,0,0.3);
  423. }
  424. }
  425. &.nosale{
  426. color: #BBBBBB;
  427. }
  428. &.selected{
  429. background: #E6FADB;
  430. font-weight: 600;
  431. color: #0AAF5F;
  432. border-color: #51BA35;
  433. border-radius: 12rpx;
  434. view{
  435. background: #0AAF5F;
  436. }
  437. }
  438. .iconSale{
  439. position: absolute;
  440. width: 56rpx;
  441. height: 28rpx;
  442. right: -14rpx;
  443. top: -14rpx;
  444. }
  445. }
  446. }
  447. }
  448. }
  449. }
  450. .showMoreContainer {
  451. position: fixed;
  452. bottom: 0;
  453. width: 100%;
  454. left: 0;
  455. right: 0;
  456. height: 378rpx;
  457. background: linear-gradient( 180deg, rgba(255,255,255,0) 0%, #FFFFFF 100%);
  458. display: flex;
  459. justify-content: center;
  460. align-items: flex-end;
  461. pointer-events: none;
  462. .iconUpScroll {
  463. width: 80rpx;
  464. height: 80rpx;
  465. margin-bottom: 60rpx;
  466. animation: breathe 2s infinite cubic-bezier(0, 0.21, 0, 0.88);
  467. // transition: all cubic-bezier(0, 0.21, 0, 0.88);
  468. }
  469. @keyframes breathe {
  470. 0% {
  471. opacity: 1;
  472. transform: translateY(0rpx);
  473. }
  474. 75%{
  475. opacity: 1;
  476. }
  477. 100% {
  478. opacity: 0;
  479. transform: translateY(-50rpx);
  480. }
  481. }
  482. }