base.pc.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. @charset "utf-8";
  2. /**
  3. * PC端
  4. */
  5. body{min-width:1184px;}
  6. .h5Only{display:none!important;}
  7. /*定义滚动条样式*/
  8. ::-webkit-scrollbar{width:10px;height:10px;background-color:#F6F6F6}
  9. ::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.1);border-radius:2px;background-color:#F6F6F6}
  10. ::-webkit-scrollbar-thumb{border-radius:2px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.1);background-color:#93979F}
  11. /* 自定义下拉框 */
  12. .jqSelect{position:relative;width:100px;height:32px;line-height:32px;border:1px solid #666;border-radius:2px;cursor:pointer}
  13. .jqSelect:before{content:'\276F';font-weight: normal;position: absolute;right: 10px;top: 0;transform: rotate(90deg);}
  14. .jqSelect select{display:none}
  15. .jqSelect [data-select]{display:inline-block;box-sizing:border-box;padding:0 15px;width:100%;height:32px;line-height:32px;vertical-align:middle}
  16. .jqSelect ul{display:none;position:absolute;left:0;background:#FFF;box-shadow:0 3px 6px rgba(45,48,54,.2);border-radius:2px;z-index:9}
  17. .jqSelect ul li{box-sizing:border-box;padding:0 15px;display:inline-block;width:100%;height:38px;line-height:38px;white-space:nowrap;text-align:left;cursor:pointer}
  18. .jqSelect ul li:hover{background:#FEF6F3;color:#E15616}
  19. .wrap{width:1184px;margin:0 auto;}
  20. .icon:before,.baseTopNav .nav:after{content:'';display:inline-block;background:url(/img/base/icon.png) no-repeat;font-size:0;}
  21. /* 头部 */
  22. .baseHeadTop{width:100%;font-size:14px;background:#FBFBFB}
  23. .baseHeadTop ul{height:40px;line-height:40px}
  24. .baseHeadTop ul li{float:right;margin-left:12px;position:relative}
  25. .baseHeadTop li > a{display:inline-block;padding:0 6px;height:40px;border-bottom:1px solid transparent}
  26. .baseHeadTop li > a:hover,.baseHeadTop li > a.on{color:#E15616;border-color:#E15616}
  27. .baseHeadTop li .qrCode{display:none;position:absolute;right:calc((100% - 72px)/2);width:72px;height:96px;background:#FFF;box-shadow:0 3px 6px rgba(45,48,54,.2);border-radius:2px;z-index:9}
  28. .baseHeadTop li:hover .qrCode{display:block;-webkit-animation:fadeInDown .6s;animation:fadeInDown .6s}
  29. .baseHeadTop li .qrCode img{width:72px;height:72px}
  30. .baseHeadTop li .qrCode p{line-height:24px;white-space:nowrap;text-align:center;color:#4A4F58}
  31. .baseHeadTop li > a.cTab{padding-right: 18px;}
  32. .baseHeadTop li > a.cTab:after{content: '\276F';font-weight: normal;position: absolute;right: 6px;top: 0;transform: rotate(90deg);}
  33. .baseHeadTop li .cShow{display:none;position:absolute;right:calc((100% - 90px)/2);width:90px;background:#FFF;box-shadow:0 3px 6px rgba(45,48,54,.2);border-radius:2px;z-index: 995;}
  34. .baseHeadTop li .cShow a{display:inline-block;width:100%;height:38px;line-height:38px;white-space:nowrap;text-align:center}
  35. .baseHeadTop li .cShow a:hover{background:#FEF6F3;color:#E15616}
  36. .baseHeadCenter,.baseTopNav{width:100%;background:#FFF}
  37. .baseHeadCenter .wrap{height:82px;box-sizing:border-box;padding-top:10px}
  38. .baseHeadCenter .logo{float:left;width:178px;height:44px;margin-right:122px}
  39. .baseHeadCenter .searchBox{width:684px;float:left}
  40. .baseHeadCenter .search{width:100%;height:44px;line-height:44px;border:1px solid #FFE6DC;position:relative}
  41. .baseHeadCenter .search:before{content:'';position:absolute;left:104px;top:16px;height:12px;border-right:2px solid #C0C6D1}
  42. .baseHeadCenter .search .jqSelect{width:104px;height:44px;line-height:44px;border:none}
  43. .baseHeadCenter .search .jqSelect:before{right:16px}
  44. .baseHeadCenter .search .jqSelect ul{z-index:999;}
  45. .baseHeadCenter .keyword{width:578px;height:44px;line-height:44px;text-indent:15px;position:absolute;right:0;top:0;border:none;outline:none}
  46. .baseHeadCenter .keyword:focus{outline:none;border:none}
  47. .baseHeadCenter .searchBtn{position:absolute;right: 0;top: 0;font-size:0;padding: 7px 12px;height: 30px;line-height: 30px;}
  48. .baseHeadCenter .searchBtn:before{width: 30px;height: 30px;background-position: 4px 4px;}
  49. .baseHeadCenter .hotword{color:#93979F;font-size:12px;line-height:24px}
  50. .baseHeadCenter .hotword a{color:#93979F;padding:0 5px}
  51. .baseHeadCenter .hotword a:hover{color:#E15616}
  52. /* 购物车 */
  53. .baseHeadCenter .headCart{width:184px;height:44px;float:right;position:relative;}
  54. .baseHeadCenter .headCart .addBtn{display:inline-block;width:100%;height:44px;line-height:44px;box-sizing:border-box;border:1px solid #FFE6DC;position:relative;color:#333;font-size:14px;text-align:center;white-space:nowrap}
  55. .baseHeadCenter .headCart .addBtn:before{display:inline-block;width:20px;height:20px;vertical-align:middle;background-position:-30px -1px;margin-right:2px}
  56. .baseHeadCenter .headCart .addBtn em{color:#E15616;font-style:normal;margin-left:4px;}
  57. .baseHeadCenter .cartData{display:none;position:absolute;right:0;top:44px;width:360px;box-sizing:border-box;background:#FFF;z-index:999;box-shadow:0px 3px 6px rgba(45,48,54,2);border-radius:2px}
  58. .baseHeadCenter .cartData .empty{padding:72px 10px;text-align:center;font-size:16px;line-height:26px;}
  59. .baseHeadCenter .cartData .empty a{color:#E15616;margin:0 5px;border-bottom:1px solid #e15616}
  60. .baseHeadCenter .cartData .empty img{display:block;margin:0 auto 28px auto;width:160px;height:136px}
  61. .baseHeadCenter .cartMain{max-height:424px;overflow:auto}
  62. .baseHeadCenter .cartItem{width:100%;height:106px;box-sizing:border-box;padding:10px 10px 10px 106px;position:relative}
  63. .baseHeadCenter .cartItem img{position:absolute;left:10px;top:10px;width:86px;height:86px;box-shadow:0 0 2px #eee}
  64. .baseHeadCenter .cartItem span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;line-height:24px}
  65. .baseHeadCenter .cartItem span.unit{color:#93979F}
  66. .baseHeadCenter .cartItem span.price{color:#F94B4B;margin-top:14px}
  67. .baseHeadCenter .cartItem .delBtn{position:absolute;right:10px;bottom:0;width:30px;line-height:30px;text-align:center;font-size:0}
  68. .baseHeadCenter .cartItem .delBtn:before{content:'\2715';color:#93979F;font-size:14px}
  69. .baseHeadCenter .cartBtm{border-top:1px solid #EBECEF;box-sizing:border-box;height:60px;line-height:24px;padding:6px 10px;position:relative}
  70. .baseHeadCenter .cartBtm .btn{position:absolute;right:10px;top:10px;height:40px;line-height:40px;border-radius:2px;padding:0 20px;background:#E15616;color:#FFF;font-size:14px}
  71. .baseHeadCenter .cartBtm .btn:hover{opacity:.8}
  72. .baseHeadCenter .cartBtm>span{display:block}
  73. .baseHeadCenter .cartBtm>span em{font-style:normal;color:#F94B4B}
  74. .baseHeadCenter .headCart:hover .cartData{display:block;-webkit-animation:fadeInDown .4s;animation:fadeInDown .4s}
  75. /* 导航栏 */
  76. .baseTopNav{position:relative;height:44px;border-top:1px solid #E15616}
  77. .baseTopNav>.wrap{height:44px;box-sizing:border-box;position:relative;z-index:991;}
  78. .baseTopNav .home,.baseTopNav .classBtn,.baseTopNav .navBox{float:left}
  79. .baseTopNav .service{float:right}
  80. .baseTopNav .nav{display:inline-block;height:44px;line-height:44px;padding:0 19px;color:#4A4F58;font-size:14px;text-align:center;position:relative;border-left:1px solid transparent;border-right:1px solid transparent}
  81. .baseTopNav .nav:hover,.baseTopNav .nav.on{color:#E15616;border-image:-webkit-linear-gradient(white,#E15616,white)1 20 1;border-image:-moz-linear-gradient(white,#E15616,white)1 20 1;border-image:-o-linear-gradient(white,#E15616,white)1 20 1;border-image:linear-gradient(white,#E15616,white)1 20 1}
  82. .baseTopNav .nav:after{width:20px;height:20px;vertical-align:middle;margin-left:1px}
  83. .baseTopNav .nav.home:after{background-position:-30px -31px}
  84. .baseTopNav .classBtn:after{background-position:0 -31px;transition: all .5s;}
  85. .baseTopNav .classBtn.on:after{transform:rotate(90deg);}
  86. .baseTopNav .navBox li:nth-of-type(1) .nav:after{background-position:-60px -31px}
  87. .baseTopNav .navBox li:nth-of-type(2) .nav:after{background-position:-90px -31px}
  88. .baseTopNav .navBox li:nth-of-type(3) .nav:after{background-position:-120px -31px}
  89. .baseTopNav .navBox li:nth-of-type(4) .nav:after{background-position:-150px -31px}
  90. .baseTopNav .navBox li:nth-of-type(5) .nav:after{background-position:-180px -31px}
  91. .baseTopNav .navBox li:nth-of-type(6) .nav:after{background-position:-210px -31px}
  92. .baseTopNav .navBox li:nth-of-type(7) .nav:after{background-position:-240px -31px}
  93. .baseTopNav .service:after{background-position:-270px -31px}
  94. .baseTopNav .navBox{width:500px}
  95. .baseTopNav .navBox ul{width:980px;}
  96. .baseTopNav .navBox li{float:left;position:relative}
  97. .baseTopNav .navBox li>div{display:none;position:absolute;left:0;background:#FFF;box-shadow:0 3px 6px rgba(45,48,54,.2);border-radius:0 0 2px 2px;z-index:990}
  98. .baseTopNav .navBox li:hover div{display:block}
  99. .baseTopNav .navBox li>div a{display:inline-block;width:100%;height:38px;line-height:38px;white-space:nowrap;text-align:center;box-sizing:border-box;padding:0 15px}
  100. .baseTopNav .navBox li>div a:hover{background:#FEF6F3;color:#E15616}
  101. .baseTopNav .classifyBox{display:none;position:absolute;left:50%;top:44px;z-index:990;transform:translateX(-50%);box-shadow:0 3px 6px rgba(45,48,54,.2);}
  102. /* 分类 */
  103. .classifyBox{width:1184px;margin:0 auto;box-sizing:border-box;padding:8px 30px;background:#FFF;border-radius:0 0 2px 2px}
  104. .classifyBox .clsTab{height:56px;line-height:56px;white-space:nowrap;border-bottom:1px solid #FFE6DC}
  105. .classifyBox .clsTab a{display:inline-block;cursor:default;height:100%;padding:0 25px;font-size:16px;font-weight:bold;color:#2D3036;border-bottom:1px solid transparent}
  106. .classifyBox .clsTab a:hover,.classifyBox .clsTab a.on{color:#E15616;border-color:#E15616}
  107. .classifyBox .clsCon{padding:10px 0}
  108. .classifyBox .line{position:relative;padding-left:100px;line-height:32px}
  109. .classifyBox .line:after{content:'';position:absolute;left:100px;top:0;border-right:1px solid #FFE6DC;height:100%}
  110. .classifyBox .lft{position:absolute;top:0;left:0;width:100px;color:#000}
  111. .classifyBox .lft a{display:inline-block;width:100%;line-height:24px;padding:10px;box-sizing:border-box}
  112. .classifyBox .rgt{color:#666;padding:6px 0 6px 6px;position:relative}
  113. .classifyBox .rgt a{display:inline-block;height:32px;line-height:32px;padding:0 22px;cursor:pointer;color:#666}
  114. .classifyBox .rgt a.on,.classifyBox .clsCon .rgt a:hover{color:#e15616;background:#fbe7de}
  115. .classifyBox .line:hover .rgt:after,.classifyBox .line.on .rgt:after{content:'';position:absolute;left:0;top:0;z-index:1;border-right:1px solid #E15616;height:100%}
  116. .classifyBox .line:hover .lft a,.classifyBox .line.on .lft a{color:#E15616}
  117. .classifyBox .line:hover{background:#fbfafa}
  118. /* 底部 */
  119. .footTop{width:100%;padding:27px 0;margin-top: 30px;background:#FFF}
  120. .footTop .wrap{white-space:nowrap;display:table}
  121. .footTop .wrap span{display:table-cell;height:70px;line-height:70px;color:#4A4F58;font-weight:bold;font-size:16px;text-align:center}
  122. .footTop .wrap span:before{width:70px;height:70px;vertical-align:middle;}
  123. .footTop .wrap span:nth-of-type(1):before{background-position:0 -60px}
  124. .footTop .wrap span:nth-of-type(2):before{background-position:-80px -60px}
  125. .footTop .wrap span:nth-of-type(3):before{background-position:-160px -60px}
  126. .footTop .wrap span:nth-of-type(4):before{background-position:-240px -60px}
  127. .footMain{width:100%;background:#4A4F58}
  128. .footLink{display:table;padding:12px 0}
  129. .footLink>div{display:table-cell;width:171px}
  130. .footLink>div span,.footLink>div a{display:inline-block;width:100%}
  131. .footLink>div span{line-height:48px;font-size:14px;font-weight:bold;color:#FFF}
  132. .footLink>div a{line-height:36px;font-size:12px;color:#BEC2C9}
  133. .footLink>div a:hover{color:#E15616;text-decoration:underline}
  134. .footContact{text-align:center;padding-top:30px}
  135. .footContact p{display:inline-block;width:72px;background:#FFF;border-radius:2px;overflow:hidden;margin:0 16px}
  136. .footContact p img{width:72px;height:72px}
  137. .footContact p span{line-height:24px;white-space:nowrap;font-size:12px}
  138. .footContact .cellNumber{height:60px;line-height:60px;font-size:12px;color:#FFF;white-space:nowrap}
  139. .footContact .cellNumber span {margin: 0 12px;}
  140. .footContact .cellNumber a{color:#FFF;}
  141. .copyright{text-align:center;color:#FFF;font-size:12px;padding-bottom:25px}
  142. .copyright .item{white-space:nowrap;padding-left:35px;position:relative;float:left;margin-left:50%;transform:translateX(-50%)}
  143. .copyright .item:before{position:absolute;left:0;width:32px;height:32px;background-position:0 -140px}
  144. .copyright p span{margin:0 5px}
  145. .copyright p:nth-of-type(2) span:first-child{margin-right:50px}
  146. /*商品Item*/
  147. .productItem{float:left;width:284px;height:416px;margin:0 8px;}
  148. .productItem .item{position:relative;zoom:1;vertical-align:middle;overflow:hidden;margin:0 auto;width:100%;height:100%;background:#FFF;border-radius:2px;font-size:16px}
  149. .productItem .item img{display:block;width:100%;height:284px}
  150. .productItem .image .icon{position:absolute;right:20px;top:10px}
  151. .productItem .image .icon.hot:before,.productItem .image .icon.new:before{display:block;width:50px;height:64px}
  152. .productItem .image .icon.hot:before{background-position:-57px -180px}
  153. .productItem .image .icon.new:before{background-position:0px -180px}
  154. .productItem .name{display:block;padding:14px 35px;height:48px;line-height:24px}
  155. .productItem .name span{color:#93979F;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
  156. .productItem .name em{font-style: normal;color: #e15616;}
  157. .productItem .price{height:48px;}
  158. .productItem .price em{display:block;height:48px;line-height:48px;color:#4A4F58;font-style:normal;text-align:center;}
  159. .productItem .price em.p{color:#F55C5C}
  160. .productItem .price .icon{display:inline-block;font-size:0;width:24px;height:24px;line-height:24px;position:relative;vertical-align:top;margin-top:12px}
  161. .productItem .price .icon.on{position:absolute;left:0;top:0;margin:0}
  162. .productItem .price .icon:before{width:24px;height:24px;background-position:-146px -251px}
  163. .productItem .price .icon.on:before{background-position:-116px -251px}
  164. .productItem .btnBox{display:none;position:absolute;width:284px;height:68px;background:#FEF6F3;text-align:center;bottom:0;left:0}
  165. .productItem .item:hover .btnBox{display:block}
  166. .productItem .item:hover .name span{color: #e15616;}
  167. .productItem .item:hover{box-shadow:0px 2px 6px #dedede;}
  168. .productItem .btn{display:block;width:158px;margin:12px auto;height:42px;line-height:42px;text-align:center;overflow:hidden;color:#F94B4B;background:#FFE6DC;border:1px solid #E15616;border-radius:2px}
  169. .productItem .btn.add{color:#E15616;}
  170. .productItem .btn:hover{background:#E15616;color:#FFF}
  171. /*分页*/
  172. .pageWrap{width:1184px;text-align:center;margin:20px auto 36px}
  173. .pageWrap a{box-sizing:border-box;display:inline-block;width:40px;height:40px;line-height:40px;border:1px solid #EBECEF;font-size:16px;margin:0 5px;color:#2D3036;background:#fff;border-radius:2px}
  174. .pageWrap a.on{background:#e15616;color:#fff;border:1px solid #e15616}
  175. .pageWrap a:hover{color:#E15616}
  176. .pageWrap a.on:hover{color:#fff;opacity:.8}
  177. .pageWrap a.btn{width:auto;color:#E15616;background:none;border:none}
  178. .pageWrap .prev:before{content:'\276E'}
  179. .pageWrap .next:before{content:'\276F'}
  180. .pageWrap span{display:inline-block;height:40px;line-height:40px;margin:0 5px;color:#93979F}
  181. .pageWrap b{color:#2D3036;font-weight:normal}
  182. .pageWrap input{box-sizing:border-box;width:80px;height:40px;line-height:40px;font-size:16px;border:1px solid #EBECEF;outline:none;border-radius:2px;text-align:center}
  183. /*登录弹框*/
  184. .loginAlert{display:none;position:fixed;top:0;left:0;width:100%;height:100%;margin:0 auto;background-color:rgba(74,79,88,.7);z-index:999}
  185. .loginAlert .box{box-sizing:border-box;width:338px;height:234px;position:relative;top:50%;margin:-117px auto 0 auto;font-size:14px;background:#FFF;border-radius:2px;color:#4A4F58;line-height:42px;text-align:left}
  186. .loginAlert .box:after{content:'';display:block;width:125px;height:125px;background:url(/img/base/to_login.png) no-repeat left top;background-size:100% 100%;margin-left:16px}
  187. .loginAlert .hd{border-bottom:1px solid #E2E7EF;height:42px;box-sizing:border-box;padding:0 16px;color:#627386}
  188. .loginAlert .hd .close{float:right;text-align:center;font-style:normal;cursor:pointer}
  189. .loginAlert .hd .close:before{content:'\2715'}
  190. .loginAlert .bd{padding:0 16px;color:#22272E}
  191. .loginAlert .bd span:first-child:after{content:','}
  192. .loginAlert .bd .btn{position:absolute;bottom:16px;width:68px;height:32px;line-height:32px;text-align:center;border-radius:2px;box-sizing:border-box;cursor:pointer}
  193. .loginAlert .bd a.btn{right:16px;color:#FFF;background:#E15621}
  194. .loginAlert .bd em.btn{font-style:normal;right:100px;color:#22272E;background:#FFF;border:1px solid #B8BFCA}
  195. /* 首页右侧导航 */
  196. #scrollTop{display:none;position:fixed;right:50%;margin-right:-700px;width:88px;z-index:9999;bottom:120px;}
  197. #scrollTop .item{width:100%;background-color:#fff;box-sizing:border-box;text-align:center;box-shadow:0 2px 4px rgb(254,246,243);border-radius:2px;margin-bottom:10px;font-size:12px;position:relative}
  198. #scrollTop .item span{display:block;width:100%;box-sizing:border-box}
  199. #scrollTop .item>span{position:relative;cursor:pointer;}
  200. #scrollTop .item>span:hover{color:#E15616;}
  201. #scrollTop .item .toTop{padding:12px 16px 12px 48px;line-height:16px;}
  202. #scrollTop .item .toTop:before{width:32px;height:32px;background-position:-42px -254px;position:absolute;top:4px;left:16px}