index.less 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498
  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. margin-bottom: 40rpx;
  156. }
  157. .iconClose {
  158. position: absolute;
  159. right: 40rpx;
  160. top: 50rpx;
  161. width: 32rpx;
  162. height: 32rpx;
  163. }
  164. .product-section {
  165. display: flex;
  166. padding: 0 26rpx;
  167. .product-img {
  168. width: 160rpx;
  169. height: 160rpx;
  170. flex-shrink: 0;
  171. margin-right: 32rpx;
  172. border-radius: 6px;
  173. overflow: hidden;
  174. image {
  175. width: 100%;
  176. height: 100%;
  177. }
  178. }
  179. .product-left {
  180. display: flex;
  181. flex-direction: column;
  182. align-items: flex-start;
  183. justify-content: center;
  184. overflow: hidden;
  185. .price-s {
  186. display: flex;
  187. align-items: center;
  188. .priceImg {
  189. margin-right: 8rpx;
  190. width: 96rpx;
  191. height: 40rpx;
  192. }
  193. .currentPrice {
  194. font-weight: bold;
  195. color: #FE462E;
  196. font-family: DINAlternate, DINAlternate;
  197. line-height: 1;
  198. .stuff {
  199. font-size: 32rpx;
  200. }
  201. .numberDisplay--integer {
  202. line-height: 60rpx;
  203. font-size: 52rpx;
  204. }
  205. .numberDisplay--decimal {
  206. font-size: 32rpx;
  207. }
  208. }
  209. .originPrice {
  210. margin-left: 12rpx;
  211. font-weight: 400;
  212. font-size: 28rpx;
  213. color: #AAAAAA;
  214. }
  215. }
  216. .current-s {
  217. margin-top: 16rpx;
  218. font-weight: 400;
  219. font-size: 26rpx;
  220. color: #777777;
  221. line-height: 36rpx;
  222. width: 100%;
  223. white-space: nowrap;
  224. overflow: hidden;
  225. text-overflow: ellipsis;
  226. }
  227. .discountCon {
  228. margin-top: 10rpx;
  229. font-weight: 400;
  230. font-size: 24rpx;
  231. color: #FD4502;
  232. line-height: 32rpx;
  233. border-radius: 6rpx;
  234. border: 2rpx solid #FD4502;
  235. padding: 4rpx 8rpx;
  236. }
  237. }
  238. }
  239. .memberBox {
  240. margin: 48rpx 26rpx;
  241. background: #F5F6F7;
  242. border-radius: 20rpx;
  243. border: 3rpx solid transparent;
  244. &.showMemberInfoTip{
  245. border-color: #FD4502;
  246. }
  247. .memberCon {
  248. padding: 24rpx;
  249. display: flex;
  250. justify-content: space-between;
  251. position: relative;
  252. .memberImg {
  253. margin-top: 4rpx;
  254. width: 44rpx;
  255. height: 44rpx;
  256. flex-shrink: 0;
  257. }
  258. .infoBox {
  259. margin-left: 12rpx;
  260. display: flex;
  261. flex-direction: column;
  262. flex-grow: 1;
  263. margin-right: 42rpx;
  264. overflow: hidden;
  265. .topInfo {
  266. font-weight: 600;
  267. font-size: 28rpx;
  268. color: #131415;
  269. line-height: 40rpx;
  270. }
  271. .info {
  272. margin-top: 14rpx;
  273. font-weight: 400;
  274. font-size: 24rpx;
  275. color: rgba(19, 20, 21, 0.4);
  276. line-height: 34rpx;
  277. white-space: nowrap;
  278. overflow: hidden;
  279. text-overflow: ellipsis;
  280. }
  281. .infoCon {
  282. display: flex;
  283. align-items: center;
  284. .name {
  285. white-space: nowrap;
  286. overflow: hidden;
  287. text-overflow: ellipsis;
  288. }
  289. .phone {
  290. flex-shrink: 0;
  291. margin-left: 16rpx;
  292. }
  293. }
  294. }
  295. .chevronImg {
  296. position: absolute;
  297. right: 24rpx;
  298. top: 50%;
  299. transform: translateY(-50%);
  300. width: 32rpx;
  301. height: 32rpx;
  302. }
  303. }
  304. }
  305. .btnSections {
  306. margin-top: 20rpx;
  307. padding: 0 26rpx;
  308. button {
  309. width: 100%;
  310. line-height: 88rpx;
  311. background: url("https://oss.dayaedu.com/ktyq/1739528494657.png") no-repeat;
  312. background-size: 100% 100%;
  313. font-weight: 500;
  314. font-size: 32rpx;
  315. color: #FFFFFF;
  316. padding-top: 0;
  317. padding-bottom: 0;
  318. border-radius: 78rpx;
  319. &[disabled][type=primary] {
  320. color: #fff;
  321. opacity: 0.7;
  322. }
  323. }
  324. }
  325. .goodsInfo {
  326. margin-top: 48rpx;
  327. padding: 0 26rpx;
  328. max-height: 578rpx;
  329. overflow-x: hidden;
  330. overflow-y: auto;
  331. &::-webkit-scrollbar {
  332. display: none;
  333. }
  334. .desc {
  335. margin-top: 48rpx;
  336. font-weight: 400;
  337. font-size: 26rpx;
  338. color: #777777;
  339. line-height: 36rpx;
  340. &:first-child {
  341. margin-top: 0;
  342. }
  343. }
  344. .goodsList {
  345. display: flex;
  346. flex-wrap: wrap;
  347. &.instrumentsList {
  348. .goodsItem {
  349. padding: 10rpx 24rpx;
  350. }
  351. }
  352. .goodsItem {
  353. margin-right: 24rpx;
  354. margin-top: 24rpx;
  355. padding: 12rpx 50rpx;
  356. border-radius: 34rpx;
  357. font-weight: 400;
  358. font-size: 26rpx;
  359. color: #444444;
  360. line-height: 36rpx;
  361. position: relative;
  362. border: 2.4rpx solid #DCDCDC;
  363. &.instrumentsGoodsItem {
  364. display: flex;
  365. align-items: center;
  366. view {
  367. margin: 0 16rpx;
  368. width: 2rpx;
  369. height: 32rpx;
  370. background: rgba(0, 0, 0, 0.3);
  371. }
  372. }
  373. &.nosale {
  374. color: #BBBBBB;
  375. }
  376. &.selected {
  377. background: rgba(255,240,238,0.5);
  378. color: #FE462E;
  379. border-color: rgba(254,70,46,0.5);
  380. }
  381. .iconSale {
  382. position: absolute;
  383. width: 56rpx;
  384. height: 28rpx;
  385. right: -12rpx;
  386. top: -12rpx;
  387. }
  388. }
  389. }
  390. }
  391. }
  392. }
  393. .showMoreContainer {
  394. position: fixed;
  395. bottom: 0;
  396. width: 100%;
  397. left: 0;
  398. right: 0;
  399. height: 378rpx;
  400. background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
  401. display: flex;
  402. justify-content: center;
  403. align-items: flex-end;
  404. pointer-events: none;
  405. .iconUpScroll {
  406. width: 80rpx;
  407. height: 80rpx;
  408. margin-bottom: 60rpx;
  409. animation: breathe 2s infinite cubic-bezier(0, 0.21, 0, 0.88);
  410. // transition: all cubic-bezier(0, 0.21, 0, 0.88);
  411. }
  412. @keyframes breathe {
  413. 0% {
  414. opacity: 1;
  415. transform: translateY(0rpx);
  416. }
  417. 75% {
  418. opacity: 1;
  419. }
  420. 100% {
  421. opacity: 0;
  422. transform: translateY(-50rpx);
  423. }
  424. }
  425. }