/* 首页 header begin */ .header { width: 1200px; margin: 0 auto; height: 120px; } .header .form { float: left; width: 600px; margin: 44px 0 0 54px } .header .form .text { float: left; left: 0; padding: 4px; width: 450px; height: 25px; border: 1px solid #e64322; border-right: none; border-radius: 0; line-height: 25px; font-size: 14px; color: #989898; } .header .form .button { cursor: pointer; right: 0; width: 110px; height: 35px; line-height: 35px; border: none; background-color: #e64322; font-size: 14px; font-weight: 700; color: #fff; margin: 0; padding: 0; outline: none } .header .form .hotwords { height: 20px; line-height: 20px; margin-top: 5px } .header .form .hotwords a { margin-right: 15px; white-space: nowrap; color: #999; } .header .form .hotwords a:hover { color: #e64322; } .header .form .hotwords a:first-child { color: #e64322; font-weight: bold; } .logo { text-align: center; cursor: pointer } .logo img { float: left } .phone-num { display: inline-block; margin-top: 22px; margin-bottom: 24px; width: 157px; height: 44px; line-height: 44px; border-radius: 22px; border: 1px solid #E8E8E8 ; position: relative; /* text-align: center; */ behavior:url(./PIE.htc); } .phone-num a{ color:#666; } .phone-num a span{ margin-right: 30px; } .phone-num .icon{ display: inline-block; width: 18px; height: 16px; } .phone-num .icon.shopCart{ background: url("../images/shopCart.png") no-repeat; background-size: 100% 100%; margin: auto 17px auto 21px; } .phone-num .icon.ri-arrow{ background: url("../images/arrow-right.png") no-repeat; background-size: 100% 100%; } .phone-num .shopNum{ position: absolute; width: 17px; height: 20px; background: red; text-align: center; line-height: 22px; color:#fff; left: 32px; top: -10px; font-style: normal; } .phone-num .shopNum:after{ content: ''; position: absolute; width: 6px; height: 6px; left: 0; bottom: -4px; background: url("../images/triangle2.png") no-repeat; background-size: 100% 100%; } .phone-num .icon.ri-arrow{ width: 10px; height: 10px; margin-left: 3px; background: url("../images/ri_arrow.png") no-repeat; background-size: 100% 100%; } /* 首页 header end */ /* nav begin */ .nav-show { width: 1200px; margin: 0 auto; position: relative; } .nav-show.height{ width: 100%; height: 540px; } .nav-show .ban-nav-tit{ width: 1200px; margin:auto; } .nav { color: #fff; width: 200px; float: left; position: absolute; z-index: 5; } .nav .classify { background:url('../images/allGoods.png') no-repeat 100% 100%; text-align: left; box-sizing: border-box; height: 40px; line-height: 40px; font-size: 15px; padding-left: 12px; font-weight: bold; } .nav .classify .allIcon{ display: inline-block; width: 12px; height: 14px; background: url("../images/all.png") no-repeat; background-size: 100% 100%; vertical-align: middle; margin-right: 7px; } .nav .classify span{ vertical-align: middle; font-size: 15px; } .nav .menu { overflow: hidden; /* height: 500px; */ background: #000; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; /*IE4-IE9*/ filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=80); background: rgba(0,0,0,0.8); -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .2); -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, .2) ; box-shadow: 0 6px 12px rgba(0, 0, 0, .2) ; } .nav .cate_pop { position: absolute; z-index: 9998; float: left; top: 40px; left: 200px; width: 1000px; padding: 20px 0 0 15px; min-height:500px; font-size: 12px; color:#666; background: #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; /* 屏蔽阴影 */ /* -webkit-box-shadow: 0px 3px 12px rgba(0,0,0,0.2);; -moz-box-shadow:0px 3px 12px rgba(0,0,0,0.2);; box-shadow: 0px 3px 12px rgba(0,0,0,0.2);; */ border-top:1px solid #eee; } .nav .cate_pop .cate_detail_item { width: 900px; position: relative; border-bottom:1px solid #eee; padding-bottom: 16px; } .nav .cate_pop .cate_detail_item + .cate_detail_item{ margin-top: 12px; } .nav .cate_pop .cate_detail_item .cate_detail_tit { overflow: hidden; /*position: absolute;*/ left: 0; top: 9px; width: 90%; /*text-align: right;*/ font-weight: 700; white-space: nowrap; text-overflow: ellipsis; } .nav .cate_pop .cate_detail_item .cate_detail_tit a { color: #333; font-size: 14px; width:25%; overflow: hidden; /*float: left;*/ margin-top: 3px; line-height: 19px; overflow: hidden; text-overflow:ellipsis; white-space: nowrap; } .nav .cate_pop .cate_detail_item .cate_detail_tit .cate_pop-icon { display: block; background: url(../images/left-icon.png) no-repeat; float: left; width: 20px; height: 20px; background-size: 100% 100%; margin-left: 4px; } .nav .cate_pop .cate_detail_item .cate_detail_con { overflow: hidden; margin-top: 6px; min-height: 16px; line-height: 16px; } .nav .cate_pop .cate_detail_item .cate_detail_con a { font-size: 12px; float: left; color: #666; padding-right: 14px; font-weight: lighter; line-height: 16px; } .nav .cate_pop .cate_detail_item .cate_detail_con a+a{ /*border-left: 1px solid #e0e0e0;*/ padding-left: 14px; } .nav .cate_pop .cate_detail_item .cate_detail_con a:hover { color: #FF7700; } .nav .menu .menu-item { overflow: hidden; padding-bottom: 10px; padding-left: 10px; padding-top: 10px; } .nav .menu .menu-item.bgWhite, .nav .menu .menu-item:hover { background: #fff; position: relative; } .nav .menu .menu-item:hover :after{ content: ''; position: absolute; height: 100%; width: 20px; background: #fff; right: -10px; top: 0; z-index: 9999; } .nav .menu .menu-item .menu-lk .tit-li{ height: 19px; color: #ffffff; font-size: 14px; font-weight: bold; display: flex; align-items: center; } .nav .menu .menu-item.bgWhite .menu-lk .tit-li, .nav .menu .menu-item:hover .menu-lk .tit-li{ /* color:#333333; */ color:#FF7700; } .nav .menu .menu-item .menu-lk .tit-li img.tit-icon { display: inline-block; width: 19px; height: 19px; margin-right: 4px; } .nav .menu .menu-item.bgWhite .menu-lk .listWrap, .nav .menu .menu-item:hover .menu-lk .listWrap { color:#333333; font-size: 12px; } .nav .menu .menu-item.bgWhite .listWrap a.list-item, .nav .menu .menu-item:hover .listWrap a.list-item { color:#333333; font-size: 12px; } .nav .menu .menu-item .listWrap a.list-item { color: #fff; display: inline-block; position: relative; } .nav .menu .menu-item .listWrap a.list-item+a.list-item { margin-left: 8px; } .nav .menu .menu-item .listWrap a.list-item::after { content: ''; position: absolute; top: 2px; right: -6px; display: inline-block; width: 1px; height: 12px; line-height: 16px; /* margin-top: 4px; */ background: #666666; } .nav .menu .menu-item.bgWhite .listWrap a.list-item::after, .nav .menu .menu-item:hover .listWrap a.list-item::after { content: ''; position: absolute; top: 2px; right: -6px; display: inline-block; width: 1px; height: 12px; line-height: 16px; background: #EEEEEE; } .nav .menu .menu-item .listWrap a.list-item:last-child::after { content: none; } .menu-item .listWrap a.list-item:hover { color: #FF7700 !important; text-decoration: underline; } .menu-item .listWrap a.list-item:visited { color: #fff; text-decoration: none; } .nav .menu .menu-item .menu-lk .blank-h8px { height: 7px; width: 100%; } .nav .menu .menu-item .menu-lk { display: block; color: #fff; position: relative; } .nav .menu .menu-item .menu-lk:after{ content: ''; position: absolute; bottom: 0; right: 6px; width: 20px; height: 20px; background: url("../images/left-icon.png") no-repeat; background-size: 100% 100%; display: none; } .nav .menu .menu-item .menu-lk b{ font-size: 15px; font-weight: 400; } .nav .menu .menu-item .menu-lk .listWrap{ width: 165px; overflow : hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 18px; /* margin-top: 8px; */ max-height: 35px; font-size: 12px; font-weight: lighter; white-space: normal; } .nav .menu .menu-item .menu-lk .listWrap:after{ content: ''; display: block; clear: both; } .nav .menu .menu-item .menu-lk .listWrap p.titName{ float: left; color:#fff; /* word-break: keep-all; */ /* white-space: nowrap; */ } .navitems { float: left; overflow: hidden; margin-left: 10px; box-sizing: border-box; height: 40px; margin-left: 200px; } .navitems li { float: left; margin: 0 30px; line-height: 40px; } .navitems li a { color: #000; font-size: 17px; font-weight: 500 } .navitems li a:hover { color: #e64322; } /* nav end */ /* search */ .search-fix { position: fixed; z-index: 11100; left: 0; top: 0; width: 100%; border-bottom: 2px solid #F70; background-color: #fff; box-shadow: 2px 2px 2px rgba(0, 0, 0, .2); height: 48px; } .search-fix .search-m { width: 1200px; margin: 0 auto; } .search-fix .search-m .search_logo_lk { overflow: hidden; cursor: pointer; display: block; width: 125px; height: 42px; margin-top: 3px; background-image: url(../images/logo.png); background-size: 100% 100%; background-repeat: no-repeat; text-indent: -999px; } .search-m .form { position: absolute; left: 30%; top: 7px; width: 550px; height: 35px; } .search-m .text { left: 0; padding: 4px; width: 450px; height: 25px; border: 1px solid #f70; line-height: 25px; font-size: 14px; outline: none; float: left; } .search-m .button { cursor: pointer; width: 100px; height: 35px; line-height: 35px; border: none; background-color: #f70; font-size: 12px; font-weight: 700; color: #fff; position: absolute; top: 0; outline: none; } .goods-list-gg { width: 100%; height: 90px; clear: both; } .grid_c2 { margin: 0 auto; width: 1200px; } .rec_list { overflow: hidden; height: 90px; margin-top: 30px; } .rec_item { overflow: hidden; float: left; width: 100%; height: 100%; } .bx-default-pager{ width: 100%; height: 20px; bottom: 20px !important; right: inherit; } .bx-wrapper .bx-pager.bx-default-pager a.active{ background: #fff; } .bx-wrapper .bx-pager.bx-default-pager a{ border:1px solid #fff; background: transparent; } /* .rec_item:hover{ opacity: .85; }*/ #slider{ position: absolute; right: 0; top: 40px; width: 100%; height: 500px; /*z-index: -1;*/ } .swiper-slide img{ /* width: 100%; height: 100%; */ /* 以下修改实现:不让轮播图片变型,保持高度不变,宽度溢出居中隐藏 */ height: 100%; position: absolute; top: 0; left: 50%; transform: translateX(-50%); -ms-transform: translateX(-50%); /* IE 9 */ -moz-transform: translateX(-50%); /* Firefox */ -webkit-transform: translateX(-50%); /* Safari 和 Chrome */ -o-transform: translateX(-50%); /* Opera */ } .swiper-pagination-bullet{ border:1px solid #fff; background: transparent; } .swiper-pagination-bullet-active{ background: #fff !important; } .cate_detail_tit .c-line{ float: right; width: 70%; height: 2px; padding-bottom: 9px; border-bottom: 1px dashed #ccc; } .nav .cate_pop .cate_detail_item + .cate_detail_item{ margin-top: 10px; } .nav .cate_pop .cate_detail_item:last-child{ border:none; } .flex-box{ width: 100%; } .fristIndex{ margin-bottom: 20px; } .fristIndex:after{ content: ''; display: block; clear: both; } .fristIndex li{ float: left; padding:7px 12px; background: #FF9900; font-size: 12px; color:#fff; } .fristIndex li+li{ margin-left: 16px; } .fristIndex li a{ display: inline-block; width: 100%; height: 100%; color:#fff; }