* { box-sizing: border-box !important; word-break: break-word; word-wrap: normal; word-break: normal; } ::selection { background: transparent; text-shadow: none; } .container { width: 100%; max-width: 100%; margin: 0; padding: 0; } .yx_ani * { transition: all 0.5s; -moz-transition: all 0.5s; /* Firefox 4 */ -webkit-transition: all 0.5s; /* Safari 和 Chrome */ -o-transition: all 0.5s; /* Opera */ } .yx_ani *:before { transition: all 0.5s; -moz-transition: all 0.5s; /* Firefox 4 */ -webkit-transition: all 0.5s; /* Safari 和 Chrome */ -o-transition: all 0.5s; /* Opera */ } .yx_ani *:after { transition: all 0.5s; -moz-transition: all 0.5s; /* Firefox 4 */ -webkit-transition: all 0.5s; /* Safari 和 Chrome */ -o-transition: all 0.5s; /* Opera */ } a { cursor: pointer; } body, html { overflow-x: hidden !important; } a:focus, a:active, a:hover, a:visited { outline: none !important; text-decoration: none; } i { font-style: normal; } /* .w_grid-000 > div > .p_gridbox { overflow: visible; } .w_grid-000 > div > .p_gridbox:before, .w_grid-000 > div > .p_gridbox:after { clear: both; display: table; content: " "; min-height: 0px; } .yx_clearfix:before, .yx_clearfix:after { display: table; clear: both; content: ""; } */ .yx_flex { display: -webkit-box; /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */ display: -moz-box; /* 老版本语法: Firefox (buggy) */ display: -ms-flexbox; /* 混合版本语法: IE 10 */ display: -webkit-flex; /* 新版本语法: Chrome 21+ */ display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */ -webkit-flex-wrap: nowrap; -ms-flex-wrap: nowrap; -moz-flex-wrap: nowrap; flex-wrap: nowrap; } .yx_flexWrap { display: -webkit-box; /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */ display: -moz-box; /* 老版本语法: Firefox (buggy) */ display: -ms-flexbox; /* 混合版本语法: IE 10 */ display: -webkit-flex; /* 新版本语法: Chrome 21+ */ display: flex; /* 新版本语法: Opera 12.1, Firefox 22+ */ -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; -moz-flex-wrap: wrap; flex-wrap: wrap; } .yx_flexJbetween { -webkit-box-pack: justify; -moz-justify-content: space-between; -webkit-justify-content: space-between; justify-content: space-between; } .yx_flexJend { -webkit-box-pack: end; -moz-justify-content: flex-end; -webkit-justify-content: flex-end; justify-content: flex-end; } .yx_flexJcenter { -webkit-box-pack: center; -ms-flex-pack: center; -webkit-justify-content: center; justify-content: center; } .yx_flexAend { -webkit-align-items: flex-end; align-items: flex-end; } .yx_flexAcenter { -webkit-box-align: center; -moz-align-items: center; -webkit-align-items: center; align-items: center; } .yx_flexDrowC{ flex-direction: row-reverse; } .yx_Img{ position:relative; width:100%; overflow: hidden; } .yx_ImgCover img{ object-fit: cover; } .yx_ImgContain{ position: relative; height: 100%; } .yx_ImgContain img{ object-fit: contain; width: auto; height: auto; top: 50%; left: 50%; transform: translate(-50%,-50%); max-width: 100%; max-height: 100%; position: absolute; } .yx_Img img{ position: absolute; width:100%; min-height: 100%; object-fit:cover; left: 50%; top:50%; transform: translate(-50%,-50%); transition: all 0.5s; } @media only screen and (min-width:769px) { .yx_List4 { display: block; width: calc((100% - 60px) / 4); margin-right: 20px; margin-bottom: 20px; } .yx_List4:nth-child(4n) { margin-right: 0; } .yx_List3 { display: block; width: calc((100% - 60px) / 3); margin-right: 30px; margin-bottom: 30px; } .yx_List3:nth-child(3n) { margin-right: 0; } /*内页分类导航样式*/ .yx_PageNav { width: 94%; max-width: 1500px; margin: 0 auto; background: #fff; margin: -60px auto 0; position: relative; box-shadow: #b2b2b2 0px 3px 10px; } .p_problemCategory{ display:none; } .yx_PageNav{ justify-content:space-around; } .yx_PageNavImg{ width:42px; margin:0 auto 18px; } .yx_PageNavImg i{ position:absolute; width:100%; height:100%; top:0; left:0; background-color:#7fbb35; background-repeat:no-repeat; background-position:center center; background-size:contain; opacity:0; } .yx_PageNav a{ width:20%; max-width:200px; display:block; text-align:center; padding:20px 0; position:relative; font-size:16px; color:#666; } .yx_PageNav a:after{ content:''; display:block; position:absolute; bottom:0; width:0; height:2px; left:50%; transform:translateX(-50%); background:#7fbb35; } .yx_PageNav a:hover:after{ width:100%; transition:all 0.6s ease; } .yx_PageNav a:hover .yx_PageNavImg i{ opacity:1; transition:all 0.6s ease; } .yx_PageNav a:hover .yx_PageNavImg img{ opacity:0; transition:all 0.6s ease; } .yx_PageNav a:hover span{ color:#7fbb35; transition:all 0.6s ease; } .fa_navon:after{ width:100% !important; transition:all 0.6s ease; } .fa_navon .yx_PageNavImg i{ opacity:1; transition:all 0.6s ease; } .fa_navon .yx_PageNavImg img{ opacity:0; transition:all 0.6s ease; } .fa_navon span{ color:#7fbb35; transition:all 0.6s ease; } /*内页分类导航结束*/ } @media only screen and (max-width:768px) { .yx_List3 { display: block; width: 100% !important; margin-right: 0px; margin-bottom: 18px; } .yx_List4 { display: block; width: calc((100% - 10px) / 2) !important; margin-right: 10px; margin-bottom: 10px; } .yx_List4:nth-child(2n) { margin-right: 0; } /*内页分类导航*/ .yx_PageNav{ display:none; } .btn-primary{ width:100%; border-radius:0px; background:#7fbb35; border-width:0px; padding:12px 0; } .btn-primary:active, .btn-primary.active, .open>.dropdown-toggle.btn-primary{ background:#eee !important; color:#2a2a2a !important; border-width:0px; } .p_categoryBox .p_linkBox.click{ background:#eee; color:#2a2a2a; } .p_categoryBox .p_linkBox.click .color_assist, .p_categoryBox .p_linkBox.click a{ color:#2a2a2a; } /*内页分类导航结束*/ } .yx_clear{ clear: both; } .yx_floatL{ float:left; } .yx_floatR{ float:right; } .yx_proR{ position: relative; } .yx_proA{ position: absolute; } .yx_proR_pad{ position: relative; height: 0; } .yx_Title{ display:block; overflow:hidden; -webkit-box-orient:vertical; text-overflow:ellipsis; white-space : nowrap; } .yx_Summary{ display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; text-overflow:ellipsis; } .yx_More{ position: absolute; z-index: 2; top: 0; width: 100%; height: 100%; } .p_ProductDetail img, .p_NewsDetail img ,.p_contentBox img{ max-width: 100%; } .p_content .reset_style { line-height:2; } .btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus .p_pagebox .next, .p_pagebox .pre { background-color: #060606; } /*加载动效 topshow(从上往下)yx_LeftShow (从左往右) */ .delighter{ overflow:hidden; position:relative; } .yx_TopShow.delighter:before{ width:100%; position:absolute; height:100%; top:0; left:0; transform: translateY(0%); display:block; background:#fff; z-index:10; content:""; transition: 1s cubic-bezier(0.68, 0.54, 0.14, 0.96) 0.5s; } .yx_TopShow.started.delighter:before{ transform: translateY(100%); } .yx_LeftShow.delighter:before{ width:100%; position:absolute; height:100%; top:0; left:0; transform: translateX(0%); display:block; background:#272727; z-index:10; content:""; transition: 1s cubic-bezier(0.68, 0.54, 0.14, 0.96) 0.5s; } .yx_LeftShow.started.delighter:before{ transform: translateX(100%); } .yx_RightShow.delighter:before{ width:100%; position:absolute; height:100%; top:0; left:0; transform: translateX(0%); display:block; background:#272727; z-index:10; content:""; transition: 1s cubic-bezier(0.68, 0.54, 0.14, 0.96) 0.5s; } .yx_RightShow.started.delighter:before{ transform: translateX(-100%); } .yx_BottomShow.delighter:before{ width:100%; position:absolute; height:100%; top:0; left:0; transform: translateX(0%); display:block; background:#fff; z-index:10; content:""; transition: 1s cubic-bezier(0.68, 0.54, 0.14, 0.96) 0.5s; } .yx_BottomShow.started.delighter:before{ transform: translateY(-100%); } /*加载动效结束*/ /*详情相关*/ .yx_APro .yx_Img{ padding-bottom:80%; overflow:hidden; } .yx_APro h3{ font-size:30px; color:#333; line-height:48px; margin-bottom:30px; } .yx_APro .yx_Title{ text-align:center; font-size:16px; line-height:45px; } .yx_APro{ margin-top:3rem; } .yx_AProLi:hover .yx_Img img{ transition:all 0.6s ease; transform:scale(1.1) translate(-50%,-50%); } .yx_AProLi:hover .yx_Title{ color:#7fbb35; } @media only screen and (max-width:768px){ .yx_APro .yx_Title{ font-size:14px; } .yx_APro h3{ font-size:24px; } .yx_APro{ margin:2rem 0 3rem; } } /*结束*/