index.less 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757
  1. /**index.less**/
  2. .pageContainer {
  3. height: 100vh;
  4. width: 100%;
  5. background: #F5F6F7;
  6. }
  7. .scrollarea {
  8. flex: 1;
  9. overflow-y: hidden;
  10. height: 100%;
  11. }
  12. .container {
  13. position: relative;
  14. }
  15. .shop-section {
  16. background: #FFFFFF;
  17. border-radius: 20rpx;
  18. margin: 16rpx 16rpx 0;
  19. padding: 24rpx 24rpx 40rpx;
  20. .showPrice {
  21. display: flex;
  22. justify-content: space-between;
  23. align-items: center;
  24. }
  25. .left {
  26. flex: 1 auto;
  27. display: flex;
  28. align-items: flex-end;
  29. }
  30. .currentPrice {
  31. font-weight: bold;
  32. color: #FE2451;
  33. font-family: DINAlternate, DINAlternate;
  34. .stuff {
  35. padding-right: 2rpx;
  36. font-size: 36rpx;
  37. }
  38. .priceZ {
  39. font-size: 60rpx;
  40. line-height: 1;
  41. }
  42. .priceF {
  43. font-size: 36rpx;
  44. }
  45. .after {
  46. padding-left: 4rpx;
  47. font-size: 28rpx;
  48. line-height: 48rpx;
  49. vertical-align: bottom;
  50. }
  51. }
  52. .originPrice {
  53. padding-left: 16rpx;
  54. font-size: 32rpx;
  55. color: #AAAAAA;
  56. line-height: 44rpx;
  57. text-decoration: line-through;
  58. padding-bottom: 12rpx;
  59. }
  60. .right {
  61. padding-top: 14rpx;
  62. font-weight: 400;
  63. font-size: 28rpx;
  64. color: #777777;
  65. line-height: 40rpx;
  66. }
  67. }
  68. .shopName {
  69. font-weight: 600;
  70. font-size: 32rpx;
  71. color: #131415;
  72. line-height: 44rpx;
  73. padding: 24rpx 0 14rpx;
  74. }
  75. .shopInfo {
  76. font-size: 24rpx;
  77. color: #999999;
  78. line-height: 38rpx;
  79. padding-bottom: 40rpx;
  80. }
  81. .shop-btn {
  82. button {
  83. line-height: 88rpx;
  84. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  85. border-radius: 44rpx;
  86. text-align: center;
  87. font-weight: 500;
  88. font-size: 32rpx;
  89. color: #FFFFFF;
  90. padding: 0 !important;
  91. margin: 0 !important;
  92. width: 100%;
  93. pointer-events: all;
  94. }
  95. }
  96. .goodsInfo {
  97. display: flex;
  98. .goodsList {
  99. display: flex;
  100. align-items: center;
  101. flex-wrap: wrap;
  102. }
  103. .goodsItem {
  104. line-height: 68rpx;
  105. background: #F4F4F5;
  106. border-radius: 12rpx;
  107. padding: 0 32rpx;
  108. margin-right: 24rpx;
  109. font-size: 28rpx;
  110. color: #131415;
  111. position: relative;
  112. margin-top: 24rpx;
  113. &.selected {
  114. background: #FEEDF0;
  115. font-weight: 600;
  116. color: #FE2451;
  117. }
  118. &.nosale {
  119. background: #F4F4F5;
  120. color: #B1B1B1;
  121. }
  122. image {
  123. position: absolute;
  124. top: -14rpx;
  125. right: -14rpx;
  126. width: 56rpx;
  127. height: 28rpx;
  128. display: block;
  129. z-index: 1;
  130. }
  131. }
  132. }
  133. .goodsIntro {
  134. background: #FFFFFF;
  135. overflow: hidden;
  136. .images {
  137. image {
  138. display: block;
  139. width: 100%;
  140. }
  141. }
  142. }
  143. .bottom-section {
  144. position: fixed;
  145. bottom: 0;
  146. left: 0;
  147. width: 100%;
  148. background-color: #FFFFFF;
  149. box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(0, 0, 0, 0.5);
  150. padding: 20rpx 64rpx 58rpx;
  151. display: flex;
  152. align-items: center;
  153. box-sizing: border-box;
  154. justify-content: space-around;
  155. .orders {
  156. display: flex;
  157. align-items: center;
  158. justify-content: center;
  159. margin-right: 40rpx;
  160. height: 94rpx;
  161. flex: 1;
  162. background: linear-gradient(90deg, #544F4A 0%, #302F2B 100%);
  163. box-shadow: 0rpx 14rpx 14rpx 0rpx rgba(0, 0, 0, 0.18);
  164. border-radius: 30rpx;
  165. border: 8rpx solid #FFFFFF;
  166. +.orders {
  167. margin-right: 0;
  168. }
  169. image {
  170. width: 46rpx;
  171. height: 46rpx;
  172. }
  173. text {
  174. padding-left: 8rpx;
  175. font-weight: 600;
  176. font-size: 32rpx;
  177. color: #FEFFCA;
  178. line-height: 44rpx;
  179. text-align: center;
  180. }
  181. }
  182. .btnSection {
  183. flex: 1 auto;
  184. button {
  185. width: 100%;
  186. line-height: 88rpx;
  187. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  188. border-radius: 44rpx;
  189. font-weight: 500;
  190. font-size: 32rpx;
  191. color: #FFFFFF;
  192. padding-top: 0;
  193. padding-bottom: 0;
  194. &[disabled][type=primary] {
  195. opacity: 0.7;
  196. }
  197. }
  198. }
  199. }
  200. // .van-overlay, .van-transition {
  201. // // pointer-events: all !important;
  202. // }
  203. // 'demo-text-1', 'demo-text-2', 'demo-text-3'
  204. .popup-section {
  205. max-height: 86vh;
  206. display: flex;
  207. flex-direction: column;
  208. .popup-container {
  209. // position: fixed;
  210. // bottom: 0;
  211. // left: 0;
  212. // right: 0;
  213. // z-index: 10;
  214. width: 100%;
  215. background: #FFFFFF;
  216. border-radius: 32rpx 32rpx 0rpx 0rpx;
  217. // padding: 40rpx 0 0;
  218. box-sizing: border-box;
  219. // flex: 1;
  220. max-height: 86vh;
  221. .popup-scroll {
  222. overflow-x: hidden;
  223. overflow-y: scroll;
  224. border-radius: 32rpx 32rpx 0rpx 0rpx;
  225. flex: 1 auto;
  226. }
  227. .top-vip-img {
  228. width: 100%;
  229. }
  230. .goodsInfo {
  231. padding: 0 40rpx 48rpx;
  232. }
  233. }
  234. .addBuyer {
  235. margin: 40rpx 40rpx;
  236. background: #F6F6F6;
  237. border-radius: 20rpx;
  238. display: flex;
  239. align-items: center;
  240. justify-content: space-between;
  241. padding: 28rpx 24rpx;
  242. .icon-man {
  243. width: 28rpx;
  244. height: 36rpx;
  245. margin-right: 16rpx;
  246. flex-shrink: 1;
  247. }
  248. .addBuyer-left {
  249. display: flex;
  250. flex: 1;
  251. .info {
  252. flex: 1;
  253. }
  254. }
  255. .users {
  256. font-weight: 600;
  257. font-size: 28rpx;
  258. color: #131415;
  259. line-height: 40rpx;
  260. text {
  261. padding-right: 24rpx;
  262. }
  263. }
  264. .address {
  265. padding-top: 12rpx;
  266. font-size: 24rpx;
  267. color: rgba(19, 20, 21, 0.4);
  268. line-height: 34rpx;
  269. word-break: break-all;
  270. }
  271. .arrow-right {
  272. width: 32rpx;
  273. height: 32rpx;
  274. flex-shrink: 1;
  275. }
  276. }
  277. .iconClose {
  278. position: absolute;
  279. right: 0;
  280. top: 0;
  281. z-index: 1;
  282. padding: 24rpx;
  283. width: 44rpx;
  284. height: 44rpx;
  285. }
  286. .product-section {
  287. display: flex;
  288. padding-bottom: 60rpx;
  289. .product-img {
  290. width: 160rpx;
  291. height: 160rpx;
  292. flex-shrink: 0;
  293. margin-right: 32rpx;
  294. border-radius: 6px;
  295. overflow: hidden;
  296. image {
  297. width: 100%;
  298. height: 100%;
  299. }
  300. }
  301. .product-left {
  302. display: flex;
  303. align-items: flex-start;
  304. .currentPrice {
  305. font-weight: bold;
  306. color: #FE2451;
  307. font-family: DINAlternate, DINAlternate;
  308. .stuff {
  309. padding-right: 2rpx;
  310. font-size: 36rpx;
  311. }
  312. .priceZ {
  313. font-size: 60rpx;
  314. }
  315. .priceF {
  316. font-size: 36rpx;
  317. }
  318. }
  319. .originPrice {
  320. padding-left: 16rpx;
  321. font-size: 32rpx;
  322. color: #AAAAAA;
  323. line-height: 44rpx;
  324. text-decoration: line-through;
  325. padding-top: 32rpx;
  326. }
  327. }
  328. }
  329. .goodsInfo {
  330. flex-direction: column;
  331. align-items: flex-start;
  332. padding-bottom: 90rpx;
  333. .desc {
  334. font-size: 28rpx;
  335. color: #131415;
  336. line-height: 40rpx;
  337. text {
  338. padding-left: 8rpx;
  339. font-size: 28rpx;
  340. color: #AAAAAA;
  341. line-height: 40rpx;
  342. }
  343. }
  344. }
  345. button {
  346. width: 100%;
  347. line-height: 88rpx;
  348. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  349. border-radius: 44rpx;
  350. font-weight: 500;
  351. font-size: 32rpx;
  352. color: #FFFFFF;
  353. padding-top: 0;
  354. padding-bottom: 0;
  355. }
  356. }
  357. .popupBottom {
  358. position: fixed;
  359. bottom: 0;
  360. left: 0;
  361. right: 0;
  362. background: #ffffff;
  363. border-top: 2rpx solid #F0F0F0;
  364. padding: 0 32rpx 58rpx;
  365. }
  366. .current-item {
  367. font-size: 24rpx;
  368. color: #999999;
  369. line-height: 40rpx;
  370. padding: 12rpx 12rpx 20rpx;
  371. .current-select-text {
  372. padding-top: 10rpx;
  373. font-size: 26rpx;
  374. line-height: 36rpx;
  375. }
  376. text {
  377. color: #ff0047;
  378. // font-weight: bold;
  379. }
  380. font-family: DINAlternate,
  381. DINAlternate;
  382. .current-top {
  383. display: flex;
  384. align-items: flex-end;
  385. line-height: 42rpx;
  386. }
  387. .line {
  388. color: #D2D2D2;
  389. padding: 0 12rpx;
  390. }
  391. .prices {
  392. display: flex;
  393. align-items: flex-end;
  394. padding-left: 8rpx;
  395. font-weight: bold;
  396. }
  397. .stuff {
  398. padding-right: 2rpx;
  399. font-size: 36rpx;
  400. }
  401. .priceZ {
  402. font-size: 60rpx;
  403. line-height: 1;
  404. }
  405. .priceF {
  406. font-size: 36rpx;
  407. }
  408. }
  409. /* components/buyerInformation/index.wxss */
  410. .icon-close-pop {
  411. position: absolute;
  412. z-index: 2;
  413. top: 28rpx;
  414. left: 20rpx;
  415. padding: 20rpx;
  416. width: 36rpx;
  417. height: 36rpx;
  418. }
  419. .container-pop {
  420. background: linear-gradient(180deg, #FFDEE7 0%, #FFFFFF 12%, #FFFFFF 100%);
  421. border-radius: 32rpx 32rpx 0rpx 0rpx;
  422. height: 86vh;
  423. display: flex;
  424. flex-direction: column;
  425. }
  426. .pop-address-title {
  427. position: relative;
  428. z-index: 1;
  429. text-align: center;
  430. padding-top: 40rpx;
  431. padding-bottom: 20rpx;
  432. font-weight: 600;
  433. font-size: 36rpx;
  434. color: #131415;
  435. line-height: 50rpx;
  436. }
  437. .section {
  438. margin: 24rpx 0;
  439. // background: linear-gradient(180deg, #E3F9FF 0%, #FFFFFF 9%, #FFFFFF 100%);
  440. border-radius: 18rpx;
  441. overflow-x: hidden;
  442. overflow-y: auto;
  443. flex: 1 auto;
  444. .section-content {
  445. // background: linear-gradient(180deg, #E3F9FF 0%, #FFFFFF 9%, #FFFFFF 100%);
  446. border-radius: 12rpx;
  447. overflow: hidden;
  448. }
  449. .section-title {
  450. width: 236rpx;
  451. height: 46rpx;
  452. margin: 20rpx 0 18rpx 28rpx;
  453. }
  454. .van-cell {
  455. padding: 40rpx !important;
  456. font-size: 30rpx !important;
  457. line-height: 42rpx;
  458. background-color: transparent !important;
  459. .van-field__label {
  460. color: #666666;
  461. }
  462. .van-icon-arrow {
  463. color: #BBBBBB;
  464. // font-weight: 600;
  465. }
  466. }
  467. // .gender-section {
  468. // display: flex;
  469. // .gender-item {
  470. // margin-left: 24rpx;
  471. // background: rgba(28, 172, 241, 0.11);
  472. // border-radius: 12rpx;
  473. // font-weight: 500;
  474. // font-size: 28rpx;
  475. // color: #1CACF1;
  476. // width: 104rpx;
  477. // line-height: 48rpx;
  478. // text-align: center;
  479. // &.active {
  480. // background: #1CACF1;
  481. // color: #FFFFFF;
  482. // }
  483. // }
  484. // }
  485. }
  486. .pop-btn-group {
  487. padding: 24rpx 32rpx 58rpx;
  488. .submit-btn {
  489. width: 100% !important;
  490. margin: 0 !important;
  491. padding: 0 !important;
  492. line-height: 88rpx;
  493. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  494. border-radius: 88rpx;
  495. font-weight: 500;
  496. font-size: 32rpx;
  497. color: #fff;
  498. }
  499. }
  500. .van-picker__toolbar,
  501. .toolbar-top {
  502. margin: 0 40rpx !important;
  503. padding: 0 14rpx !important;
  504. border-bottom: 2rpx solid #F2F2F2;
  505. height: auto !important;
  506. line-height: normal !important;
  507. }
  508. .van-picker__cancel,
  509. .van-picker__confirm,
  510. .toolbar-cancel,
  511. toolbar-confirm {
  512. font-size: 32rpx !important;
  513. padding: 28rpx 0 !important;
  514. color: #777777 !important;
  515. }
  516. .van-picker__confirm,
  517. .toolbar-confirm {
  518. color: #FE2451 !important;
  519. }
  520. .toolbar-top {
  521. display: flex;
  522. align-items: center;
  523. justify-content: space-between;
  524. }
  525. .select-school {
  526. .van-cell {
  527. padding: 32rpx 40rpx;
  528. font-size: 32rpx;
  529. .van-icon-arrow {
  530. color: #BBBBBB;
  531. // font-weight: 600;
  532. }
  533. }
  534. }
  535. .searchList {
  536. .icon-search {
  537. width: 32rpx;
  538. height: 32rpx;
  539. margin: auto 10rpx auto auto;
  540. }
  541. .van-search {
  542. margin: 0 26rpx 0 !important;
  543. padding: 0 !important;
  544. height: 70rpx !important;
  545. background: #F6F6F6 !important;
  546. border-radius: 35rpx !important;
  547. border: 1rpx solid #FFFFFF !important;
  548. }
  549. .van-search__content {
  550. border-top-left-radius: 35rpx !important;
  551. border-bottom-left-radius: 35rpx !important;
  552. }
  553. .van-cell {
  554. font-size: 26rpx !important;
  555. }
  556. .searchBtn {
  557. width: 112rpx;
  558. line-height: 54rpx !important;
  559. padding: 0 !important;
  560. text-align: center;
  561. background: linear-gradient(270deg, #FF204B 0%, #FE5B71 100%);
  562. font-weight: 500;
  563. font-size: 28rpx;
  564. color: #FFFFFF;
  565. line-height: 40rpx;
  566. border-radius: 40rpx;
  567. margin-right: 6rpx;
  568. }
  569. }
  570. .van-action-sheet__description {
  571. font-size: 32rpx !important;
  572. color: #777777 !important;
  573. line-height: 44rpx !important;
  574. padding: 28 0rpx !important;
  575. margin: 0 26rpx !important;
  576. }
  577. .one-gender,
  578. .two-gender {
  579. font-weight: 600;
  580. padding: 24rpx 0 !important;
  581. font-size: 32rpx !important;
  582. margin: 0 40rpx 16rpx !important;
  583. width: calc(100% - 80rpx) !important;
  584. color: #000000 !important;
  585. line-height: 44rpx !important;
  586. }
  587. .one-gender {
  588. margin-top: 24rpx !important;
  589. }
  590. .two-gender {
  591. margin-bottom: 24rpx !important;
  592. }
  593. .van-action-sheet__gap {
  594. height: 2rpx !important;
  595. margin: 0 40rpx !important;
  596. }
  597. .cancel-gender {
  598. font-weight: 400 !important;
  599. color: #AAAAAA !important;
  600. }
  601. .van-picker-column__item--selected {
  602. font-weight: 600;
  603. font-size: 32rpx;
  604. color: #000 !important;
  605. }
  606. .empty-box {
  607. padding-top: 44rpx;
  608. padding-bottom: 48rpx;
  609. box-sizing: border-box;
  610. text-align: center;
  611. font-size: 32rpx;
  612. font-family: PingFangSC-Regular, PingFang SC;
  613. font-weight: 400;
  614. color: #999999;
  615. position: relative;
  616. .empty_loading {
  617. align-items: center;
  618. background-color: var(--picker-loading-mask-color, hsla(0, 0%, 100%, .9));
  619. bottom: 0;
  620. display: flex;
  621. justify-content: center;
  622. left: 0;
  623. position: absolute;
  624. right: 0;
  625. top: 0;
  626. z-index: 4;
  627. }
  628. image {
  629. width: 364rpx;
  630. height: 190rpx;
  631. }
  632. .empty-text {
  633. font-size: 28rpx;
  634. color: #777777;
  635. line-height: 40rpx;
  636. text-align: center;
  637. padding-top: 36rpx;
  638. }
  639. }