index.wxss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783
  1. /**index.wxss**/
  2. page{
  3. background-color: #fff;
  4. }
  5. /* .container{
  6. height:100vh;
  7. overflow:hidden;
  8. } */
  9. .banner_space{
  10. margin-top:82rpx;
  11. }
  12. ::-webkit-scrollbar{
  13. width: 0;
  14. height: 0;
  15. color: transparent;
  16. }
  17. ::-webkit-scrollbar-thumb{
  18. color:transparent;
  19. }
  20. ::-webkit-scrollbar-track-piece{
  21. color: transparent;
  22. }
  23. .header{
  24. display: flex;
  25. flex-direction: row;
  26. width:100%;
  27. height:82rpx;
  28. background-color:#1a1d1f;
  29. align-items: center;
  30. position: fixed;
  31. top:0;
  32. left:0;
  33. z-index:2;
  34. }
  35. .header_logo{
  36. /* width:126rpx;
  37. height:39rpx; */
  38. width:46rpx;
  39. /* height:128rpx; */
  40. margin-left:30rpx;
  41. }
  42. .header_search_wrap{
  43. flex: 1;
  44. padding:0 39rpx 0 24rpx;
  45. }
  46. .header_search{
  47. height:46rpx;
  48. border-radius:30rpx;
  49. color:#fff;
  50. background-color:#282c2f;
  51. display: flex;
  52. align-items: center;
  53. justify-content: left;
  54. }
  55. .header_search_icon{
  56. width:28rpx;
  57. height:28rpx;
  58. margin:0 8rpx 0 18rpx;
  59. }
  60. .header_search_placeholder{
  61. color:#969696;
  62. font-size: 22rpx;
  63. }
  64. .header_nav_wrap{
  65. width:100%;
  66. height:78rpx;
  67. color:#fff;
  68. background-color:#131617;
  69. overflow : auto ;
  70. position: fixed;
  71. top:82rpx;
  72. left:0;
  73. z-index:2;
  74. }
  75. .header_nav{
  76. white-space: nowrap;
  77. /* display: flex; */
  78. }
  79. .header_nav_each{
  80. display: inline-block;
  81. height:40rpx;
  82. font-size: 28rpx;
  83. line-height:44rpx;
  84. padding: 0 20rpx;
  85. margin:18rpx 20rpx;
  86. border:1rpx solid #131617;
  87. }
  88. .header_nav_active{
  89. border:1px solid #fff;
  90. border-radius: 20rpx;
  91. }
  92. .banner_wrap{
  93. /* height:350rpx; */
  94. overflow:hidden;
  95. /* margin-top:180rpx; */
  96. }
  97. .banner_wrap swiper{
  98. height:380rpx;
  99. }
  100. .banner_wrap .banner_null_class{
  101. height: 0;
  102. }
  103. .banner navigator{
  104. display: block;
  105. }
  106. .banner navigator,.slide-image{
  107. width:100%;
  108. height:100%;
  109. }
  110. .banner_space_small{
  111. height:24rpx;
  112. }
  113. /* 标题 */
  114. .content_title_wrap{
  115. width:100%;
  116. height:94rpx;
  117. position:relative;
  118. background-color: #fff;
  119. text-align: center;
  120. font-size: 32rpx;
  121. line-height: 94rpx;
  122. color: #6f7478;
  123. border-bottom: 1px solid #eaeced;
  124. text-overflow: ellipsis;
  125. overflow: hidden;
  126. white-space: nowrap;
  127. }
  128. .title_contemt{
  129. display: inline-block;
  130. padding:0 20rpx;
  131. max-width: 600rpx;
  132. height:50rpx;
  133. font-size: 32rpx;
  134. line-height: 50rpx;
  135. text-align: center;
  136. position: relative;
  137. margin-top:0;
  138. color: #6f7478;
  139. text-overflow: ellipsis;
  140. overflow: hidden;
  141. white-space: nowrap;
  142. }
  143. .dingzhi_content{
  144. /* padding:0 30rpx; */
  145. background-color: #fff;
  146. }
  147. .dingzhi_content navigator{
  148. padding-top:33rpx;
  149. margin-left:30rpx;
  150. }
  151. .dingzhi_content{
  152. display: flex;
  153. }
  154. .dingzhi_content_left,.dingzhi_content_right{
  155. width:50%;
  156. box-sizing: border-box;
  157. }
  158. .dingzhi_content_left{
  159. border-right: 1rpx solid #eaeced;
  160. }
  161. .dingzhi_title{
  162. font-size: 34rpx;
  163. font-weight: bold;
  164. max-width: 170rpx;
  165. text-overflow: ellipsis;
  166. overflow: hidden;
  167. white-space: nowrap;
  168. }
  169. .dingzhi_left_title{
  170. display: block;
  171. float:left;
  172. max-width: 210rpx;
  173. color:#db3e4a;
  174. padding-right: 10rpx ;
  175. text-overflow: ellipsis;
  176. overflow: hidden;
  177. white-space: nowrap;
  178. }
  179. .title_price{
  180. float: left;
  181. color: #fff;
  182. font-size: 24rpx;
  183. padding:8rpx;
  184. }
  185. .title_red{
  186. background-color: #db3e4a;
  187. }
  188. .title_green{
  189. background-color: #12b055;
  190. }
  191. .title_yellow{
  192. background-color: #ff8400;
  193. }
  194. /* 更多 */
  195. .navigator_more{
  196. font-size: 30rpx;
  197. height: 74rpx;
  198. line-height: 74rpx;
  199. color: #6f7478;
  200. text-align: center;
  201. background-color: #fff;
  202. border-top: 1rpx solid #eaeced;
  203. }
  204. .navigator_more_jiantou{
  205. width: 15rpx;
  206. height: 24rpx;
  207. margin-left: 15rpx;
  208. vertical-align: middle;
  209. line-height: inherit;
  210. margin-top: -4rpx;
  211. }
  212. .dingzhi_intro{
  213. width:170rpx;
  214. font-size: 24rpx;
  215. color:#8c9092;
  216. padding: 17rpx 0 10rpx 0;
  217. text-overflow: ellipsis;
  218. overflow: hidden;
  219. white-space: nowrap;
  220. }
  221. .dingzhi_intro_one{
  222. width:100%;
  223. }
  224. .dingzhi_img_lef_wrap{
  225. width:100%;
  226. height:300rpx;
  227. text-align: center;
  228. overflow:hidden;
  229. }
  230. .dingzhi_img_lef_wrap image{
  231. display: inline;
  232. max-width: 100%;
  233. max-height:100%;
  234. vertical-align:bottom;
  235. }
  236. .dingzhi_right navigator{
  237. /* display: flex; */
  238. position: relative;
  239. }
  240. .dingzhi_right{
  241. padding-left:20rpx;
  242. }
  243. .dingzhi_right_top{
  244. border-bottom: 1rpx solid #eaeced;
  245. padding-bottom: 33rpx;
  246. }
  247. .right_top_title{
  248. color: #12b055;
  249. }
  250. .right_bottom_title{
  251. color: #ff8400;
  252. }
  253. .dingzhi_right_img{
  254. float: right;
  255. width:130rpx;
  256. height: 130rpx;
  257. text-align: right;
  258. position: absolute;
  259. top: 50%;
  260. right:30rpx;
  261. margin-top: -32rpx;
  262. overflow:hidden;
  263. }
  264. .dingzhi_right_img image{
  265. display: inline;
  266. max-width:130rpx;
  267. max-height: 130rpx;
  268. }
  269. .dingzhi_right_left{
  270. float:left;
  271. width:170rpx;
  272. }
  273. .list{
  274. display: flex;
  275. justify-content: space-between;
  276. flex-wrap: wrap;
  277. background-color: #fff;
  278. }
  279. .list_item_wrap{
  280. width: 50%;
  281. box-sizing: border-box;
  282. border-bottom:1px solid #f0f0f0;
  283. }
  284. .list_item_wrap:nth-child(odd){
  285. border-right:1px solid #f0f0f0;
  286. }
  287. .list_item_wrap:nth-child(even){
  288. border-left:1px solid #f0f0f0;
  289. }
  290. .list_item{
  291. width: 100%;
  292. /* height:340rpx; */
  293. overflow: hidden;
  294. position: relative;
  295. margin: 0 auto;
  296. }
  297. .full_image{
  298. display: block;
  299. width: 100%;
  300. }
  301. .full_img_footer{
  302. width:100%;
  303. height:50rpx;
  304. font-size: 24rpx;
  305. line-height: 50rpx;
  306. color:#fff;
  307. text-align: center;
  308. background-color: rgba(0,0,0,0.6);
  309. position: absolute;
  310. left: 0;
  311. bottom: 0;
  312. }
  313. .full_title{
  314. height:72rpx;
  315. font-size: 30rpx;
  316. line-height: 36rpx;
  317. color:#444;
  318. text-overflow: ellipsis;
  319. overflow: hidden;
  320. display: -webkit-box;
  321. -webkit-line-clamp: 2;
  322. -webkit-box-orient: vertical;
  323. padding: 23rpx 20rpx 0 32rpx ;
  324. }
  325. .full_price{
  326. font: bold 30rpx "Microsoft Yahei";
  327. color:#b4a078;
  328. padding: 34rpx 0 30rpx 32rpx;
  329. }
  330. .full_price_unit{
  331. font: normal normal 22rpx Arial;
  332. text-decoration: line-through;
  333. color:#c8c8c8;
  334. padding-left:26rpx;
  335. }
  336. /* 列表结束 */
  337. .list_banner{
  338. position: relative;
  339. }
  340. .list_item_banner_wrap,.list_item_banner{
  341. width:100%;
  342. }
  343. .jingpin_infor{
  344. width: 100%;
  345. height: 100%;
  346. background-color: rgba(0, 0, 0, 0.13);
  347. position: absolute;
  348. top: 0;
  349. left: 0;
  350. text-align: center;
  351. }
  352. .jingpin_infor:before {
  353. content: '';
  354. display: inline-block;
  355. height: 100%;
  356. vertical-align: middle;
  357. }
  358. .jingpin_infor_cont {
  359. display: inline-block;
  360. vertical-align: middle;
  361. }
  362. .jingpin_infor_title{
  363. font-size: 34rpx;
  364. line-height: 102rpx;
  365. color:#fff;
  366. text-shadow: 5rpx 0rpx 6rpx #040000;
  367. }
  368. .jingpin_icon{
  369. width: 24rpx;
  370. height: 24rpx;
  371. }
  372. .jingpin_infor_det text{
  373. font-size: 28rpx;
  374. color:#fff;
  375. padding:0 17rpx 0 9rpx;
  376. }
  377. .space_line{
  378. width: 100%;
  379. height: 20rpx;
  380. background-color: #f4f4f4;
  381. }
  382. /* new title */
  383. .new_title_wrap{
  384. display: block;
  385. position: relative;
  386. text-align: center;
  387. padding: 48rpx 0 22rpx 0;
  388. background-color: #fff;
  389. }
  390. .index_title_bg{
  391. display: block;
  392. width: 100%;
  393. height: 100%;
  394. position: absolute;
  395. top: 0;
  396. left: 0;
  397. z-index: 0;
  398. }
  399. .title_kind_wrap{
  400. display: inline-block;
  401. position: relative;
  402. z-index: 1;
  403. }
  404. .title_kind_name{
  405. font-size: 30rpx;
  406. color: #464646;
  407. line-height: 40rpx;
  408. }
  409. .title_kind_intro{
  410. font-size: 18rpx;
  411. line-height: 30rpx;
  412. color: #595959;
  413. border-top: 1px solid #595959;
  414. }
  415. .title_kind_more{
  416. position: absolute;
  417. width: 14rpx;
  418. height: 24rpx;
  419. top: 50%;
  420. margin: 0 0 0 30rpx;
  421. }
  422. /* new second nav */
  423. .new_nav_wrap{
  424. width: 100%;
  425. height:130rpx ;
  426. overflow: hidden;
  427. padding-top:32rpx;
  428. }
  429. .new_nav_each{
  430. float: left;
  431. width: 20%;
  432. text-align: center;
  433. }
  434. .new_nav_icon{
  435. width: 70rpx;
  436. height: 70rpx;
  437. }
  438. .new_nav_name{
  439. height: 32rpx;
  440. font-size: 22rpx;
  441. line-height: 32rpx;
  442. color: #454545;
  443. }
  444. /* 新热销【人气】 */
  445. .new_rexiao_each{
  446. display: block;
  447. float: left;
  448. width: 50%;
  449. }
  450. .new_rexiao_each image{
  451. width: 100%;
  452. }
  453. .new_rexiao_1,.new_rexiao_4{
  454. background-color: #fff;
  455. }
  456. /* .new_rexiao_2,.new_rexiao_3{
  457. background-color: #f0f0f0;
  458. } */
  459. /* 新 - 新品 */
  460. .new_xinpin_cont image{
  461. width: 100%;
  462. height: 410rpx;
  463. }
  464. .new_xinpin_2{
  465. display: block;
  466. padding: 10rpx 30rpx 50rpx 30rpx;
  467. background-color: #fff;
  468. }
  469. /* 品牌定制 */
  470. .dingzhi_top{
  471. width: 100%;
  472. }
  473. .dingzhi_bottom_left,.dingzhi_bottom_right{
  474. float: left;
  475. width: 50%;
  476. }
  477. .new_dingzhi_img{
  478. display: block;
  479. width: 100%;
  480. }
  481. .new_xinpin_left{
  482. float: left;
  483. width: 32%;
  484. margin-right:2%;
  485. }
  486. .new_xinpin_right{
  487. float: right;
  488. width: 32%;
  489. }
  490. /* 优惠劵弹窗 */
  491. .coupon_wrap{
  492. width: 100%;
  493. height: 100%;
  494. position: fixed;
  495. top: 0;
  496. left: 0;
  497. z-index: 99;
  498. background-color: rgba(0,0,0,0.5);
  499. }
  500. .coupon_content_wrap{
  501. margin: 56rpx 0 0 0;
  502. }
  503. /* 上边背景图 */
  504. .coupon_top_bg{
  505. display: block;
  506. width: 100%;
  507. }
  508. /* 红色背景 */
  509. .coupon_bottom_content{
  510. width: 572rpx;
  511. margin: 0 auto;
  512. position: relative;
  513. }
  514. .coupon_bottom_cont{
  515. width:572rpx;
  516. position: absolute;
  517. top: 28rpx;
  518. left: 0;
  519. }
  520. .coupon_bottom_bg{
  521. display: block;
  522. width: 572rpx;
  523. height: 549rpx;
  524. }
  525. .each_coupon{
  526. width: 507rpx;
  527. margin:18rpx auto;
  528. }
  529. .each_coupon_left,.each_coupon_right{
  530. float: left;
  531. position: relative;
  532. }
  533. .each_coupon_cont,.coupon_right_cont{
  534. position: absolute;
  535. top:0;
  536. left: 0;
  537. }
  538. .coupon_bg_left{
  539. display: block;
  540. width: 180rpx;
  541. height: 144rpx;
  542. }
  543. .coupon_bg_right{
  544. display: block;
  545. width: 327rpx;
  546. height: 144rpx;
  547. }
  548. /* 优惠金额 */
  549. .each_coupon_cont{
  550. width: 180rpx;
  551. }
  552. .each_coupon_money{
  553. font-size: 52rpx;
  554. color:#b4a078;
  555. padding: 22rpx 0 6rpx 0;
  556. text-align: center;
  557. }
  558. .each_coupon_money text{
  559. font-size: 32rpx;
  560. }
  561. .each_coupon_tj{
  562. font-size: 20rpx;
  563. color:#aaa;
  564. text-align: center;
  565. }
  566. .coupon_right_cont{
  567. width: 327rpx;
  568. }
  569. .coupon_right_name{
  570. float: left;
  571. font-size: 26rpx;
  572. color: #272727;
  573. }
  574. .coupon_right_right{
  575. margin: 40rpx 13rpx 12rpx 18rpx;
  576. }
  577. .use_btn{
  578. float: right;
  579. width: 110rpx;
  580. height: 40rpx;
  581. color: #fff;
  582. font-size: 20rpx;
  583. line-height: 40rpx;
  584. background-color: #b4a078;
  585. text-align: center;
  586. border-radius: 20px;
  587. }
  588. .use_data{
  589. text-align: right;
  590. font-size:20rpx;
  591. color: #b4a078;
  592. padding-right: 13rpx;
  593. }
  594. /* 关闭优惠劵弹窗 */
  595. .close_coupon{
  596. display: block;
  597. margin: 20rpx auto;
  598. width: 56rpx;
  599. height: 56rpx;
  600. }
  601. .close_coupon image{
  602. display: block;
  603. width: 100%;
  604. height: 100%;
  605. }
  606. /* 2017-12-29 活动 */
  607. .index_hd_goods_img{
  608. display: block;
  609. width: 100%;
  610. }
  611. .rexiao_banner{
  612. display: block;
  613. width: 100%;
  614. }
  615. /* 切换按钮 */
  616. .change_btn{
  617. position: fixed;
  618. right: 22rpx;
  619. bottom:116rpx ;
  620. z-index: 20;
  621. }
  622. .change_btn_icon{
  623. display: block;
  624. width: 100rpx;
  625. height: 100rpx;
  626. }
  627. /* 切换弹层 */
  628. .change_msg_bg{
  629. width: 100%;
  630. height: 100%;
  631. position: fixed;
  632. top: 0;
  633. left: 0;
  634. z-index: 19;
  635. background-color: rgba(0,0,0,0.6);
  636. }
  637. .change_msg_wrap{
  638. position: fixed;
  639. right: 136rpx;
  640. bottom: 72rpx;
  641. border-radius:6px;
  642. overflow: hidden;
  643. }
  644. .change_msg_cont{
  645. width: 272rpx;
  646. padding: 36rpx 30rpx;
  647. font-size: 26rpx;
  648. line-height: 36rpx;
  649. color: #fff;
  650. background-color: #bdbdbd;
  651. position: relative;
  652. }
  653. .change_msg_close{
  654. display: block;
  655. width: 20rpx;
  656. height: 20rpx;
  657. cursor: pointer;
  658. position: absolute;
  659. top: 15rpx;
  660. right: 15rpx;
  661. z-index: 20;
  662. }
  663. .change_msg_icon{
  664. width: 14rpx;
  665. height: 21rpx;
  666. position: fixed;
  667. right:122rpx ;
  668. bottom: 170rpx;
  669. }
  670. /* 切换确认提示弹窗 */
  671. .change_model_wrap{
  672. width: 100%;
  673. height: 100%;
  674. position: fixed;
  675. top: 0;
  676. left: 0;
  677. z-index: 21;
  678. background-color: rgba(0, 0, 0, 0.6);
  679. }
  680. .change_model_content{
  681. width: 596rpx;
  682. height: 348rpx;
  683. position: fixed;
  684. top: 50%;
  685. left: 50%;
  686. margin: -198rpx 0 0 -298rpx;
  687. overflow: hidden;
  688. border-radius: 4px;
  689. background-color: #fcfffe;
  690. padding:48rpx 0 0 0;
  691. }
  692. .change_model_cont{
  693. height: 100%;
  694. position: relative;
  695. }
  696. .change_model_close{
  697. width: 34rpx;
  698. height: 34rpx;
  699. position: absolute;
  700. top: 15rpx;
  701. right: 15rpx;
  702. }
  703. .change_model_title1,.change_model_title2,.change_model_title3{
  704. font-size: 24rpx;
  705. color: #a4a4a4;
  706. text-align: center;
  707. }
  708. .change_model_title1{
  709. padding: 0 0 18rpx 0;
  710. }
  711. .change_model_title2{
  712. padding: 0 0 30rpx 0;
  713. }
  714. .change_model_title2{
  715. font-size: 38rpx;
  716. }
  717. .change_model_bg{
  718. display: block;
  719. width: 596rpx;
  720. height: 84rpx;
  721. }
  722. .change_btn_wrap{
  723. position: absolute;
  724. left: 0;
  725. right: 0;
  726. bottom: 0;
  727. }
  728. .each_change_btn{
  729. float: left;
  730. width: 50%;
  731. height: 80rpx;
  732. font-size: 30rpx;
  733. line-height: 80rpx;
  734. text-align: center;
  735. color: #fff;
  736. background-color: #adadad;
  737. }
  738. .each_change_btn.btn_left{
  739. background-color: #ab2a2b;
  740. }