.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; } }/* 产品选型 */ .ys-product-banner { width: 100%; min-width: var(--ys-content-width); background-color: var(--ys-color-background-100); color: var(--ys-color-text-000); position: relative; min-height: 300px; } .ys-product-banner img { width: 100%; height: 300px; object-fit: cover; object-position: center; } .ys-product-banner div { width: var(--ys-content-width); margin: 0 auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; display: flex; flex-direction: column; justify-content: center; } .ys-product-banner h1 { font-size: var(--ys-title-size); line-height: var(--ys-title-height); margin: 0; } .ys-product-banner p { font-size: 16px; margin-top: 20px; color: var(--ys-color-text-000); width: 100%; line-height: 30px; } @media only screen and (min-width: 1200px), (max-width: 576px) { .ys-product-banner p { font-size: 14px; line-height: 26px; margin-top: 16px; } } @media only screen and (max-width: 375px) { .ys-product-banner p { line-height: 20px; } }body { background-color: var(--ys-color-background); } /* 产品选型 */ .ys-product-filter { position: fixed; bottom: 0; top: 0; right: -80%; z-index: 104; width: 80%; height: 100%; margin: 0; background-color: var(--ys-color-white); display: flex; flex-direction: column; transition: transform 0.3s; } .ys-product-filter.mobile-show { transform: translate3d(-99.9%, 0, 0); } /* 筛选项 start */ .ys-product-filter__box { overflow-y: auto; padding-bottom: 20px; } .ys-product-filter__box .filter-item { display: block; } .ys-product-filter__box .filter-item:last-child { border-bottom: 0; } .ys-product-filter__box .filter-item .filter-item-title { width: 130px; display: flex; align-items: center; width: 100%; padding: 0 16px 8px; } .ys-product-filter__box .filter-item .filter-item-selection { padding: 16px 20px; color: var(--ys-color-text-100); width: 100%; height: auto; max-height: 134px; box-sizing: border-box; overflow: hidden; } .ys-product-filter__box .filter-item .filter-item-selection.expand { height: auto; max-height: none; } .ys-product-filter__box .filter-item-selection .selection-box { display: flex; flex-wrap: wrap; /* gap: 16px 36px; */ margin: -8px -18px; padding-left: 12px; } .ys-product-filter__box .filter-item-selection .selection-item { display: flex; align-items: center; justify-content: center; cursor: pointer; min-width: calc(33.333% - 12px); margin: 0 12px 12px 0; text-align: center; background-color: var(--ys-color-background-050); height: 30px; font-size: 12px; } .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:hover input + label::before { border-color: var(--ys-color-text-000); } .ys-product-filter__box .filter-item-selection .selection-item input { margin-right: 4px; visibility: hidden; display: none; } .ys-product-filter__box .filter-item .filter-item-expand { position: sticky; bottom: -20px; background-color: var(--ys-color-white); font-size: 12px; color: var(--ys-color-text-300); margin-left: auto; margin-right: 10px; height: auto; cursor: pointer; display: flex; align-items: center; justify-content: center; } .ys-product-filter__box .filter-item .filter-item-expand:hover { color: var(--ys-color-primary); } .ys-product-filter__box .filter-item .filter-item-expand i { transform: rotate(90deg); } .ys-product-filter__box .filter-item .filter-item-expand i.expand { transform: rotate(-90deg); } .ys-product-filter__more { /* display: flex; */ display: none; align-items: center; font-size: 12px; padding: 5px 10px; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; background-color: var(--ys-color-background-100); width: fit-content; margin: 0 auto; cursor: pointer; } .ys-product-filter__more:hover { background-color: #e2e2e2; } .ys-product-filter__more i { transform: rotate(90deg); margin-left: 4px; transition: all 0.2s; } .ys-product-filter__more.expand i { transform: rotate(-90deg); } /* 筛选项 end */ /* 模拟input checkbox */ .ys-product-filter__box .selection-item label { position: relative; width: 100%; height: 100%; line-height: 2.5; border: 1px solid transparent; padding: 0 4px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .ys-product-filter__box .selection-item input + label::before { content: ""; display: none; width: 12px; height: 12px; cursor: pointer; position: absolute; top: 5px; left: -16px; 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: -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-product-filter__box .filter-item-selection .selection-item input:checked ~ label { color: var(--ys-color-primary); border-color: var(--ys-color-primary); } .ys-product-filter-checked { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; font-size: 14px; margin-bottom: 18px; padding: 0 16px; } .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); } .filter-mobile-close { display: block; padding-left: 20px; height: 72px; line-height: 72px; } .ys-filter-search { padding: 10px var(--ys-page-padding); background-color: var(--ys-color-white); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 72px; z-index: 1; box-shadow: 0 15px 10px -15px #0000000f; } .ys-filter-search .ys-product__input { display: flex; flex: 1; margin-bottom: 0; } .ys-filter-search .ys-product-filter-switch { padding-left: 10px; white-space: nowrap; } .ys-product-filter-cover--mobile { display: none; position: fixed; z-index: 103; left: 0; right: 0; top: 0; bottom: 0; background-color: rgba(0, 0, 0, 0.7); transition-delay: 100ms; } .ys-product-filter-cover--mobile.show { display: block; } @media only screen and (min-width: 768px) { .ys-product-filter { /* pc: 768 * 0.8 */ max-width: 614px; transform: translate3d(125%, 0, 0); right: auto; } .ys-product-filter.mobile-show { transform: translate3d(25%, 0, 0); } } @media only screen and (min-width: 1200px) { .ys-product-filter { /* pc: 512 * 0.8 */ max-width: 410px; transform: translate3d(125%, 0, 0); right: auto; } .ys-product-filter.mobile-show { transform: translate3d(25%, 0, 0); } } @media only screen and (max-width: 375px) { .ys-filter-search .ys-product-filter-switch { font-size: 14px; padding-left: 6px; } } /* 产品选型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; display: none; } .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: 40; font-size: 14px; 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 */ .ys-product__cate .cate-item { margin-bottom: 16px; border-radius: 4px; overflow: hidden; } .ys-product__cate .cate-item a { text-decoration: none; } .ys-product__cate .cate-item .cate-item-title { background: linear-gradient(90.39deg, var(--ys-color-primary) 69.92%, #5681F1 100.08%); color: var(--ys-color-white); padding: 10px 20px; font-size: 18px; font-weight: 600; margin: 0; } .ys-product__cate .cate-item-series { background-color: #f2f2f2; padding: 16px; } .ys-product__cate .cate-series-item { margin-bottom: 20px; } .ys-product__cate .cate-series-item:last-child { margin-bottom: 0; } .ys-product__cate .series-title { position: relative; color: var(--ys-color-primary); font-weight: 600; font-size: 16px; margin-bottom: 16px; padding-left: 22px; } .ys-product__cate .series-title::before { content: ''; width: 7px; height: 19px; position: absolute; left: 0; top: 0; background-color: var(--ys-color-primary); } .ys-product__cate .series-title::after { content: ''; width: 2px; height: 19px; position: absolute; left: 10px; top: 0; background-color: #1063cc; } .ys-product__cate .series-box { display: grid; grid-template-columns: 1fr 1fr; /* flex-wrap: wrap; */ gap: 12px; max-height: 564px; overflow-y: auto; } .ys-product__cate .series-product { background-color: var(--ys-color-white); padding: 10px; /* width: calc(50% - 6px); */ display: flex; align-items: center; box-sizing: border-box; text-decoration: none; overflow: hidden; } .ys-product__cate .series-product:hover img { transform: scale(1.1); } .ys-product__cate .series-product:hover .product-title { color: var(--ys-color-primary); } .ys-product__cate .series-product .product-img { width: 100px; height: 100px; background: unset; } .ys-product__cate .series-product .product-info { margin-left: 10px; width: auto; flex: 1; overflow: hidden; font-size: 0; } .ys-product__cate .series-product .product-title { display: inline-block; text-decoration: none; color: var(--ys-color-text-000); max-width: 100%; } .ys-product__cate .series-product .product-info h3 { font-size: 16px; margin-bottom: 4px; margin-top: 0; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .ys-product__cate .series-product .product-info p { font-size: 12px; color: var(--ys-color-text-300); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } .ys-product__list { padding: 12px; background-color: #f2f2f2; /* display: flex; */ /* flex-wrap: wrap; */ display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; } .ys-product__list .grid-item { background-color: var(--ys-color-white); padding: 10px; /* width: calc(50% - 6px); */ display: flex; align-items: center; box-sizing: border-box; text-decoration: none; overflow: hidden; } .ys-product__list .grid-item:hover img { transform: scale(1.1); } .ys-product__list .grid-item:hover .product-title { color: var(--ys-color-primary); } .ys-product__list .grid-item .product-img { width: 100px; height: 100px; background: unset; } .ys-product__list .grid-item .product-info { margin-left: 10px; width: auto; flex: 1; overflow: hidden; font-size: 0; } .ys-product__list .grid-item .product-title { display: flex; text-decoration: none; color: var(--ys-color-text-000); } .ys-product__list .grid-item .product-info h3 { font-size: 16px; margin-bottom: 4px; margin-top: 0; font-weight: 500; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .ys-product__list .grid-item .product-info p { font-size: 12px; color: var(--ys-color-text-300); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; } .ys-product__list .grid-item .product-info p.product-code { font-size: 12px; margin-bottom: 4px; color: var(--ys-color-text-100); } .ys-search__empty { text-align: center; margin: 90px auto 150px; grid-column: span 2; } .ys-search__empty img { width: 160px; margin: 0 auto 20px; } .ys-search__empty p:nth-child(2) { font-weight: 500; font-size: 18px; } .ys-search__empty p:last-child { font-size: 16px; margin-top: 8px; color: var(--ys-color-text-300); } img.error::before { background-color: #fff; } @media only screen and (min-width: 1200px), (max-width: 640px) { .ys-product__cate .series-box { grid-template-columns: 1fr; max-height: 480px; } .ys-product__list .grid-item .product-img, .ys-product__cate .series-product .product-img { width: 110px; height: 110px; } .ys-product__list { grid-template-columns: 1fr; } } @media only screen and (min-width: 1200px), (max-width: 576px) { .ys-product__list .grid-item .product-img, .ys-product__cate .series-product .product-img { width: 90px; height: 90px; } } @media only screen and (max-width: 375px) { .ys-product__cate .series-box { max-height: 400px; } .ys-product__list, .ys-product__cate .cate-item-series { padding: 10px; } .ys-product__list .grid-item .product-img, .ys-product__cate .series-product .product-img { width: 90px; height: 90px; } .ys-product__list .grid-item .product-info h3, .ys-product__cate .series-product .product-info h3 { font-size: 14px; } } @media only screen and (max-width: 320px) { .ys-product__cate .series-product .product-img { width: 70px; height: 70px; } .ys-product__list .grid-item { flex-wrap: wrap; } .ys-product__list .grid-item .product-img { width: 142px; height: 142px; margin: auto; } .ys-product__list .grid-item .product-info { margin-left: 0; width: 100%; flex: none; } }/* 产品选型 */ .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-box { overflow-x: scroll; overflow-y: hidden; } .ys-product__table { min-width: 1000px; border: 1px solid var(--ys-color-text-700); } .ys-product__table .product-table-header { height: 54px; line-height: 54px; display: flex; } .ys-product__table .product-table-header div { width: 50%; color: var(--ys-color-white); padding-left: 20px; font-size: 14px; } .ys-product__table .product-table-header div:first-child { background-color: var(--ys-color-primary); } .ys-product__table .product-table-header div:last-child { background-color: var(--ys-color-primary); opacity: 0.7; } .ys-product__table .product-table-item { border-bottom: 1px solid var(--ys-color-text-700); position: relative; display: flex; } .ys-product__table .product-table-item::before { content: ''; width: 3px; height: 100%; background-color: var(--ys-color-primary); left: 0; display: none; position: absolute; } .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::before { display: block; } .ys-product__table .product-table-item:last-child { border-bottom: 0; } .product-table-item .left { border-right: 1px solid var(--ys-color-text-700); padding: 16px 20px 12px; width: 50%; background-color: var(--ys-color-white); } .product-table-item .product-info { display: flex; } .product-table-item .product-table-img { width: 90px; height: 90px; border-radius: 4px; } .product-table-item .product-table-info { flex: 1; margin-left: 20px; display: flex; flex-direction: column; width: 320px; } .product-table-item .product-table-info a { font-weight: 600; color: var(--ys-color-text-000); margin-bottom: 8px; font-size: 16px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-decoration: none; } .product-table-item .product-table-info p:nth-child(2) { word-break: break-all; font-size: 14px; color: var(--ys-color-text-100); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; } .product-table-item .product-table-button { margin-left: auto; background-color: #ebedfa; color: var(--ys-color-primary); cursor: pointer; border-radius: 2px; width: 88px; height: 34px; line-height: 34px; text-align: center; font-size: 14px; border: 1px solid #1238D866; transition: all 0.2s; text-decoration: none; } .product-table-item .product-action { display: flex; align-items: center; margin-top: 8px; font-size: 14px; } .product-table-item .product-action div { display: flex; align-items: center; } .product-table-item .product-action input { margin-right: 4px; visibility: hidden; } .product-table-item .product-action span, .product-table-item .product-action a { margin-left: 20px; cursor: pointer; display: flex; align-items: center; text-decoration: none; color: var(--ys-color-text-000); } .product-table-item .product-action label input { margin-right: 4px; } .product-table-item .product-action span i, .product-table-item .product-action a i { color: var(--ys-color-assist); margin-right: 4px; font-size: 18px; } .product-table-item .product-table-button:hover { background-color: var(--ys-color-primary); color: var(--ys-color-white); } .product-table-item .right { background-color: var(--ys-color-background); width: 50%; display: grid; grid-template-columns: repeat(3, auto); padding: 28px 20px; margin: 0; gap: 10px; } .product-table-item .right li { list-style: none; color: var(--ys-color-text-100); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .product-table-item .right li span { color: var(--ys-color-text-000); } .product-table-item .right .product-table-service { color: #0031ce; cursor: pointer; } /* 产品-详情 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; } @media only screen and (min-width: 1200px), (max-width: 680px) { .ys-product__table { min-width: 820px; } .product-table-item .product-info { flex-wrap: wrap; } .product-table-item .product-table-button { /* display: none; */ margin-left: 104px; height: 28px; line-height: 28px; margin-top: -12px; } .product-table-item .product-table-info p:nth-child(2), .product-table-item .right li { font-size: 12px; } .product-table-item .product-action span, .product-table-item .product-action a, .product-table-item .product-table-info { margin-left: 15px; } .ys-product__table .product-table-header div { padding-left: 15px; } .product-table-item .left { padding: 12px 15px 10px; } .product-table-item .right { grid-template-columns: repeat(2, auto); padding: 11px 15px; gap: 6px; } } @media only screen and (min-width: 1200px), (max-width: 576px) { .ys-product__sku .ys-product__search .ys-product__input { margin-right: 15px; } .ys-product__sku .ys-product__search button { width: 140px; font-size: 14px; } .ys-product__sku .ys-product__input .search__input { padding: 8px 12px; font-size: 14px; } } @media only screen and (max-width: 480px) { .ys-product__table { min-width: 740px; } } @media only screen and (max-width: 440px) { .ys-product__table { min-width: 100%; } .ys-product__table .product-table-header div:last-child { display: none; } .product-table-item .right, .product-table-item .left, .ys-product__table .product-table-header div { width: 100%; } .product-table-item .product-table-button { margin-left: 85px; margin-top: 4px; font-size: 12px; height: 24px; line-height: 22px; } .ys-product__table .product-table-item { flex-direction: column; } .product-table-item .left { border-right: none; padding: 12px 15px 5px; } .product-table-item .product-table-info { width: auto; flex: 1; } .product-table-item .product-table-info a { margin-bottom: 4px; } .product-table-item .right { grid-template-columns: repeat(2, auto); padding: 15px; } .product-table-item .product-table-img { width: 70px; height: 70px; } .product-table-item .product-action { font-size: 12px; flex-wrap: wrap; } .product-table-item .product-action a, .product-table-item .product-action div, .product-table-item .product-action span { margin-left: 0; margin-right: 8px; margin-bottom: 5px; } .product-table-item .product-action span i, .product-table-item .product-action a i { font-size: 16px; } } @media only screen and (max-width: 375px) { .ys-product__sku .ys-product__search { flex-direction: column; } .ys-product__sku .ys-product__search .ys-product__input { margin-right: 0; margin-top: 20px; order: 2; } .ys-product__sku .ys-product__search button { width: 150px; } .product-table-item .left { padding: 12px 12px 6px; } .product-table-item .product-table-info { margin-left: 8px; width: calc(100% - 80px); } }/* 网站底部 */ .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; } }