index.less 9.7 KB

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