index.wxss 13 KB

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