index.less 13 KB

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