index.wxss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797
  1. @import "./index.skeleton.wxss";
  2. page {
  3. background: #F7F7F7;
  4. }
  5. .navigationBar {
  6. /* background: #FFFFFF; */
  7. }
  8. .commonHead.isTop{
  9. background: #FFFFFF;
  10. }
  11. .commonHead {
  12. width: 100%;
  13. height: 128rpx;
  14. box-sizing: border-box;
  15. -webkit-box-sizing: border-box;
  16. -moz-box-sizing: border-box;
  17. overflow: hidden;
  18. position: fixed;
  19. top: 0;
  20. left: 0;
  21. bottom: 0;
  22. z-index: 999;
  23. transition: all .15s;
  24. }
  25. .commonContent{
  26. width: 100%;
  27. position: relative;
  28. }
  29. .commonHeadWrap {
  30. position: absolute;
  31. overflow: hidden;
  32. left: 0;
  33. bottom: 9px;
  34. width: 100%;
  35. padding-left: 0;
  36. display: flex;
  37. align-items: center;
  38. }
  39. .headIconBox {
  40. height: 100%;
  41. margin-right: 8px;
  42. padding-left: 16px;
  43. }
  44. .headIconBox .icon {
  45. width: 24px;
  46. height: 24px;
  47. }
  48. .commonHeadTextBox {
  49. /* width: 450rpx; */
  50. width: 100%;
  51. height: 100%;
  52. line-height: 44px;
  53. text-align: center;
  54. font-size: 15px;
  55. overflow: hidden;
  56. justify-content: flex-end;
  57. }
  58. .headTitle {
  59. width: 360rpx;
  60. margin: 0 auto;
  61. font-size: 16px;
  62. font-weight: bold;
  63. white-space: nowrap;
  64. overflow: hidden;
  65. text-overflow: ellipsis;
  66. color: #161719;
  67. }
  68. .pageContainer {
  69. position: relative;
  70. }
  71. .indexTopContent {
  72. position: relative;
  73. }
  74. .pageTopBack {
  75. height: 108rpx;
  76. }
  77. .pageBack {
  78. position: absolute;
  79. top: 0;
  80. left: 0;
  81. right: 0;
  82. width: 100%;
  83. height: 332rpx;
  84. }
  85. .swiperBox {
  86. height: 260rpx;
  87. overflow: hidden;
  88. position: relative;
  89. padding: 0 32rpx;
  90. margin-bottom: 24rpx;
  91. -webkit-backface-visibility: hidden;
  92. -webkit-transform: translate3d(0, 0, 0);
  93. }
  94. .swiperBox.sel {
  95. margin-bottom: 0;
  96. }
  97. .pageContent {
  98. padding-top: 24rpx;
  99. }
  100. .pageContent.noBanner{
  101. /* padding-top: 0; */
  102. }
  103. /* .pageContent{
  104. padding-top: 320rpx;
  105. }
  106. .pageContent.noBanner{
  107. padding-top: 388rpx;
  108. } */
  109. .swiperBox swiper {
  110. height: 260rpx;
  111. overflow: hidden;
  112. border-radius: 16rpx;
  113. -webkit-backface-visibility: hidden;
  114. -webkit-transform: translate3d(0, 0, 0);
  115. }
  116. .swiperBox swiper.sel {
  117. pointer-events: none;
  118. }
  119. .swiperBox.twoSwiper {
  120. height: 906rpx !important;
  121. margin-bottom: 8rpx;
  122. margin-top: 24rpx;
  123. }
  124. .twoSwiperImage {
  125. height: 906rpx;
  126. overflow: hidden;
  127. border-radius: 16rpx;
  128. }
  129. .swiperBox.twoSwiper swiper {
  130. height: 906rpx !important;
  131. }
  132. .swiperBox .swiperImg {
  133. width: 100%;
  134. border-radius: 16rpx;
  135. height: 100%;
  136. }
  137. .wx-swiper-dots.wx-swiper-dots-horizontal {
  138. display: flex;
  139. position: absolute;
  140. z-index: 10;
  141. bottom: 16rpx;
  142. justify-content: center;
  143. left: 60rpx;
  144. }
  145. .pageOneSwiper .wx-swiper-dots.wx-swiper-dots-horizontal {
  146. bottom: 92rpx !important;
  147. left: 50%;
  148. transform: translateX(-50%);
  149. }
  150. .wx-swiper-dots .wx-swiper-dot {
  151. width: 8rpx;
  152. height: 8rpx;
  153. background: rgba(255, 255, 255, 0.7);
  154. margin: 0 6rpx !important;
  155. border-radius: 50%;
  156. }
  157. .wx-swiper-dots .wx-swiper-dot.wx-swiper-dot-active {
  158. width: 24rpx;
  159. height: 8rpx;
  160. background: #FFFFFF;
  161. border-radius: 4rpx;
  162. opacity: 1;
  163. }
  164. .tabList {
  165. white-space: nowrap;
  166. overflow: scroll;
  167. display: flex;
  168. /* margin-top: 8rpx; */
  169. -webkit-overflow-scrolling: touch;
  170. }
  171. ::-webkit-scrollbar {
  172. display: none;
  173. width: 0;
  174. height: 0;
  175. color: transparent;
  176. }
  177. .tabBox {
  178. height: 92rpx;
  179. }
  180. .tabItem {
  181. height: 100%;
  182. padding: 0 16rpx;
  183. display: inline-block;
  184. position: relative;
  185. overflow: hidden;
  186. }
  187. .tabItem:first-child {
  188. padding-left: 32rpx;
  189. }
  190. .tabItem:last-child {
  191. padding-right: 32rpx;
  192. }
  193. .tabBox.noBanner {
  194. background: white;
  195. height: 114rpx;
  196. margin-bottom: 16rpx;
  197. }
  198. .tabBox.noBanner .tabItem {
  199. background: white;
  200. }
  201. .tabText {
  202. height: 100%;
  203. font-size: 32rpx;
  204. color: #5f6268;
  205. /* transition: all .2s; */
  206. padding-top: 12rpx;
  207. }
  208. .tabText.sel {
  209. font-size: 36rpx;
  210. font-weight: bold;
  211. color: #DF3120;
  212. }
  213. .tabItem .tag {
  214. position: absolute;
  215. width: 60rpx;
  216. height: 8rpx;
  217. left: 50%;
  218. margin-left: -30rpx;
  219. /* top: 98rpx; */
  220. bottom: 0;
  221. background: #DF3120;
  222. border-radius: 4rpx;
  223. }
  224. .noBanner .tabItem .tag {
  225. top: 88rpx !important;
  226. bottom: auto !important;
  227. }
  228. .noBanner .tabText {
  229. padding-top: 0;
  230. }
  231. .tabItem.a .tag {
  232. margin-left: -22rpx;
  233. }
  234. .goodsList {
  235. flex-wrap: wrap;
  236. padding: 0 24rpx 16rpx 24rpx;
  237. }
  238. .goodsItem {
  239. width: 50%;
  240. margin-bottom: 16rpx;
  241. }
  242. .goodsContent {
  243. margin: 0 8rpx;
  244. height: 550rpx;
  245. background: #ffffff;
  246. border-radius: 16rpx;
  247. overflow: hidden;
  248. display: flex;
  249. flex-direction: column;
  250. }
  251. .goodsImgBox {
  252. width: 100%;
  253. height: 336rpx;
  254. }
  255. .goodsImgBox image {
  256. width: 100%;
  257. height: 100%;
  258. }
  259. .goodsInfoBox {
  260. padding: 16rpx;
  261. display: flex;
  262. position: relative;
  263. flex: 1;
  264. flex-direction: column;
  265. justify-content: space-between;
  266. }
  267. .goodsInfoBox .title {
  268. font-size: 28rpx;
  269. color: #161719;
  270. }
  271. .goodsNameText{
  272. display: inline;
  273. }
  274. .goodsInfoBox .title .icon{
  275. vertical-align: middle;
  276. width: 88rpx;
  277. height: 36rpx;
  278. margin-right: 8rpx;
  279. position: relative;
  280. top: -2rpx;
  281. }
  282. .goodsInfoBox .title .goodsMyZy{
  283. width: 116rpx;
  284. }
  285. .goodsInfoBox .sales {
  286. font-size: 24rpx;
  287. color: #909297;
  288. padding-top: 4rpx;
  289. }
  290. .sales .number{
  291. margin-left: -4rpx;
  292. }
  293. .botBox {
  294. /* padding-top: 16rpx; */
  295. padding-bottom: 12rpx;
  296. }
  297. .priceBox {
  298. color: #e73e2d;
  299. font-size: 24rpx;
  300. align-items: baseline;
  301. }
  302. .priceBox .pra {
  303. font-weight: bold;
  304. font-size: 36rpx;
  305. margin-left: 6rpx;
  306. }
  307. .linkprice{
  308. font-size: 20rpx;
  309. color: #909297;
  310. margin-right: 2rpx;
  311. padding-top: 12rpx;
  312. margin-left: 8rpx;
  313. align-items: baseline;
  314. }
  315. .linkprice .lPr{
  316. text-decoration: line-through;
  317. font-size: 22rpx;
  318. }
  319. .addCartBox{
  320. font-size: 0;
  321. position: absolute;
  322. z-index: 10;
  323. right: 0;
  324. bottom: 0;
  325. padding: 0 16rpx 24rpx 16rpx;
  326. }
  327. .addCartBox image {
  328. width: 56rpx;
  329. height: 56rpx;
  330. }
  331. .commonHead.isTop .searchCon{
  332. background: #F7F7F7 !important;
  333. width: 235px !important;
  334. margin-left: 16px !important;
  335. }
  336. .searchCon.noLeft{
  337. width: 235px;
  338. margin-left: 16px;
  339. }
  340. .searchCon {
  341. background: #ffffff;
  342. border-radius: 20px;
  343. padding: 0 8px;
  344. width: 205px;
  345. height: 32px;
  346. }
  347. .searchCon .icon{
  348. width: 24px;
  349. height: 24px;
  350. }
  351. .searchCon .searchText {
  352. font-size: 14px;
  353. color: #909297;
  354. margin-left: 4px;
  355. text-align: center;
  356. }
  357. .videoContent{
  358. padding: 0 32rpx;
  359. }
  360. .videoBox{
  361. width: 100%;
  362. height: 380rpx;
  363. border-radius: 16rpx;
  364. overflow: hidden;
  365. -webkit-backface-visibility: hidden;
  366. -webkit-transform: translate3d(0, 0, 0);
  367. position: relative;
  368. margin-bottom: 32rpx;
  369. }
  370. .videoBox video{
  371. width: 100%;
  372. height: 100%;
  373. border-radius: 16rpx;
  374. }
  375. .videoImageBox{
  376. position: absolute;
  377. top: 0;
  378. left: 0;
  379. right: 0;
  380. bottom: 0;
  381. z-index: 1;
  382. border-radius: 16rpx;
  383. overflow: hidden;
  384. -webkit-backface-visibility: hidden;
  385. -webkit-transform: translate3d(0, 0, 0);
  386. background: #FFFFFF;
  387. }
  388. .videoIcon{
  389. position: absolute;
  390. z-index: 99;
  391. width: 96rpx;
  392. height: 96rpx;
  393. margin-left: -48rpx;
  394. margin-top: -48rpx;
  395. top: 50%;
  396. left: 50%;
  397. }
  398. .videoCover{
  399. width: 100%;
  400. height: 100%;
  401. }
  402. .videoMantle{
  403. width: 100%;
  404. height: 100%;
  405. position: absolute;
  406. top: 0;
  407. right: 0;
  408. bottom: 0;
  409. left: 0;
  410. z-index: 1;
  411. background: rgba(0, 0, 0, 0.2);
  412. }
  413. .pageTopCom{
  414. position: relative;
  415. font-size: 0;
  416. }
  417. .pageRow1{
  418. z-index: 2;
  419. }
  420. .pageItem{
  421. position: relative;
  422. font-size: 0;
  423. overflow: hidden;
  424. }
  425. .pageIOne{
  426. height: 968rpx;
  427. width: 100%;
  428. }
  429. .clickList{
  430. position: absolute;
  431. z-index: 10;
  432. left: 20rpx;
  433. right: 0;
  434. bottom: 120rpx;
  435. }
  436. .clickItem{
  437. width: 285rpx;
  438. height: 168rpx;
  439. background: transparent;
  440. }
  441. .pageITwo{
  442. width: 100%;
  443. height: 406rpx;
  444. }
  445. .rightBack{
  446. width: 110rpx;
  447. height: 1760rpx;
  448. position: absolute;
  449. right: 0;
  450. z-index: 10;
  451. top: 0;
  452. }
  453. .rightBack.two{
  454. height: 1342rpx;
  455. }
  456. .imageTy{
  457. width: 100%;
  458. top: -68rpx;
  459. right: 0;
  460. left: 0;
  461. height: 147rpx;
  462. z-index: 1;
  463. position: absolute;
  464. }
  465. .pageIThree{
  466. width: 100%;
  467. height: 942rpx;
  468. }
  469. .rowTitleBox{
  470. position: relative;
  471. height: 164rpx;
  472. overflow: hidden;
  473. }
  474. .rowTitleBox.mt{
  475. margin-top: 80rpx;
  476. }
  477. .titleBack{
  478. position: absolute;
  479. z-index: -1;
  480. right: 0;
  481. left: 0;
  482. height: 100%;
  483. width: 100%;
  484. top: 0;
  485. bottom: 0;
  486. }
  487. .titleValue{
  488. font-size: 32rpx;
  489. font-weight: bold;
  490. color: #6C4208;
  491. max-width: 400rpx;
  492. padding-top: 2rpx;
  493. }
  494. .gInfoBox .gTitle{
  495. font-size: 32rpx;
  496. font-weight: bold;
  497. color: #6C4208;
  498. }
  499. .gInfoBox .gTool{
  500. font-size: 32rpx;
  501. color: #6C4208;
  502. margin-top: 4rpx;
  503. }
  504. .gInfoBox .gLink{
  505. width: 276rpx;
  506. height: 2rpx;
  507. background: rgba(108, 66, 8, 0.20000000298023224);
  508. margin-top: 20rpx;
  509. }
  510. .gInfoBox .gPrice{
  511. margin-top: 36rpx;
  512. font-size: 24rpx;
  513. color: #E73E2D;
  514. }
  515. .gInfoBox .gPrice .pSel{
  516. font-size: 44rpx;
  517. font-weight: bold;
  518. }
  519. .gInfoBox .gImgBot{
  520. padding-top: 22rpx;
  521. }
  522. .gInfoBox .gImgBot image{
  523. width: 192rpx;
  524. height: 68rpx;
  525. }
  526. .pageGoodsBB{
  527. height: 130rpx;
  528. width: 100%;
  529. margin-top: 40rpx;
  530. }
  531. .pageBotBack{
  532. background: #F7F7F7;
  533. }
  534. /* 轮播图1 */
  535. .swiperContainer{
  536. width: 100%;
  537. height: 800rpx;
  538. position: relative;
  539. }
  540. .oneSwiperImage {
  541. width: 100%;
  542. height: 800rpx;
  543. overflow: hidden;
  544. }
  545. .swiperImage{
  546. width: 100%;
  547. height: 100%;
  548. }
  549. .noOneData{
  550. width: 100%;
  551. height: 800rpx;
  552. position: relative;
  553. }
  554. .pageMainItemBox{
  555. padding: 0 32rpx;
  556. }
  557. /* 轮播图2 */
  558. .swiperContainer.two{
  559. height: 250rpx;
  560. overflow: hidden;
  561. border-radius: 8rpx;
  562. margin-bottom: 32rpx;
  563. -webkit-backface-visibility: hidden;
  564. -webkit-transform: translate3d(0, 0, 0);
  565. }
  566. .swiperContainer.two .oneSwiperImage{
  567. height: 250rpx;
  568. border-radius: 8rpx;
  569. overflow: hidden;
  570. }
  571. .swiperContainer.two .swiperImage{
  572. height: 100%;
  573. }
  574. .imageBannerRight{
  575. position: absolute;
  576. z-index: 10;
  577. right: 0;
  578. top: 0;
  579. height: 911rpx;
  580. width: 38rpx;
  581. }
  582. .benefitBox{
  583. margin-top: -68rpx;
  584. position: relative;
  585. z-index: 10;
  586. }
  587. .benefitItem{
  588. width: 356rpx;
  589. height: 236rpx;
  590. position: relative;
  591. }
  592. .benefitItem .back{
  593. position: absolute;
  594. top: 0;
  595. right: 0;
  596. bottom: 0;
  597. left: 0;
  598. z-index: 1;
  599. width: 100%;
  600. height: 100%;
  601. }
  602. .pageKkBox{
  603. margin-bottom: 24rpx;
  604. }
  605. .pageKkBox image{
  606. width: 638rpx;
  607. height: 30rpx;
  608. }
  609. .exploreList{
  610. display: flex;
  611. flex-wrap: wrap;
  612. padding: 0 20rpx 8rpx 20rpx;
  613. }
  614. .exploreItem{
  615. width: 50%;
  616. margin-bottom: 24rpx;
  617. height: 296rpx;
  618. }
  619. .exploreCon{
  620. margin: 0 12rpx;
  621. border-radius: 8rpx;
  622. overflow: hidden;
  623. height: 100%;
  624. }
  625. .exploreCon image{
  626. width: 100%;
  627. height: 100%;
  628. }
  629. .pageShare{
  630. z-index: 60;
  631. position: fixed;
  632. right: 0rpx;
  633. bottom: 46rpx;
  634. padding: 0 !important;
  635. width: 120rpx !important;
  636. height: 120rpx !important;
  637. margin: 0 !important;
  638. background: transparent !important;
  639. font-size: 0 !important;
  640. }
  641. .pageShare .shareIcon{
  642. width: 120rpx;
  643. height: 120rpx;
  644. }
  645. .pageModelTitle{
  646. margin-bottom: 24rpx;
  647. }
  648. .pageModelTitle .name{
  649. margin: 0 24rpx;
  650. font-size: 36rpx;
  651. font-weight: bold;
  652. color: #DF3120;
  653. }
  654. .pageModelTitle .icon{
  655. height: 4rpx;
  656. width: 246rpx;
  657. }
  658. .pageModelTitle .icon.right{
  659. transform: rotate(180deg);
  660. }
  661. .popupModal{
  662. font-size: 0;
  663. width: 100%;
  664. height: 640rpx;
  665. position: relative;
  666. }
  667. .popupImage{
  668. width: 100%;
  669. height: 100%;
  670. border-radius: 16rpx;
  671. }
  672. .closeIcon{
  673. position: absolute;
  674. z-index: 10;
  675. bottom: -108rpx;
  676. padding: 20rpx;
  677. left: 50%;
  678. transform: translateX(-50%);
  679. }
  680. .closeIcon .icon{
  681. width: 48rpx;
  682. height: 48rpx;
  683. }
  684. .menmberContent{
  685. width: 686rpx;
  686. height: 132rpx;
  687. border-radius: 16rpx;
  688. margin: 0 auto 32rpx auto;
  689. }
  690. .menmberContent .icon{
  691. height: 100%;
  692. width: 100%;
  693. }
  694. .activityContainer{
  695. font-size: 0;
  696. }
  697. .activityBack{
  698. width: 100%;
  699. }
  700. .activityMain{
  701. position: absolute;
  702. top: 0;
  703. left: 0;
  704. right: 0;
  705. width: 100%;
  706. z-index: 10;
  707. border: 1px scroll gold;
  708. }
  709. .activityViewItem{
  710. border: 1px solid red;
  711. position: absolute;
  712. }
  713. .swiperContent{
  714. -webkit-backface-visibility: hidden;
  715. -webkit-transform: translate3d(0, 0, 0);
  716. }
  717. .swiperNewBox{
  718. width: 100%;
  719. height: 100%;
  720. }
  721. .swiperItem{
  722. width: 100%;
  723. height: 100%;
  724. }
  725. .swiperImage{
  726. width: 100%;
  727. height: 100%;
  728. }
  729. .activityContainer .wx-swiper-dots.wx-swiper-dots-horizontal {
  730. left: 50% !important;
  731. transform: translateX(-50%) !important;
  732. }
  733. .robBox{
  734. position: absolute;
  735. z-index: 10;
  736. right: 0;
  737. bottom: 0;
  738. padding-left: 12rpx;
  739. padding-top: 12rpx;
  740. padding-bottom: 14rpx;
  741. padding-right: 14rpx;
  742. }
  743. .robBox .icon{
  744. width: 72rpx;
  745. height: 72rpx;
  746. }