/* å¿«æ·å¯¼èˆª start */
.ys-header-shortcut {
position: relative;
z-index: 101;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 40px;
background-color: #f5f5f5;
border-bottom: 1px solid #eee;
}
.ys-header-shortcut .ys-header-shortcut__list {
display: flex;
align-items: center;
list-style: none;
margin: 0;
padding: 0;
}
.ys-header-shortcut .ys-header-shortcut__list a {
font-weight: bold;
}
.ys-header-shortcut .ys-header-shortcut__list:last-of-type{
margin-left: auto;
}
.ys-header-shortcut .ys-header-shortcut__item,
.ys-header-shortcut .ys-header-shortcut__link {
text-decoration: none;
font-size: 12px;
font-weight: 400;
line-height: 20px;
color: var(--ys-color-text-000);
margin-right: 32px;
}
.ys-header-shortcut .ys-header-shortcut__link.no-space {
margin-right: 0;
}
.ys-header-shortcut .ys-header-shortcut__link:hover {
color: var(--ys-color-primary);
}
.ys-header-shortcut .ys-header-shortcut__tel {
font-weight: 700;
line-height: normal;
color: var(--ys-color-strong);
display: inline-flex;
align-items: center;
}
.ys-header-shortcut .ys-header-shortcut__tel span {
font-size: 14px;
color: var(--ys-color-text-000);
}
.ys-header-shortcut .ys-header-shortcut__tel a {
text-decoration: none;
color: var(--ys-color-strong);
display: block;
}
.ys-header-shortcut .ys-header-shortcut__tel .iconfont {
font-size: 14px;
font-weight: normal;
color: var(--ys-color-strong);
}
.ys-header-shortcut .ys-header-shortcut__company {
margin-right: 0;
}
.ys-header-shortcut .ys-header-shortcut__company::after {
content: '|';
padding: 0 8px;
}
.ys-header-shortcut .ys-header-shortcut__server {
font-size: 12px;
padding-left: 10px;
display: flex;
align-items: center;
}
.ys-header-shortcut .ys-header-shortcut__server span {
display: flex;
align-items: center;
margin-left: 6px;
cursor: pointer;
padding: 5px 4px;
height: 100%;
}
.ys-header-shortcut .ys-header-shortcut__server span:hover {
background-color: var(--ys-color-background-200);
color: var(--ys-color-primary);
}
.ys-header-shortcut .ys-header-shortcut__server .iconfont {
padding-right: 5px;
}
/* å¿«æ·å¯¼èˆª end */
.ys-header {
transition: all 0.2s;
position: relative;
z-index: 100;
}
.ys-header.is-sticky {
position: sticky;
top: 0;
}
.ys-header .ys-header-nav {
height: 72px;
display: flex;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 40px;
background: #fff;
position: relative;
z-index: 20;
box-shadow: 0 15px 10px -15px #0000000f;
}
.ys-header__logo {
height: 37px;
}
.ys-header__nav {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
min-width: 440px;
max-width: 670px;
width: 50%;
height: 100%;
transition: max-width 0.3s;
}
.ys-header__nav .nav-one {
display: flex;
align-items: center;
height: 100%;
padding: 0 10px;
font-size: 18px;
font-weight: bold;
color: var(--ys-color-text-000);
text-decoration: none;
}
.ys-header__nav .nav-item.relative {
position: relative;
}
.ys-header__nav .nav-item.extend {
position: relative;
}
.ys-header__nav .nav-item.extend::after {
position: absolute;
content: "";
width: 120%;
height: 80px;
left: -10px;
bottom: -50px;
}
.ys-header__nav .nav-item:hover .nav-one,
.ys-header__nav .nav-one:hover,
.ys-header__nav .nav-one:hover .nav-one {
color: var(--ys-color-primary);
}
.ys-header__nav .nav-one .icon-short-arrow {
display: inline-block;
position: relative;
left: 2px;
transform: rotate(90deg);
transition: transform 0.2s;
color: var(--ys-color-text-300);
font-weight: 400;
}
.ys-header__nav .nav-one:hover .icon-short-arrow {
transform: rotate(-90deg);
}
.ys-header__nav .nav-two {
font-size: 14px;
color: var(--ys-color-text-000);
text-decoration: none;
}
.ys-header__nav .nav-two:hover {
color: var(--ys-color-primary);
}
/* search start */
.ys-header__right {
display: flex;
align-items: center;
justify-content: end;
}
.ys-header__right.open {
flex: 1;
}
.ys-header__search {
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
box-sizing: border-box;
width: 203px;
height: 44px;
padding: 10px 12px;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 4px;
transition: all 0.2s;
transform-origin: right;
}
.ys-header__right.open .ys-header__search {
width: calc(100% - 130px);
padding: 10px 12px;
}
.ys-header__search::after {
content: "";
position: absolute;
height: 16px;
left: 12px;
top: 13px;
width: 1px;
background-color: var(--ys-color-text-000);
animation: flashing 0.8s infinite;
}
.ys-header__right.open .ys-header__search:focus-within:after {
display: none;
}
@keyframes flashing {
0% {
opacity: 1;
}
40% {
opacity: 0;
}
100% {
opacity: 1;
}
}
.ys-header__search .ys-header__search-input {
width: calc(100% - 46px);
height: 16px;
color: var(--ys-color-text-000);
caret-color: var(--ys-color-primary);
border: none;
outline: none;
}
.ys-header__search:focus-within {
border-color: var(--ys-color-primary);
}
.ys-header__search .ys-header__search-input::placeholder {
color: var(--ys-color-text-500);
}
.ys-header__search .search-btn {
width: 26px;
padding: 0;
position: absolute;
top: 2px;
right: 10px;
background-color: #fff;
border: none;
outline: none;
cursor: pointer;
transition: transform 0.2s;
}
.ys-header__search .search-btn .icon-search {
display: inline-block;
font-size: 26px;
color: var(--ys-color-text-000);
transition: transform 0.2s;
}
.ys-header__search .search-btn:hover .icon-search {
color: var(--ys-color-primary);
transform: scale(1.1);
}
/* search end */
/* user start */
.ys-header__user {
margin-left: 30px;
position: relative;
height: 40px;
padding-top: 3px;
box-sizing: border-box;
}
.ys-header__user > a > i {
font-size: 24px;
cursor: pointer;
color: var(--ys-color-text-000);
}
.ys-header__user .ys-header__user-card {
position: absolute;
top: 40px;
right: -10px;
padding: 16px;
background-color: var(--ys-color-white);
z-index: 20;
border-radius: 2px;
box-shadow: 0px 4px 14px 0px #0000001a;
border: 1px solid var(--ys-color-text-700);
transition: all 0.2s;
transform-origin: top;
transform: scaleY(0);
}
.ys-header__user:hover .ys-header__user-card {
transform: scaleY(1);
}
.ys-header__user .ys-header__user-card button {
height: 32px;
line-height: 32px;
margin-bottom: 12px;
width: 100px;
font-size: 12px;
padding: 0;
}
.ys-header__user .ys-header__user-card button a {
color: unset;
text-decoration: none;
display: block;
}
.ys-header__user .ys-header__user-card button:last-child {
margin-bottom: 0;
}
/* user end */
/* 悬åœå¡ç‰‡ start */
.ys-header__card {
position: absolute;
z-index: 18;
width: 100%;
left: 0;
/* right: 0; */
top: 72px;
background-color: var(--ys-color-white);
transition: all 0.2s ease-in-out;
transform-origin: top;
transform: scaleY(0);
max-height: 82vh;
overflow-y: auto;
overflow-x: hidden;
padding: 40px;
box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.1) inset;
border-top: 0.5px solid var(--ys-color-text-700);
border-bottom: 1px solid var(--ys-color-text-700);
transition-delay: 150ms;
}
.ys-header__card.show {
transform: scaleY(1);
}
.nav-item.normal .ys-header__card.show {
transform: scaleY(1) translateX(-50%);
}
.ys-header__cover {
position: fixed;
z-index: 17;
left: 0;
right: 0;
top: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.7);
transition-delay: 100ms;
}
.ys-header__card::-webkit-scrollbar {
width: 7px;
height: 7px;
background-color: var(--ys-color-background-100);
}
.ys-header__card::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #999;
}
/* 悬åœå¡ç‰‡ end */
/* æœç´¢å¡ç‰‡ start */
.ys-header__search-card {
background-color: #f3f5f8;
padding: 50px 40px;
}
.ys-header__search-card i {
position: absolute;
top: 20px;
right: 20px;
cursor: pointer;
font-size: 20px;
}
.ys-header__search-card .search-hot {
margin-bottom: 40px;
}
.ys-header__search-card .search-title {
font-size: 14px;
font-weight: 600;
margin-bottom: 12px;
}
.ys-header__search-card .search-title span {
font-weight: 400;
color: var(--ys-color-text-300);
margin-left: 16px;
cursor: pointer;
}
.ys-header__search-card .search-words a {
margin-right: 20px;
font-size: 14px;
text-decoration: none;
color: var(--ys-color-text-000);
}
/* æœç´¢å¡ç‰‡ end */
/* 解决方案/内容与æœåŠ¡/关于我们 start */
.ys-header__case,
.ys-header__service,
.ys-header__about {
padding: 6px 0;
box-shadow:none;
width: 150px;
left: auto;
text-align: center;
left: 50%;
transform: scaleY(0) translateX(-50%);
box-shadow: 0px 4px 12px rgba(51, 51, 51, 0.2);
}
.ys-header__case {
width: 210px;
}
.ys-header__case .case-item,
.ys-header__service .content-item,
.ys-header__about .about-item {
padding: 10px;
display: block;
text-decoration: none;
}
.ys-header__case .case-item:not(:last-of-type),
.ys-header__service .content-item:not(:last-of-type),
.ys-header__about .about-item:not(:last-of-type) {
border-bottom: 1px solid var(--ys-color-text-700);
}
.ys-header__case .case-item:hover .case-title,
.ys-header__service .content-item:hover .content-title,
.ys-header__about .about-item:hover .about-title {
color: var(--ys-color-primary);
}
.ys-header__case .case-title,
.ys-header__service .content-title,
.ys-header__about .about-title {
text-decoration: none;
display: block;
overflow: hidden;
font-size: 14px;
color: var(--ys-color-text-000);
}
/* 解决方案/内容与æœåŠ¡/关于我们 end */
/* 产å“弹窗 start */
.ys-header__card.ys-header__product {
width: auto;
padding: 0;
background-color: initial;
overflow: initial;
}
.ys-header__product a {
display: block;
text-decoration: none;
line-height: normal;
}
.ys-header__product .product-wrap {
background-color: #fbfbfb;
max-height: 500px;
overflow-y: auto;
box-shadow: -1px 1px 10px rgba(51, 51, 51, 0.2);
}
.ys-header__product .product-wrap::-webkit-scrollbar,
.ys-header__product .product-child::-webkit-scrollbar {
width: 0;
}
.ys-header__product .product-wrap::-webkit-scrollbar,
.ys-header__product .product-child::-webkit-scrollbar {
width: 7px;
height: 7px;
background-color: var(--ys-color-background-100);
}
.ys-header__product .product-wrap::-webkit-scrollbar-thumb,
.ys-header__product .product-child::-webkit-scrollbar-thumb {
border-radius: 4px;
background-color: rgba(190, 190, 190, 0.6);
}
.ys-header__product .to-product {
display: flex;
align-items: center;
font-size: 18px;
color: var(--ys-color-text-000);
margin-bottom: 20px;
}
.ys-header__product .to-product i {
transform: rotate(0deg) !important;
display: block;
font-size: 18px;
}
.ys-header__product .to-product:hover,
.ys-header__product .product-item:hover .product-title {
color: var(--ys-color-primary);
}
.ys-header__product .product-img {
width: 140px;
height: 140px;
margin: auto;
background: unset;
}
.ys-header__product .product-img img {
object-fit: contain;
}
.ys-header__product .product-title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin: 0;
padding: 8px 0;
font-size: 14px;
display: inline-block;
color: var(--ys-color-text-000);
}
.ys-header__product .product-item {
position: relative;
width: 180px;
padding: 10px;
display: flex;
align-items: center;
justify-content: space-between;
}
.ys-header__product .product-item.active {
background-color: var(--ys-color-primary);
}
.ys-header__product .product-item.active .product-title {
color: var(--ys-color-white);
}
.ys-header__product .product-item.active .iconfont {
color: var(--ys-color-white);
}
.ys-header__product .product-item .iconfont {
color: var(--ys-color-text-000);
}
.ys-header__product .product-child {
position: absolute;
top: 0;
left: 100%;
width: 350px;
/* height: 100%; */
min-height: 100%;
padding: 8px 10px;
margin: 0;
font-size: 14px;
list-style: none;
background-color: var(--ys-color-white);
overflow-y: auto;
box-shadow: 6px 1px 10px rgba(51,51,51,.2);
display: flex;
align-items: center;
align-content: flex-start;
flex-wrap: wrap;
}
.ys-header__product .product-child__item {
line-height: normal;
padding: 0;
margin: 10px;
}
.ys-header__product .product-child__link {
color: var(--ys-color-text-000);
}
.ys-header__product .product-child__link:hover {
color: var(--ys-color-primary);
}
/* 产å“弹窗 end */
@media only screen and (max-width: 1500px) {
.ys-header__nav {
max-width: 620px;
}
}
@media only screen and (max-width: 1280px) {
.ys-header__nav {
max-width: 58%;
}
.ys-header__nav .nav-one {
font-size: 16px;
}
}
@media only screen and (max-height: 600px) {
.ys-header__product .product-child,
.ys-header__product .product-wrap {
max-height: calc(92vh - var(--ys-header-top));
}
}.ys-product-banner {
position: relative;
height: 218px;
}
.ys-product-banner img {
width: 100%;
height: 100%;
object-fit: cover;
}
.ys-product-banner > div {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
text-align: center;
display: flex;
flex-direction: column;
justify-content: center;
}
.ys-product-banner h1 {
font-size: 40px;
color: var(--ys-color-white);
margin-bottom: 30px;
}
.ys-product-banner .ys-product-search {
position: relative;
width: 38vw;
height: 52px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: var(--ys-color-white);
margin: 0 auto;
border-radius: 6px;
padding: 12px;
}
.ys-product-banner .ys-product-search i {
font-size: 26px;
margin-right: 10px;
}
.ys-product-banner .ys-product-search input {
border: 0;
outline: none;
flex: 1;
}
.ys-product-banner .ys-product-search span {
color: var(--ys-color-primary);
cursor: pointer;
font-size: 16px;
margin-right: 10px;
}
.ys-product-banner ::-webkit-input-placeholder {
color: var(--ys-color-text-500);
}
.ys-product-banner ::-moz-placeholder {
color: var(--ys-color-text-500);
}
.ys-product-banner :-ms-input-placeholder {
color: var(--ys-color-text-500);
}
.ys-product-banner :-moz-placeholder {
color: var(--ys-color-text-500);
}
@media only screen and (max-width: 1280px) {
.ys-product-banner {
height: 190px;
}
.ys-product-banner .ys-product-search input,
.ys-product-banner .ys-product-search span{
font-size: 14px;
}
}body {
background-color: var(--ys-color-background);
}
/* 产å“选型 */
.ys-product-filter {
width: var(--ys-content-width);
margin: 30px auto;
padding: 0;
/* border: 1px solid var(--ys-color-text-700); */
/* background-color: var(--ys-color-background-100); */
}
/* ç›é€‰é¡¹ start */
.ys-product-filter__box {
background-color: var(--ys-color-white);
overflow: hidden;
position: relative;
padding-bottom: 8px;
}
.ys-product-filter__box .filter-item {
width: 190px;
border-bottom: 1px solid var(--ys-color-background-100);
border-right: 1px solid var(--ys-color-background-100);
}
.ys-product-filter__box .filter-item:first-child {
border-left: 1px solid var(--ys-color-background-100);
}
.ys-product-filter__box .filter-item:last-child {
border-bottom: 0;
}
.ys-product-filter__box .filter-item .filter-item-title {
background-color: var(--ys-color-background-050);
padding: 0 16px;
min-height: 52px;
display: flex;
align-items: center;
color: var(--ys-color-text-000);
}
.ys-product-filter__box .filter-item .filter-item-selection {
color: var(--ys-color-text-000);
box-sizing: border-box;
overflow: hidden;
}
.ys-product-filter__box .filter-item-selection .selection-box {
height: 245px;
overflow: auto;
display: flex;
flex-direction: column;
}
.ys-product-filter__box .filter-item-selection .selection-box::-webkit-scrollbar {
width: 7px;
height: 7px;
background-color: var(--ys-color-background-100);
}
.ys-product-filter__box .filter-item-selection .selection-box::-webkit-scrollbar-thumb {
border-radius: 5px;
background-color: #999;
}
.ys-product-filter__box .filter-item-selection .selection-item {
display: flex;
align-items: center;
font-size: 14px;
cursor: pointer;
margin: 12px 16px 0;
order: 1;
}
.ys-product-filter__box .selection-item.checked {
pointer-events: unset!important;
order: 0!important;
}
.ys-product-filter__box .selection-item.checked label {
color: var(--ys-color-text-000)!important;
}
.ys-product-filter__box .selection-item.disable {
position: relative;
pointer-events: none;
order: 2;
}
.ys-product-filter__box .selection-item.disable:not(.checked)::after{
content: '';
position: absolute;
left: 0;
bottom: 0;
top: 0;
right: 0;
cursor: not-allowed;
pointer-events: all;
}
.ys-product-filter__box .selection-item.disable label {
color: var(--ys-color-text-300);
}
.ys-product-filter__box .filter-item-search {
border: none;
border-top: 1px solid var(--ys-color-background-100);
border-bottom: 1px solid var(--ys-color-background-100);
font-size: 14px;
width: 100%;
height: 50px;
padding: 0 16px;
}
.ys-product-filter__box .filter-item-search::placeholder {
color: var(--ys-color-text-500);
}
.ys-product-filter__box .filter-item-search:focus-visible {
outline: none;
}
.ys-product-filter__box .filter-item-selection .selection-item:hover {
color: var(--ys-color-text-000);
}
.ys-product-filter__box .filter-item-selection .selection-item:not(.disable):hover input + label::before {
border-color: var(--ys-color-text-000);
}
.ys-product-filter__box .filter-item-selection .selection-item input {
margin-right: 10px;
visibility: hidden;
}
.ys-product-filter__box .filter-item-reset {
cursor: pointer;
width: 100%;
height: 48px;
border: none;
background: var(--ys-color-white);
border-top: 1px solid var(--ys-color-text-700);
border-bottom: 1px solid var(--ys-color-text-700);
color: var(--ys-color-text-300);
}
/* ç›é€‰é¡¹ end */
/* 模拟input checkbox */
.ys-product-filter__box .selection-item label {
position: relative;
cursor: pointer;
/* white-space: nowrap; */
}
.ys-product-filter__box .selection-item input + label::before {
content: '';
display: block;
width: 14px;
height: 14px;
cursor: pointer;
position: absolute;
top: 5px;
left: -22px;
border: 1px solid #ccc;
}
.ys-product-filter__box .selection-item input:checked + label::before {
background: var(--ys-color-assist);
border-color: var(--ys-color-assist) !important;
}
.ys-product-filter__box .selection-item input:checked + label::after {
content: '';
position: absolute;
top: 6px;
left: -17px;
width: 5px;
height: 9px;
border: 0;
border-right: 2px solid var(--ys-color-white);
border-bottom: 2px solid var(--ys-color-white);
transform: rotate(45deg);
transition: all 0.3s ease;
}
.ys-product-filter-checked {
display: flex;
align-items: center;
gap: 9px;
font-size: 14px;
margin-bottom: 18px;
}
.ys-product-filter-checked .checked-item {
border-radius: 2px;
border: 1px solid var(--ys-color-text-700);
background: var(--ys-color-white);
padding: 2px 9px;
display: flex;
align-items: center;
}
.ys-product-filter-checked .checked-item i {
font-size: 12px;
margin-left: 6px;
transform: scale(0.6);
line-height: 15px;
color: var(--ys-color-primary);
cursor: pointer;
}
.ys-product-filter-checked button {
border-radius: 2px;
background-color: var(--ys-color-background-100);
border: 1px solid var(--ys-color-background-100);
cursor: pointer;
}
.ys-product-filter-checked button:hover {
border-color: var(--ys-color-primary);
color: var(--ys-color-primary);
}
.ys-product-filter .swiper-container-horizontal>.swiper-scrollbar {
left: 0;
bottom: 0;
width: 100%;
height: 8px;
}
.ys-product-filter .swiper-scrollbar-drag {
background-color: var(--ys-color-text-300);
}
@media only screen and (max-width: 1280px) {
.ys-product-filter__box .filter-item .filter-item-selection {
width: calc(var(--ys-content-width) - 230px);
}
}/* 产å“列表 */
.ys-product {
background-color: var(--ys-color-background);
margin-bottom: 90px;
}
.ys-product .ys-product__list {
display: grid;
/* grid-template-rows: 394px; */
/* grid-auto-rows: 394px; */
grid-template-columns: repeat(4, 1fr);
gap: 30px;
width: var(--ys-content-width);
margin: 0 auto;
padding: 30px 0;
}
.ys-product .ys-product__list .grid-item:hover img {
transform: scale(1.1);
}
.ys-product .ys-product__list .grid-item:hover .product-title a {
color: var(--ys-color-primary);
}
.ys-product .ys-product__list .product-img {
overflow: hidden;
display: block;
width: 100%;
height: 304px;
font-size: 0;
background: radial-gradient(
69.52% 73.55% at 49.88% 38.66%,
#fafafa 0%,
#f3f3f3 53.79%,
#eee 100%
);
border-radius: 4px;
}
.ys-product .ys-product__list .product-img img {
width: 100%;
height: 100%;
object-fit: contain;
object-position: center;
transition: transform 0.4s;
mix-blend-mode: darken;
margin: auto;
}
.ys-product .ys-product__list .product-img:hover img {
transform: scale(1.06);
}
.ys-product .ys-product__list .product-title {
line-height: 25px;
font-size: 18px;
font-weight: 500;
margin: 12px 0;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
}
.ys-product .ys-product__list .product-link {
color: var(--ys-color-text-000);
text-decoration: none;
}
.ys-product .ys-product__list .product-link:hover {
color: var(--ys-color-primary);
}
.ys-product .ys-product__list .product-description {
line-height: 20px;
font-size: 14px;
color: var(--ys-color-text-300);
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
/* 产å“选型Spu列表 */
.ys-product__spu {
width: var(--ys-content-width);
margin: 30px auto;
}
/* æœç´¢ start */
.ys-product__total {
font-size: 24px;
margin: 30px 0 16px;
}
.ys-product__total span {
color: var(--ys-color-strong);
margin-right: 8px;
}
.ys-product__input {
position: relative;
margin-bottom: 20px;
}
.ys-product__input .iconfont {
position: absolute;
right: 10px;
bottom: 50%;
transform: translateY(50%);
font-size: 26px;
color: var(--ys-color-primary);
}
.search__input {
box-sizing: border-box;
height: 50px;
font-size: 16px;
padding: 8px 20px;
}
.search__input:hover {
border-color: var(--ys-color-primary);
}
/* æœç´¢ end */
/* 微信æç¤º start */
.ys-product__wechat {
display: none !important;
font-size: 16px;
display: flex;
align-items: center;
margin-bottom: 20px;
color: var(--ys-color-text-000);
}
.ys-product__wechat i {
color: #09bb07;
font-size: 40px;
}
.ys-product__wechat a {
color: var(--ys-color-assist);
margin-left: 16px;
margin-right: 8px;
text-decoration: none;
}
/* 微信æç¤º end */
/* æ— ç»“æžœ start */
.ys-search__empty {
text-align: center;
margin: 90px auto 150px;
}
.ys-search__empty img {
width: 160px;
margin: 0 auto 20px;
}
.ys-search__empty p:nth-child(2) {
font-weight: 500;
font-size: 20px;
}
.ys-search__empty p:last-child {
font-size: 16px;
margin-top: 8px;
color: var(--ys-color-text-300);
}
/* æ— ç»“æžœ end */
.ys-product__spu .ys-product__list {
padding: 14px;
background-color: #f2f2f2;
display: flex;
flex-wrap: wrap;
/* gap: 12px; */
/* margin: -6px; */
}
.ys-product__spu .ys-product__list .grid-item {
background-color: var(--ys-color-white);
padding: 10px;
width: calc(50% - 12px);
display: flex;
align-items: center;
box-sizing: border-box;
text-decoration: none;
margin: 6px;
}
.ys-product__spu .ys-product__list .grid-item:hover .product-title {
color: var(--ys-color-primary);
}
.ys-product__spu .ys-product__list .grid-item:hover img {
transform: scale(1.1);
}
.ys-product__spu .ys-product__list .grid-item .product-img {
width: 160px;
height: 160px;
background: unset;
}
.ys-product__spu .ys-product__list .grid-item .product-info {
margin-left: 20px;
width: 385px;
}
.ys-product__spu .ys-product__list .grid-item .product-title {
display: flex;
text-decoration: none;
color: var(--ys-color-text-000);
}
.ys-product__spu .ys-product__list .grid-item .product-info h3 {
font-size: 20px;
margin-bottom: 10px;
margin-top: 0;
font-weight: 500;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.ys-product__spu .ys-product__list .grid-item .product-info p {
font-size: 14px;
color: var(--ys-color-text-300);
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}
.ys-product__spu .ys-product__list .grid-item .product-info p.product-code {
font-size: 16px;
margin-bottom: 8px;
color: var(--ys-color-text-100);
}
@media only screen and (max-width: 1280px) {
/* 产å“列表 */
.ys-product-banner h1{
font-size: 30px;
margin-bottom: 20px;
}
.ys-product .ys-product__list .product-img {
position: relative;
height: 0;
padding-bottom: 100%;
}
.ys-product .ys-product__list .product-img img {
position: absolute;
}
.ys-product .ys-product__list .product-title {
font-size: 16px;
margin: 8px 0;
}
.ys-product .ys-product__list .product-description{
font-size: 12px;
}
/* æœç´¢ start */
.search__input{
font-size: 14px;
}
/* æœç´¢ end */
/* 产å“选型Spu列表 */
.ys-product__spu .ys-product__list .grid-item .product-info{
width: auto;
flex: 1;
overflow: hidden;
}
.ys-product__spu .ys-product__list .grid-item .product-info h3{
font-size: 18px;
}
.ys-product__spu .ys-product__list .grid-item .product-img{
width: 100px;
height: 100px;
}
}/* 产å“选型 */
.ys-product__sku {
width: var(--ys-content-width);
margin: 30px auto;
}
/* æœç´¢ start */
.ys-product__sku .ys-product__total {
font-size: 24px;
margin: 30px 0 16px;
}
.ys-product__sku .ys-product__total span {
color: var(--ys-color-strong);
margin-right: 8px;
}
.ys-product__sku .ys-product__search {
display: flex;
margin-bottom: 20px;
}
.ys-product__sku .ys-product__search .ys-product__input {
position: relative;
flex: 1;
margin-bottom: 0;
margin-right: 20px;
}
.ys-product__sku .ys-product__input .iconfont {
position: absolute;
right: 10px;
bottom: 50%;
transform: translateY(50%);
font-size: 26px;
color: var(--ys-color-primary);
}
.ys-product__sku .ys-product__input .search__input {
box-sizing: border-box;
height: 50px;
font-size: 16px;
padding: 8px 20px;
}
.ys-product__sku .ys-product__input .search__input:hover {
border-color: var(--ys-color-primary);
}
.ys-product__sku .ys-product__search button {
margin-left: auto;
font-size: 16px;
background-color: var(--ys-color-assist);
color: var(--ys-color-white);
border: 0;
outline: none;
width: 178px;
border-radius: 2px;
position: relative;
height: 50px;
}
.ys-product__sku .ys-product__search button div {
position: absolute;
right: 0;
top: -40px;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
color: var(--ys-color-text-100);
border: 1px solid var(--ys-color-text-700);
display: none;
cursor: pointer;
}
.ys-product__sku .ys-product__search button div::after {
position: absolute;
content: '×';
top: 2px;
right: 11px;
font-size: 22px;
color: var(--ys-color-text-100);
}
.ys-product__sku .ys-product__search button.disabled {
cursor: not-allowed;
background-color: var(--ys-color-text-500);
}
.ys-product__sku .ys-product__search button:not(.disabled):hover {
cursor: pointer;
background-color: var(--ys-color-warning);
}
.ys-product__sku .ys-product__search button:not(.disabled):hover div {
display: block;
}
/* æœç´¢ end */
/* 产å“-详情 start */
.ys-product__table {
border: 1px solid var(--ys-color-text-700);
border-collapse: collapse;
width: 100%;
}
.ys-product__table a {
text-decoration: none;
color: var(--ys-color-text-000);
}
.ys-product__table a:hover {
color: var(--ys-color-primary);
}
.ys-product__table .product-table-header th:nth-of-type(1) {
width: 120px;
}
.ys-product__table .product-table-header th:nth-of-type(2) {
width: 240px;
}
.ys-product__table .product-table-header th:nth-of-type(5),
.ys-product__table .product-table-header th:nth-of-type(4) {
width: 70px;
}
.ys-product__table .product-table-header th:nth-of-type(6) {
width: 105px;
}
.ys-product__table .product-table-cell {
border-right: 1px solid var(--ys-color-text-700);
border-bottom: 1px solid var(--ys-color-text-700);
padding: 12px 10px;
text-align: center;
}
.ys-product__table .product-table-header {
height: 25px;
line-height: 25px;
background-color: var(--ys-color-primary);
opacity: 0.7;
color: var(--ys-color-white);
}
.ys-product__table .product-table-header .product-table-cell {
font-weight: 400;
font-size: 14px;
}
.ys-product__table .product-table-item {
position: relative;
}
.ys-product__table .product-table-item:nth-child(even) {
background-color: var(--ys-color-background-050);
}
.ys-product__table .product-table-item:hover {
box-shadow: 0px 0px 20px 0px #00000026;
border-bottom: 0;
z-index: 2;
}
.ys-product__table .product-table-item:hover .product-table-cell:first-of-type::after {
display: block;
}
.ys-product__table .product-table-item .product-table-cell:first-of-type:after {
content: "";
width: 3px;
height: 100%;
background-color: var(--ys-color-primary);
top: 0;
left: 0;
display: none;
position: absolute;
}
.ys-product__table .product-table-img {
display: block;
margin: auto;
width: 90px;
height: 90px;
border-radius: 4px;
}
.ys-product__table .product-table-draw {
color: var(--ys-color-strong);
}
.ys-product__table .product-table-desc {
font-size: 14px;
}
.ys-product__table .product-table-enquiry {
font-size: 14px;
padding: 6px 12px;
}
.ys-product__table .c-button--primary:hover {
background-color: var(--ys-color-strong);
border-color: var(--ys-color-strong);
}
.ys-product__table .iconfont.disabled {
color: var(--ys-color-text-300);
cursor: not-allowed;
}
/* 产å“-详情 end */
/** è¡¨æ ¼åº•éƒ¨ start **/
.ys-product__table-footer {
display: flex;
align-items: center;
justify-content: space-between;
margin: 30px 0 0;
}
/** è¡¨æ ¼åº•éƒ¨ end **/
/* æ‰¹é‡æ“作 start */
.ys-product__action {
display: flex;
align-items: center;
opacity: 0;
transition: opacity 0.3s;
pointer-events: none;
}
.ys-product__action.active {
opacity: 1;
pointer-events: auto;
}
.ys-product__action .batch-action-num {
font-size: 16px;
}
.ys-product__action .batch-action-num i {
color: var(--ys-color-strong);
font-weight: 500;
font-style: normal;
}
.ys-product__action .batch-action-save {
margin-left: 30px;
color: var(--ys-color-primary);
font-size: 14px;
cursor: pointer;
}
/* æ‰¹é‡æ“作 end */
/* 分页 start */
.info-pagination .c-page-item + .c-page-item {
margin-left: 4px;
}
/* 分页 end */
.product-table-item .product-action div label {
position: relative;
}
.product-table-item .product-action div input + label::before {
content: '';
display: block;
width: 12px;
height: 12px;
cursor: pointer;
position: absolute;
top: 4px;
left: -16px;
border: 1px solid #ccc;
}
.product-table-item .product-action div input:checked + label::before {
background: var(--ys-color-assist);
border-color: var(--ys-color-assist);
}
.product-table-item .product-action div input:checked + label::after {
content: '';
position: absolute;
top: 5px;
left: -12px;
width: 5px;
height: 9px;
border: 0;
border-right: 2px solid var(--ys-color-white);
border-bottom: 2px solid var(--ys-color-white);
transform: rotate(45deg);
transition: all 0.3s ease;
}/* 网站底部 */
.ys-footer {
width: 100%;
background: #2D2D2D;
--ys-page-padding: calc(50vw - 650px);
}
@media only screen and (max-width: 1440px) {
.ys-footer {
--ys-page-padding: calc(50vw - 600px);
}
}
.ys-footer__ad {
height: 89px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 var(--ys-page-padding);
margin: 0 auto;
border-top: 1px solid #eee;
border-bottom: 1px solid #eee;
}
.ys-footer__content {
padding: 40px var(--ys-page-padding) 50px;
margin: 0 auto;
display: flex;
justify-content: space-between;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ys-footer__content .footer_phone {
text-decoration: none;
display: block;
margin: 30px 0 19px 0;
font-size: 30px;
font-weight: 600;
line-height: 36px;
color: var(--ys-color-strong);
}
.ys-footer__content .footer_work_time,
.ys-footer__content .footer_email {
font-size: 14px;
color: rgba(255, 255, 255, 0.7);
}
.ys-footer__content .footer-left__row {
margin-bottom: 17px;
}
.ys-footer__content .left-part a {
text-decoration: none;
}
.ys-footer__content .left-part .iconfont {
display: inline-block;
margin: 0 4px 0 0;
position: relative;
color: rgba(255, 255, 255, 0.7);
font-size: 16px;
}
.ys-footer__content .left-part .icon-clock-fill {
top: 1px;
}
.ys-footer__content .left-part .icon-email-fill {
top: 2px;
}
.ys-footer__content .footer-logo {
width: 172px;
}
.ys-footer__content .center-part {
display: flex;
padding: 6px 0 0 0;
}
.ys-footer__content .content-link {
min-width: 90px;
}
.ys-footer__content .content-link + .content-link {
margin: 0 0 0 80px;
}
.ys-footer__content .content-link span {
font-size: 16px;
color: var(--ys-color-white);
font-weight: 600;
}
.ys-footer__content .children-link-wrap {
list-style: none;
padding-inline-start: 0;
margin: 22px 0 0 0;
}
.ys-footer__content .children-link-wrap a {
font-size: 14px;
line-height: 17px;
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
}
.ys-footer__content .children-link-wrap li + li {
margin: 16px 0 0 0;
}
.ys-footer__content .children-link-wrap a:hover {
color: var(--ys-color-strong);
}
.ys-footer__content .right-part {
display: flex;
/* gap: 12px; */
}
.ys-footer__content .right-part .part-item:first-of-type{
margin-right: 12px;
}
.ys-footer__content .right-part .part-item {
padding: 10px 12px 12px;
text-align: center;
font-size: 14px;
background-color: var(--ys-color-white);
height: fit-content;
border-radius: 4px;
border: 1px solid var(--ys-color-background-200);
}
.ys-footer__content .right-part img {
width: 82px;
height: 82px;
}
.ys-footer__content .right-part p {
margin-bottom: 4px;
}
.ys-footer__friendly {
padding: 16px var(--ys-page-padding);
margin: 0 auto;
}
.ys-footer__friendly span {
font-size: 14px;
line-height: 32px;
color: var(--ys-color-white);
}
.ys-footer__friendly ul {
display: inline-flex;
flex-wrap: wrap;
list-style: none;
padding-inline-start: 0;
margin: 0;
}
.ys-footer__friendly a {
padding: 4px 10px;
position: relative;
font-size: 14px;
color: rgba(255, 255, 255, 0.7);
text-decoration: none;
}
.ys-footer__friendly a:hover {
color: var(--ys-color-strong);
}
.ys-footer__friendly li + li a:before {
content: '|';
color: var(--ys-color-text-300);
position: absolute;
left: -2px;
top: 4px;
}
.ys-footer__end {
box-sizing: border-box;
height: 40px;
padding: 16px var(--ys-page-padding);
display: flex;
align-items: center;
justify-content: space-between;
background: #202228;
}
.ys-footer__end .end-link {
font-size: 14px;
color: var(--ys-color-background-050);
}
.ys-footer__end .end-link a {
position: relative;
text-decoration: none;
color: var(--ys-color-background-050);
margin-right: 10px;
}
.ys-footer__end .end-link a:not(:last-child)::after {
content: '';
position: absolute;
width: 2px;
height: 15px;
right: -9px;
top: 0;
bottom: 0;
margin: auto;
background-color: var(--ys-color-white);
}
.ys-footer__end .right-part {
display: flex;
align-items: center;
/* gap: 10px; */
}
.ys-footer__end .right-part img {
max-width: 120px;
}
.ys-footer__end .copyright-wrap {
margin-right: 10px;
/* gap: 6px; */
font-size: 12px;
color: #fff;
opacity: 0.7;
}
.ys-footer__end .copyright-wrap a{
color: #fff;
text-decoration: none;
margin-bottom: 6px;
}.ys-rightNav {
position: fixed;
right: 4px;
bottom: 90px;
text-align: center;
z-index: 99;
font-size: 14px;
line-height: 16px;
}
.ys-rightNav .service {
background-color: var(--ys-color-assist);
padding: 12px;
width: 56px;
color: var(--ys-color-white);
border-radius: 28px;
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
cursor: pointer;
}
.ys-rightNav .service img {
width: 32px;
height: 32px;
border-radius: 50%;
margin-bottom: 6px;
}
.ys-rightNav .circle {
position: relative;
width: 60px;
height: 60px;
border: 1px solid var(--ys-color-background-100);
background: var(--ys-color-primary);
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
padding-top: 14px;
cursor: pointer;
display: block;
text-decoration: none;
color: var(--ys-color-white);
}
.ys-rightNav .circle + .circle {
border-top: none;
}
.ys-rightNav .circle i {
font-size: 24px;
color: var(--ys-color-white);
}
.ys-rightNav .circle .text-cover {
position: absolute;
width: 60px;
height: 60px;
z-index: 2;
background-color: var(--ys-color-assist);
color: var(--ys-color-white);
left: -1px;
top: -1px;
padding: 14px;
transition: all .2s;
transform-origin: center;
transform: scale(0);
}
.ys-rightNav .circle:hover .text-cover,
.ys-rightNav .circle:hover .code-cover {
transform: scale(1);
}
.ys-rightNav .code-text {
font-size: 12px;
margin-top: 2px;
}
.ys-rightNav #backTop {
display: none;
/* padding: 19px 12px 12px; */
padding-top: 14px;
}
.ys-rightNav #backTop i {
transform: rotate(-90deg);
display: block;
font-weight: 600;
}
.ys-rightNav .code-cover {
position: absolute;
border-radius: 4px;
border: 1px solid var(--ys-color-background-100);
background: linear-gradient(0deg, #FFF 0%, #FFF 100%), linear-gradient(180deg, #F5F5F5 0%, #FEFEFE 100%);
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10);
right: 74px;
top: 0;
bottom: 0;
width: 229px;
height: fit-content;
margin: auto;
transition: all .2s;
transform-origin: right;
transform: scale(0);
}
.ys-rightNav .code-cover.narrow {
width: auto;
}
.ys-rightNav .code-cover .code-item {
display: flex;
align-items: center;
padding: 12px;
border-bottom: 1px solid var(--ys-color-background-100);
font-size: 12px;
color: var(--ys-color-text-300);
}
.ys-rightNav .code-cover .code-item:last-child {
border-bottom: 0;
}
.ys-rightNav .code-cover img {
width: 82px;
height: 82px;
margin-right: 10px;
}
.ys-rightNav .code-cover .code-item i {
font-size: 18px;
color: var(--ys-color-success);
margin-right: 4px;
}
.ys-rightNav .code-cover .code-item span {
color: var(--ys-color-text-000);
font-size: 14px;
}
.ys-rightNav .code-cover p {
display: flex;
align-items: center;
justify-content: center;
margin-top: 14px;
}
.ys-rightNav .code-cover .code-row {
display: block;
text-decoration: none;
font-size: 14px;
padding: 12px 20px;
white-space: nowrap;
color: var(--ys-color-text-000);
}
.ys-rightNav .code-row a {
text-decoration: none;
color: var(--ys-color-text-000);
}
.ys-rightNav .code-cover .code-row + .code-row {
border-top: 1px solid var(--ys-color-text-700);
}
#newBridge .nb-icon-wrap {
display: none;
}