* { box-sizing: border-box !important; font-family:"Noto Sans SC","Arial" !important; word-break: break-word; word-wrap: normal; word-break: normal; } :root{ --yx_FSOne: 48px; --yx_FSTwo: 40px; --yx_FSThree:30px; --yx_FSFour: 24px; --yx_FSFive: 18px; --yx_FSSix: 16px; --yx_Color:#00509a; } h1 span{ font-size:var(--yx_FSOne) !important; } h2 span{ font-size:var(--yx_FSTwo) !important; } h3 span{ font-size:var(--yx_FSThree) !important; } h4 span{ font-size:var(--yx_FSFour) !important; } h5 span{ font-size:var(--yx_FSFive) !important; } h6 span{ font-size:var(--yx_FSSix) !important; } h1, h2, h3, h4, h5, h6 { font-weight: normal !important; } a:active, a:hover { color: #272727; text-decoration: none; } a:hover, a:focus { color: #060606; text-decoration: underline; } .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; min-width: 100%; min-height: 100%; max-width:150%; max-height:150%; 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; } } @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_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_PromptNoneData .prompt_title .first, .p_nextBox a:hover{ color:#000!important } .p_pagebox .next, .p_pagebox .pre, .p_page .next:hover, .p_page .pre:hover, .p_page .pageNum:hover, .p_page .pageNum.active{ background-color: #00509a !important; color: #fff!important; border-color:#00509a!important; } .p_pagebox .js_pageBtnDisable, .p_pagebox .js_pageBtnDisable:hover, .p_pagebox .js_pageBtnDisable:active{ background: #f5f5f5!important; border-color: #d9d9d9!important; color: #bfbfbf!important; cursor: default; } /*页码结束*/ .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: #00509a; } /*加载动效 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%); } /*加载动效结束*/ /*pad*/ @media only screen and (max-width:1024px) and (min-width:769px){ :root{ --yx_FSOne: 42px; --yx_FSTwo: 36px; --yx_FSThree:24px; --yx_FSFour: 18px; --yx_FSFive: 16px; --yx_FSSix: 14px; } } /*phone*/ @media only screen and (max-width:768px){ :root{ --yx_FSOne: 36px; --yx_FSTwo: 30px; --yx_FSThree:24px; --yx_FSFour: 18px; --yx_FSFive: 16px; --yx_FSSix: 14px; } }