.ys-header {
height: var(--ys-header-top);
display: flex;
transition: all 0.2s;
position: relative;
z-index: 100;
}
.ys-header.is-sticky {
position: sticky;
top: 0;
}
.ys-header .ys-header-nav {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 var(--ys-page-padding);
background: #fff;
position: relative;
z-index: 20;
box-shadow: 0 15px 10px -15px #0000000f;
}
.ys-header__menu {
min-width: 59px;
}
.ys-header__menu .iconfont {
font-size: 24px;
cursor: pointer;
color: var(--ys-color-text-000);
}
.ys-header-menu {
position: fixed;
z-index: 102;
left: auto;
top: 0;
bottom: 0;
width: 260px;
background-color: var(--ys-color-white);
transform: translateX(-260px);
transition: 0.3s;
}
.ys-header-menu.show {
transform: translateX(0);
}
.ys-header-menu.show + .ys-header__cover {
z-index: 101;
}
.ys-header-menu .header-menu-close {
height: var(--ys-header-top);
line-height: var(--ys-header-top);
padding-left: var(--ys-page-padding);
}
.ys-header-menu .header-menu-close .iconfont {
font-size: 18px;
color: var(--ys-color-text-000);
}
.ys-header-menu .header-menu-list {
padding-top: 18px;
}
.ys-header-menu .header-menu__link {
text-decoration: none;
color: var(--ys-color-text-000);
margin-left: 58px;
height: 72px;
line-height: 72px;
}
.ys-header-menu .header-menu-other {
position: absolute;
width: 100%;
bottom: 87px;
text-align: center;
}
.ys-header-menu .header-menu__tel {
color: var(--ys-color-text-100);
font-size: 14px;
}
.ys-header-menu .header-menu__tel span {
color: var(--ys-color-strong);
font-size: 16px;
font-weight: bold;
}
.ys-header__logo {
height: 37px;
}
.ys-header.is-show-mobile-search .ys-header__logo {
display: none;
}
/* search start */
.ys-header__right {
display: flex;
align-items: center;
justify-content: end;
transition: 0.3s;
}
.ys-header__right.open {
flex: 1;
}
.ys-header__search {
position: relative;
/* display: flex; */
display: none;
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: 100%;
padding: 10px 12px;
}
.ys-header.is-show-mobile-search .ys-header__search {
display: block;
}
.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 {
font-size: 12px;
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);
}
.ys-header-search--mobile {
margin-top: 5px;
}
.ys-header-search--mobile .icon-search {
font-size: 30px;
}
.ys-header.is-show-mobile-search .ys-header-search--mobile {
display: none;
}
/* search end */
/* user start */
.ys-header__user {
margin-left: 22px;
position: relative;
height: 40px;
padding-top: 3px;
box-sizing: border-box;
}
.ys-header__user > .ys-header__user-icon > 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: var(--ys-header-top);
background-color: var(--ys-color-white);
transition: all .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);
}
.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;
}
/* 悬停卡片 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 */
@media only screen and (min-width: 1200px), (max-width: 576px) {
.ys-header__user {
margin-left: 10px;
}
}
@media only screen and (max-width: 340px) {
.ys-header__menu {
min-width: auto;
}
}.info-detail {
background-color: var(--ys-color-background);
}
.info-detail ul {
list-style: none;
}
.info-detail a {
text-decoration: none;
}
.info-detail .c-breadcrumb {
padding: 30px var(--ys-page-padding) 30px;
}
.info-detail__content {
width: var(--ys-content-width);
margin: auto;
padding-bottom: 127px;
display: flex;
flex-direction: column;
align-items: start;
}
.info-detail__content .content-side {
width: 100%;
flex: 1;
overflow: hidden;
}
.info-detail__content .content-side img {
max-width: 100%;
}
.article {
min-height: 600px;
}
.article__title {
color: var(--ys-color-text-000);
font-size: var(--ys-title-size);
font-weight: 500;
line-height: var(--ys-title-height);
}
.article__info {
margin: 16px 0 30px;
color: var(--ys-color-text-100);
font-size: 14px;
line-height: normal;
letter-spacing: 0.28px;
}
.article__info span + span {
margin-left: 40px;
color: var(--ys-color-text-300);
}
.article__content {
line-height: 32px;
overflow: hidden;
}
.article__content * {
max-width: 100% !important;
-webkit-box-sizing: border-box !important;
box-sizing: border-box !important;
word-wrap: break-word !important;
overflow: hidden;
}
.article__content img {
height: auto !important;
}
.article-tags {
margin-top: 113px;
display: flex;
align-items: start;
}
.article-tags__title {
color: var(--ys-color-text-000);
font-size: 16px;
font-weight: 600;
line-height: 40px;
margin-right: 20px;
white-space: nowrap;
}
.article-tags__list {
padding: 0;
margin: 0 -6px;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.article-tags__item {
margin: 4px;
}
.article-tags__link {
padding: 4px 6px;
border-radius: 2px;
border: 1px solid rgba(37, 67, 241, 0.4);
color: var(--ys-color-primary);
font-size: 12px;
line-height: normal;
display: inline-block;
height: 28px;
}
.article-tools {
display: flex;
align-items: center;
justify-content: center;
margin: 60px 0 40px;
gap: 20px;
position: relative;
}
.article-tools::before {
content: "";
position: absolute;
left: 0;
width: 100%;
height: 1px;
background: var(--ys-color-background-100);
}
.article-tools__like,
.article-tools__share {
position: relative;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
width: 102px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 38px;
background: var(--ys-color-strong);
color: var(--ys-color-white);
font-size: 14px;
line-height: normal;
}
.article-tools__like:hover {
background-color: var(--ys-color-warning);
}
.article-tools__share:hover {
background-color: var(--ys-color-info);
}
.article-tools__like .iconfont,
.article-tools__share .iconfont {
font-size: 20px;
margin-right: 12px;
}
.article-tools__share {
background: var(--ys-color-primary);
}
.article-tools .c-popover-content {
padding: 10px 8px;
width: fit-content;
white-space: nowrap;
}
.article-tools .share-options {
margin: 0;
padding: 0;
}
.article-tools .share-options li {
font-size: 13px;
padding: 4px 10px;
border-radius: 2px;
cursor: pointer;
display: flex;
align-items: center;
position: relative;
}
.article-tools .share-options li:hover {
background: #f4f7ff;
}
.article-tools .share-options li:hover .cover-code {
display: block;
}
.article-tools .share-options i {
font-size: 20px;
margin-right: 8px;
}
.article-tools .share-options .icon-wechat {
color: #50b674;
}
.article-tools .share-options .icon-qq {
color: #68a5e1;
}
.article-tools .share-options .icon-weibo {
color: #f56467;
}
.article-tools .share-options .icon-link {
color: #1296db;
}
.share-options .cover-code {
display: none;
position: absolute;
padding: 12px;
background-color: var(--ys-color-white);
font-size: 12px;
color: var(--ys-color-text-000);
top: -10px;
left: calc(100% + 20px);
text-align: center;
fill: linear-gradient(0deg, #fff 0%, #fff 100%),
linear-gradient(180deg, #f5f5f5 0%, #fefefe 100%);
stroke-width: 1px;
stroke: #eee;
filter: drop-shadow(0px 4px 10px rgba(0, 0, 0, 0.1));
}
.share-options .cover-code::after {
content: "";
position: absolute;
left: -6px;
top: 20px;
z-index: 2;
width: 0;
height: 0;
border-right: 6px solid var(--ys-color-white);
border-top: 6px solid transparent;
border-bottom: 6px solid transparent;
}
.share-options .cover-code div {
margin-bottom: 4px;
width: 90px;
height: 90px;
}
.article-more {
display: flex;
align-items: center;
justify-content: space-between;
color: var(--ys-color-text-000);
font-size: 14px;
line-height: 20px;
padding-bottom: 40px;
margin-bottom: 40px;
border-bottom: 1px solid var(--ys-color-background-100);
white-space: nowrap;
}
.article-more .iconfont {
font-size: 24px;
line-height: 24px;
color: var(--ys-color-text-300);
}
.article-more__prev .iconfont {
display: inline-block;
transform: rotate(180deg);
}
.article-more__prev,
.article-more__next {
display: flex;
align-items: center;
}
.article-more__next {
text-align: right;
}
.article-more__link {
color: var(--ys-color-text-000);
font-weight: 600;
max-width: 180px;
}
.article-more__link:hover {
color: var(--ys-color-primary);
}
.related-product__title {
color: var(--ys-color-text-000);
font-size: 24px;
font-weight: 500;
line-height: normal;
margin-bottom: 20px;
}
.related-product__list {
padding: 0;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
margin: 0;
}
.related-product__item {
width: calc(25% - 12px);
margin: 0 0 30px;
}
.product {
--related-product-size: 100%;
width: var(--related-product-size);
display: inline-block;
}
.product__img {
position: relative;
height: 0;
padding-bottom: 100%;
border-radius: 4px;
overflow: hidden;
}
.product__img img {
position: absolute;
border-radius: 4px;
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
}
.product__title {
color: var(--ys-color-text-000);
font-size: 16px;
line-height: normal;
margin: 12px 0 13px;
}
.product__desc {
color: var(--ys-color-text-300);
font-size: 14px;
line-height: normal;
}
.info-side {
position: relative;
width: 100%;
}
.info-side > div {
display: flex;
flex-direction: column;
}
.info-side.fixed-bottom > div {
position: static !important;
width: 100% !important;
bottom: 0;
}
.info-side ul {
padding: 0;
}
.info-side__new {
flex: 100%;
}
.info-side__recommend {
flex: 100%;
margin-bottom: 50px;
}
.info-side__title {
color: var(--ys-color-text-000);
font-size: 20px;
font-weight: 600;
line-height: normal;
margin-bottom: 20px;
}
.info-side__item + .info-side__item {
margin-top: 30px;
}
.info-item {
display: flex;
align-items: center;
}
.info-item:hover .info-item__title {
color: var(--ys-color-primary);
}
.info-item__img {
width: 110px;
height: 82px;
border-radius: 4px;
overflow: hidden;
margin-right: 16px;
/* background: lightgray 50%; */
box-shadow: 0px 4px 224px 0px rgba(0, 0, 0, 0.06) inset;
}
.info-item__img img {
width: 100%;
height: 100%;
-o-object-fit: contain;
object-fit: contain;
}
.info-item__title {
flex: 1;
color: var(--ys-color-text-000);
font-size: 14px;
font-weight: 400;
line-height: 21px;
} /*# sourceMappingURL=style.css.map */
.wechat-qrcode-dialog .qrcode-header {
text-align: center;
margin: 0 0 20px 0;
}
@media only screen and (min-width: 1200px), (max-width: 576px) {
.article__content {
font-size: 14px;
line-height: 1.6;
}
.article__info span + span {
margin-left: 15px;
}
.article-more {
flex-direction: column;
align-items: flex-start;
}
.article-more__link {
max-width: 100%;
}
.article-more__prev,
.article-more__next {
width: 100%;
}
.article-more .iconfont {
display: none;
}
.article-tools__like,
.article-tools__share {
width: 100px;
font-size: 14px;
height: 40px;
}
.article-tools__like .iconfont,
.article-tools__share .iconfont {
font-size: 20px;
}
.related-product__item {
width: calc(33% - 8px);
}
}
@media only screen and (max-width: 375px) {
.article__info {
display: flex;
flex-wrap: wrap;
}
.article__info span {
min-width: 50%;
}
.article__info span:nth-of-type(2) {
order: 3;
margin-top: 4px;
}
.article__info span + span {
margin-left: 0;
}
.related-product__item {
width: calc(50% - 8px);
}
.product__title {
margin: 8px 0;
}
}
@media only screen and (max-width: 320px) {
.product__title {
font-size: 14px;
}
.related-product__item {
width: calc(50% - 4px);
}
}/* 网站底部 */
.ys-footer {
width: 100%;
background: #ecf1f8;
}
.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) 0;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
border-bottom: 1px solid #eee;
}
.ys-footer__content .footer_phone {
display: block;
margin: 0 0 0.5em 0;
font-size: 26px;
font-weight: 600;
line-height: 36px;
color: var(--ys-color-strong);
text-decoration: none;
}
.ys-footer__content .footer_work_time,
.ys-footer__content .footer_email {
font-size: 14px;
color: rgba(51, 51, 51, 0.68);
}
.ys-footer__content .footer_email a {
color: rgba(51, 51, 51, 0.68);
text-decoration: none;
}
.ys-footer__content .left-part .iconfont {
display: inline-block;
margin: 0 4px 0 0;
position: relative;
color: rgba(51, 51, 51, 0.68);
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 .left-part,
.ys-footer__content .right-part {
order: 2;
margin-top: 20px;
}
.ys-footer__content .center-part {
flex: 100%;
padding: 6px 0 0 0;
}
.ys-footer__content .content-link + .content-link {
margin-top: 20px;
}
.ys-footer__content .content-link span {
font-size: 16px;
color: var(--ys-color-text-000);
font-weight: 600;
}
.ys-footer__content .content-link__icon {
display: none;
}
.ys-footer__content .content-link__title {
display: flex;
align-items: center;
justify-content: space-between;
}
.ys-footer__content .content-link.show .content-link__icon {
transform: rotate(270deg);
}
.ys-footer__content .content-link__icon {
display: inline-block;
transform: rotate(90deg);
font-size: 18px;
transition: 0.3s;
}
.ys-footer__content .children-link-wrap {
display: none;
}
.ys-footer__end {
flex-direction: column;
height: auto;
}
.ys-footer__end .right-part {
padding: 10px 0;
}
.ys-footer__content .children-link-wrap {
list-style: none;
padding-inline-start: 0;
margin: 22px 0 0 0;
height: 100%;
}
.ys-footer__content .children-link-wrap a {
font-size: 14px;
line-height: 17px;
color: var(--ys-color-text-100);
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-primary);
}
.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;
}
.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;
border-bottom: 1px solid #eee;
}
.ys-footer__friendly span {
font-size: 16px;
line-height: 32px;
color: var(--ys-color-text-000);
}
.ys-footer__friendly ul {
display: inline-flex;
list-style: none;
padding-inline-start: 0;
margin: 0;
flex-wrap: wrap;
}
.ys-footer__friendly a {
padding: 4px 10px;
position: relative;
font-size: 14px;
color: var(--ys-color-text-100);
text-decoration: none;
}
.ys-footer__friendly a:hover {
color: var(--ys-color-primary);
}
.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;
min-height: 76px;
padding: 16px var(--ys-page-padding) 40px;
display: flex;
align-items: center;
justify-content: space-between;
background: #202228;
}
.ys-footer__end .end-link {
font-size: 12px;
color: #fff;
}
.ys-footer__end .end-link a {
position: relative;
text-decoration: none;
color: #fff;
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 {
height: 42px;
max-width: 110px;
}
.ys-footer__end .copyright-wrap {
margin-right: 10px;
display: inline-flex;
flex-direction: column;
align-items: flex-end;
justify-content: space-around;
/* gap: 6px; */
font-size: 12px;
color: #fff;
opacity: 0.7;
}
.ys-footer__end .copyright-wrap a{
color: #fff;
text-decoration: none;
margin-bottom: 6px;
}
@media only screen and (min-width: 1200px), (max-width: 576px) {
.ys-footer__end .right-part {
flex-direction: column;
}
.ys-footer__end .copyright-wrap {
margin-top: 12px;
margin-right: 0;
order: 2;
align-items: flex-start;
}
.ys-footer__end .copyright-wrap a {
margin: 0;
}
.ys-footer__end .end-link {
order: 2;
}
}.ys-tabbar {
position: sticky;
bottom: 0;
left: 0;
width: 100%;
background-color: var(--ys-color-white);
box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 6.09375px 0px;
z-index: 20;
}
.ys-tabbar .ys-tabbar__list {
height: 54px;
display: flex;
align-items: center;
list-style: none;
margin: 0;
padding: 0;
}
.ys-tabbar .ys-tabbar__item {
flex: 1;
}
.ys-tabbar .ys-tabbar__link {
display: block;
position: relative;
text-align: center;
text-decoration: none;
color: var(--ys-color-text-100);
font-size: 12px;
}
.ys-tabbar .ys-tabbar__link.active {
color: var(--ys-color-primary);
}
.ys-tabbar .ys-tabbar__icon .iconfont {
font-size: 18px;
line-height: normal;
}
.ys-tabbar .ys-tabbar__text {
margin-top: 2px;
}
.ys-tabbar .ys-tabbar__circle {
position: absolute;
top: -32px;
left: 50%;
margin-left: -25px;
background-color: var(--ys-color-strong);
color: var(--ys-color-white);
width: 50px;
height: 50px;
line-height: 50px;
border-radius: 50%;
}
.ys-tabbar .ys-tabbar__circle::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate3d(-50%, -50%, 0);
width: 60px;
height: 60px;
border-radius: 50%;
border: 2px solid rgba(244, 244, 244, 1);
z-index: -2;
background-color: var(--ys-color-white);
}
.ys-tabbar .ys-tabbar__circle::after {
content: "";
position: absolute;
left: -10px;
bottom: -5px;
background-color: var(--ys-color-white);
width: 67px;
height: 30px;
z-index: -1;
}
.ys-tabbar .ys-tabbar__circle .iconfont {
font-size: 24px;
}
.ys-tabbar .ys-tabbar__circle + div {
visibility: hidden;
}
@media only screen and (max-width: 375px) {
.ys-tabbar .ys-tabbar__circle {
top: -24px;
margin-left: -22px;
width: 42px;
height: 42px;
line-height: 42px;
}
.ys-tabbar .ys-tabbar__circle::before {
width: 50px;
height: 50px;
}
.ys-tabbar .ys-tabbar__circle::after {
left: -14px;
bottom: -6px;
}
.ys-tabbar .ys-tabbar__circle .iconfont {
font-size: 20px;
}
}