.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-banner { width: 100%; position: relative; /* 590 / 1920 = 30.72196 */ /* height: 30.7296vw; */ height: 70vw; max-height: 340px; min-height: 320px; overflow: hidden; } .ys-banner .banner-slide img, .ys-banner .banner-slide video { width: 100%; height: 100%; object-fit: cover; } .ys-banner .banner-slide .banner-desc { position: absolute; top: 0; bottom: 0; left: var(--ys-page-padding); width: 500px; display: flex; flex-direction: column; justify-content: center; color: var(--ys-color-white); } .ys-banner .banner-slide .banner-desc h2 { font-weight: 600; font-size: var(--ys-title-size); line-height: var(--ys-title-height); } .ys-banner .banner-slide .banner-desc p { font-size: 16px; margin-top: 12px; color: rgba(255, 255, 255, 0.8); } .ys-banner .banner-slide .banner-desc button { border: 1px solid #ffffff99; background-color: transparent; color: var(--ys-color-white); height: 36px; line-height: 30px; width: 102px; font-size: 14px; line-height: 1; margin-top: 25px; cursor: pointer; border-radius: 4px; } .ys-banner .banner-slide .banner-desc button a { display: block; text-decoration: none; color: var(--ys-color-white); } .ys-banner .banner-slide .banner-desc button:hover { background-color: var(--ys-color-white); color: var(--ys-color-text-000); } .ys-banner .banner-slide .banner-desc button:hover a { color: var(--ys-color-text-000); } .ys-banner .banner-slide__video { width: 100%; height: 100%; object-fit: fill; pointer-events: none; } .ys-banner .ys-banner__indicator { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; z-index: 2; } .ys-banner__indicator .swiper-pagination-bullet { display: flex; margin: 0 8px; width: 8px; height: 8px; border-radius: 4px; background-color: rgba(255, 255, 255, 0.7); cursor: pointer; transition: all 1s; border: 1px solid rgba(51, 51, 51, 0.5); } .ys-banner__indicator .swiper-pagination-bullet.swiper-pagination-bullet-active { background-color: rgba(251, 251, 252, 0.8); border-color: rgba(0, 0, 0, 0.1); width: 28px; } .ys-banner .btn { display: none; position: absolute; top: 0; bottom: 0; margin: auto; width: 50px; height: 50px; background-color: rgba(0, 0, 0, 0.5); color: var(--ys-color-white); cursor: pointer; text-align: center; border-radius: 50%; line-height: 50px; opacity: 0; transition: all 0.2s; z-index: 2; } .ys-banner:hover .btn { opacity: 1; } .ys-banner .btn i { font-size: 30px; } .ys-banner #prev { left: 20px; transform: rotate(180deg); } .ys-banner #next { right: 20px; } @media only screen and (min-width: 1200px), (max-width: 576px) { .ys-banner .banner-slide .banner-desc { width: var(--ys-content-width); } .ys-banner .banner-slide .banner-desc p { font-size: 14px; } }/* 首页 */ .ys-index, .ys-banner, .ys-index__content { --ys-strength-img-w: 285px; width: 100%; /* min-width: var(--ys-content-width); */ } .ys-index .ys-index__title { font-weight: 600; font-size: var(--ys-subtitle-size); } .ys-index .ys-index__subtitle { font-size: 14px; color: var(--ys-color-text-300); margin-top: 12px; } .ys-index .ys-index__more { height: 38px; width: 70px; text-align: center; line-height: 38px; border: 1px solid var(--ys-color-text-700); display: block; font-size: 14px; color: var(--ys-color-text-100); border-radius: 24px; text-decoration: none; } .ys-index .ys-index__more:hover { color: var(--ys-color-white); background-color: var(--ys-color-primary); } .ys-index .arrow-item { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ys-color-text-700); margin: 0 8px; color: var(--ys-color-text-000); cursor: pointer; text-align: center; line-height: 48px; } .ys-index .arrow-item:hover { border-color: var(--ys-color-text-000); background-color: var(--ys-color-text-000); color: var(--ys-color-white); } .ys-index .arrow-item i { font-size: 22px; display: block; } .ys-index .arrow-item:first-child i { transform: rotate(180deg); } /* 熊猫体育app官方入口 start */ .ys-index__product { margin: 0 auto; width: var(--ys-content-width); padding: 56px 0; } .ys-index__product .ys-product__title { display: flex; justify-content: space-between; align-items: center; } .ys-index__product .product-list { margin-top: 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; } .ys-index__product .product-item { position: relative; display: block; width: 100%; height: 0; background-image: url(/asset/img/index/product-bg.png); background-repeat: no-repeat; background-size: cover; text-align: center; position: relative; padding: 16px 36px 85%; overflow: hidden; cursor: pointer; } .ys-index__product .product-item .product-img { position: absolute; left: 50%; bottom: 25px; transform: translateX(-50%); width: 90%; height: 90%; object-fit: contain; margin: 0 auto; mix-blend-mode: darken; } .ys-index__product .product-item .product-title { margin-top: 32px; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; position: absolute; text-align: center; bottom: 20px; left: 10px; right: 10px; font-weight: 400; color: var(--ys-color-text-000); } .ys-index__product .product-item .product-cover { display: none; position: absolute; top: 0; bottom: 0; left: 0; right: 0; transform: translateY(308px); transition: all 0.2s; transform-origin: bottom; background: linear-gradient( 360deg, rgba(4, 14, 23, 0.7) 28.9%, rgba(1, 5, 8, 0) 100% ); width: 100%; height: 100%; color: var(--ys-color-white); } /* .ys-index__product .product-item:hover .product-cover { transform: translate(0); } */ .ys-index__product .product-item .product-cover .product-title { font-weight: 600; width: fit-content; margin: auto; color: var(--ys-color-white); } .ys-index__product .product-item .product-desc { font-size: 14px; line-height: 24px; max-width: 230px; padding: 0 10px; margin: auto; position: absolute; left: 0; right: 0; bottom: 67px; color: rgba(255, 255, 255, 0.9); } .ys-index__product .product-item .product-slide { background: var(--ys-color-assist); width: 30px; height: 3px; margin: auto; position: absolute; left: 0; right: 0; bottom: 54px; } .ys-index__product .product-item .product-title::after { background-color: var(--ys-color-white); } /* 熊猫体育app官方入口 end */ /* 内容中心 start */ .ys-index__content { padding: 56px var(--ys-page-padding); background-color: #f3f5f8; background-image: url(/asset/img/index/content-bg-1.png); background-repeat: no-repeat; background-position: top right; } .ys-index__content .ys-index__title, .ys-index__content .ys-index__subtitle { text-align: center; } .ys-index__content .content-wrap { margin-top: 30px; display: flex; } .ys-index__content .content-wrap > div { width: calc(50% - 10px); height: fit-content; } .ys-index__content .content-button { background-color: var(--ys-color-assist); color: var(--ys-color-white); height: 42px; width: 170px; font-size: 14px; border: 0; outline: none; cursor: pointer; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin: 40px auto 0; text-decoration: none; } .ys-index__content .content-button:hover { background-color: var(--ys-color-warning); } .ys-index__content .content-button i { font-size: 18px; margin-right: 4px; } /* 内容中心 end */ /* 解决方案 start */ .ys-index__content.ys-index__content--solution { background-image: url(/asset/img/index/content-bg.png); } .ys-index__content .tab-solution-warp { margin-top: 30px; } .ys-index__content .solution-list { display: grid; grid-template-columns: 1fr; gap: 14px; } .ys-index__content .content-solution-item { background-color: var(--ys-color-white); border-radius: 6px; border: 1px solid var(--ys-color-background-100); overflow: hidden; } .ys-index__content .content-solution-item:hover { background-color: var(--ys-color-primary); color: var(--ys-color-white); } .ys-index__content .content-solution-item:hover .content-solution-title { color: var(--ys-color-white); } .ys-index__content .content-solution-info { padding: 20px 14px; } .ys-index__content .content-solution-img { display: block; width: 100%; height: 0; /* 278 / 638 = 43.57% */ padding-bottom: 43.57%; position: relative; } .ys-index__content .content-solution-img img { position: absolute; object-fit: cover; } .ys-index__content .content-solution-title { color: var(--ys-color-text-000); text-decoration: none; font-size: 18px; font-weight: 600; line-height: 22px; } .ys-index__content .content-solution-desc { font-size: 14px; font-weight: 400; line-height: 26px; margin-top: 12px; } /* 解决方案 end */ /* 产品上新 start */ .ys-index__content.ys-index__content--product { background-image: none; background: linear-gradient(180deg, #ffffff 3%, #f3f5f8 78%); overflow: hidden; } .ys-index__content .product-list { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; } .ys-index__content .product-arrow { display: none; } .ys-index__content .content-product-item { position: relative; background-color: var(--ys-color-white); height: auto; padding: 14px 14px 8px; border-radius: 4px; /* text-align: center; */ overflow: hidden; border: 1px solid transparent; box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1); transition: 0.3s; } .ys-index__content .content-product-item:hover { border-color: rgba(18, 56, 216, 0.4); box-shadow: 0px 4px 20px 0px rgba(37, 67, 241, 0.14); } .ys-index__content .content-product-item a { display: block; text-decoration: none; max-width: 100%; } .ys-index__content .content-product-item .content-product-desc { display: block; } .ys-index__content .content-product-item a img { object-fit: contain; } .ys-index__content .content-product-title { color: var(--ys-color-text-000); font-size: 16px; font-weight: 600; line-height: 25px; height: 50px; } .ys-index__content .content-product-item:hover .content-product-title { color: var(--ys-color-primary); } .ys-index__content .content-product-desc { font-size: 14px; font-weight: 400; line-height: 20px; margin: 6px 0; color: var(--ys-color-text-300); } .ys-index__content .content-product-img { position: relative; width: 100%; height: 0; padding-bottom: 63.07%; margin: auto; } .ys-index__content .content-product-img img { position: absolute; } .ys-index__content .content-product-item.double { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; padding: 0 0 0 15px; text-align: left; } .ys-index__content .content-product-item.double .content-product-img { padding-bottom: 0; } .ys-index__content .content-product-item.double .content-product-img img { position: static; } .ys-index__content .content-product-item.double .content-product-info { width: 40%; padding: 10px 0; } .ys-index__content .content-product-item.double .content-product-desc { margin-top: 16px; } .ys-index__content .content-product-item.double .content-product-desc p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; word-break: break-all; } .ys-index__content .content-product-item.double .content-product-desc::before { content: ""; display: inline-block; width: 36px; height: 2px; margin-bottom: 16px; background-color: var(--ys-color-strong); } .ys-index__content .content-product-item.double .content-product-img { flex: 1; height: 100%; margin: 0; } .ys-index__content a.product-button { width: 112px; padding: 10px 0; margin-top: 36px; text-align: center; color: #1238d8; border-color: #1238d880; border-radius: 4px; } .ys-index__content .content-product-item.double .product-button { display: block !important; } .ys-index__content a.product-button:hover { border-color: var(--ys-color-primary); } .ys-index__content .product-badge { position: absolute; top: 4px; right: -16px; width: 66px; padding: 2px 0; border-radius: 3px; font-size: 12px; font-weight: 600; line-height: 17px; text-align: center; color: var(--ys-color-white); background-color: var(--ys-color-strong); transform: rotate(43deg); } /* 产品上新 end */ /* 服务流程 start */ .ys-index__process { width: var(--ys-content-width); margin: auto; text-align: center; padding-top: 56px; } .ys-index__process .ys-index__subtitle { line-height: 24px; padding: 0 0 30px; } .ys-index__process .process__list { margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; list-style: none; } .ys-index__process .process__item { display: flex; flex-direction: column; justify-content: center; align-items: center; width: calc(50% - 30px); height: 200px; border-radius: 4px; background-color: #78c59b; color: var(--ys-color-white); padding: 0; margin-right: 10px; margin-bottom: 15px; } .ys-index__process .iconfont { font-size: 46px; line-height: 38px; } .ys-index__process .process__title { font-size: 16px; font-weight: 600; line-height: 23px; padding: 20px 0 8px; margin: 0; } .ys-index__process .process__desc { font-size: 14px; font-weight: normal; line-height: 24px; } .ys-index__process .process__bracket { margin-right: 10px; } /* 服务流程 end */ /* 工厂实力 start */ .ys-index__strength { padding: 56px 0 0; margin: 0 auto; width: var(--ys-content-width); } .ys-index__strength .ys-index__title, .ys-index__strength .ys-index__subtitle { text-align: center; } .ys-index__strength .strength-wrap { overflow: hidden; margin-top: 30px; } .ys-index__strength .strength-item { width: 100%; /* height: 430px; */ padding-bottom: 118px; border: 1px solid var(--ys-color-background-100); border-radius: 4px; position: relative; background-color: var(--ys-color-white); } .ys-index__strength .strength-item:hover, .ys-index__strength .strength-item:hover .strength-content { background-color: var(--ys-color-primary); /* transition: background 0.2s linear; */ } .ys-index__strength .strength-item:hover a, .ys-index__strength .strength-item:hover p { color: var(--ys-color-white) !important; } .ys-index__strength .strength-item:hover .strength-desc { -webkit-line-clamp: unset; max-height: 230px; } .ys-index__strength .strength-item:hover img { transform: scale(1.1); } .ys-index__strength .strength-img { display: block; width: 100%; height: auto; margin: auto; } .ys-index__strength .strength-content { position: absolute; bottom: 0; padding-bottom: 20px; } .ys-index__strength .strength-title { display: inline-block; text-decoration: none; margin: 14px 14px 6px; font-size: 16px; font-weight: 600; color: var(--ys-color-text-000); } .ys-index__strength .strength-desc { font-size: 14px; color: var(--ys-color-text-300); line-height: 22px; margin: 0 14px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-height: 44px; transition: max-height 0.4s linear; } .ys-index__strength .strength-arrow { display: flex; justify-content: center; margin-top: 36px; } /* 工厂实力 end */ /* 强大能力 start */ .ys-index__power { border-radius: 6px; padding: 56px 0; margin: 56px auto 0; width: var(--ys-content-width); background-image: url(/asset/img/index/power-bg.png); background-repeat: no-repeat; background-size: cover; text-align: center; } .ys-index__power .power-data { margin-top: 22px; display: flex; justify-content: space-around; } .ys-index__power .power-num { display: flex; justify-content: center; color: var(--ys-color-assist); font-weight: 600; } .ys-index__power .power-num div:first-child { font-size: 34px; line-height: 40px; } .ys-index__power .power-num div:last-child { font-size: 18px; margin-left: 4px; margin-right: -16px; } .ys-index__power .power-title { font-size: 14px; color: var(--ys-color-text-100); margin-top: 12px; } /* 强大能力 end */ @media only screen and (min-width: 1200px), (max-width: 576px) { /* 熊猫体育app官方入口 start */ .ys-index__product .product-item { padding: 14px 0 100%; } .ys-index__product .product-item .product-img { bottom: 14px; } .ys-index__product .product-item .product-desc { font-size: 12px; line-height: 22px; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; text-overflow: ellipsis; word-break: break-all; overflow: hidden; } .ys-index__product .product-item .product-title { bottom: 8px; } /* 熊猫体育app官方入口 end */ /* 解决方案 start */ .ys-index__content .solution-list { grid-template-columns: 1fr; } .ys-index__content .content-solution-title { font-size: 18px; line-height: 22px; } .ys-index__content .content-solution-desc { font-size: 14px; line-height: 26px; margin-top: 7px; } /* 解决方案 end */ /* 数字能力 start */ .ys-index__power .power-data { flex-wrap: wrap; } .ys-index__power .power-item { width: 50%; margin-top: 18px; } .ys-index__power .power-num div:first-child { font-size: 28px; line-height: 32px; } /* 数字能力 end */ } @media only screen and (max-width: 480px) { /* 服务流程 start */ .ys-index__process .process__item { width: 80%; margin: auto; margin-bottom: 5px; } .ys-index__process .process__gap { transform: rotate(90deg); height: 25px; width: 100%; margin: auto; position: relative; left: 90px; } .ys-index__process .process__bracket { margin: auto; } /* 服务流程 end */ } @media only screen and (max-width: 440px) { /* 新品速递 start */ .ys-index__content .product-list { display: flex; grid-template-columns: 1fr; gap: 0; } .ys-index__content .product-arrow { display: flex; align-items: center; justify-content: center; margin-top: 20px; margin-bottom: -12px; } .ys-index__content .product-arrow .arrow-item { background-color: var(--ys-color-white); } .ys-index__content .product-arrow .arrow-item:hover { background-color: var(--ys-color-text-000); } .ys-index__content .content-product-img { padding-bottom: 52%; } .ys-index__content .content-product-item { /* width: 100%; */ margin-right: 14px; } .ys-index__content .content-product-item.double { grid-column: span 1; padding: 15px 15px 7px; flex-direction: column; } .ys-index__content .content-product-item.double .product-button { display: none!important; } .ys-index__content .content-product-item.double .content-product-desc { margin-top: 6px; } .ys-index__content .content-product-item.double .content-product-desc p { -webkit-line-clamp: 1; line-clamp: 1; } .ys-index__content .content-product-item.double .content-product-desc::before { display: none; } .ys-index__content .content-product-item.double .content-product-info { width: 100%; padding: 0; } .ys-index__content .content-product-item.double .content-product-img { padding-bottom: 52%; height: 0; } .ys-index__content .content-product-item.double .content-product-img img { position: absolute; } /* 新品速递 end */ } @media only screen and (max-width: 375px) { .ys-index__process .process__item { width: 90%; } .ys-index__power { padding: 46px 0; } } @media only screen and (max-width: 320px) { .ys-index__content .solution-list, .ys-index__product .product-list, .ys-index__content .product-list { grid-template-columns: 1fr; } .ys-index__product .product-item { padding-bottom: 75%; } .ys-index__product .product-item .product-img { bottom: 30px; width: 80%; height: 80%; } /* 新品速递 start */ .ys-index__content .content-product-title { font-size: 14px; line-height: 22px; height: 44px; } .ys-index__content .content-product-desc { font-size: 12px; } /* 新品速递 end */ .ys-index__process .process__item { width: 100%; } }.ys-index__reason .ys-index__title { font-weight: 600; font-size: var(--ys-subtitle-size); } .ys-index__reason .ys-index__subtitle { font-size: 14px; color: var(--ys-color-text-300); margin-top: 12px; } /* 选择电子谷 start */ .ys-index__reason { padding: 56px 0; margin: 0 auto; width: var(--ys-content-width); text-align: center; } .ys-index__reason .reason-tabs { margin: 32px auto; width: fit-content; overflow: hidden; max-width: 100%; display: flex; align-items: center; } .ys-index__reason .reason-tabs.is-scroll .reason-tabs__arrow { display: block; } .ys-index__reason .reason-tabs__arrow { display: none; width: 25px; text-align: center; } .ys-index__reason .reason-tabs__arrow .iconfont { font-size: 16px; } .ys-index__reason .reason-tabs__arrow.left { border-left: none; } .ys-index__reason .reason-tabs__arrow.left .iconfont { transform: rotate(180deg); display: inline-block; } .ys-index__reason .reason-tabs__box { flex: 1; overflow: hidden; } .ys-index__reason .reason-tabs__wrap { display: flex; transition: 0.3s; /* justify-content: center; */ } .ys-index__reason .tabs-item { height: 46px; line-height: 46px; font-size: 14px; font-weight: 600; margin: 0 12px; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; } .ys-index__reason .tabs-item:hover, .ys-index__reason .tabs-item.active { color: var(--ys-color-primary); border-color: var(--ys-color-primary); } .ys-index__reason .reason-wrap { width: 90%; margin: auto; display: none; box-shadow: 0px 0px 20px 0px #0000001A; height: auto; } .ys-index__reason .reason-wrap.show{ display: flex; flex-direction: column; } .ys-index__reason .reason-video { width: 100%; } .ys-index__reason .reason-video img { width: 100%; height: 100%; object-fit: cover; } .ys-index__reason .reason-info { width: 100%; display: flex; flex-direction: column; justify-content: center; padding: 22px 14px 0; text-align: left; } .ys-index__reason .reason-title { font-size: 18px; font-weight: 600; margin-bottom: 12px; } .ys-index__reason .reason-desc { font-size: 14px; color: var(--ys-color-text-100); line-height: 24px; min-height: auto; padding-bottom: 20px; } .ys-index__reason .reason-button { background-color: var(--ys-color-assist); color: var(--ys-color-white); height: 42px; width: 170px; font-size: 14px; border: 0; outline: none; cursor: pointer; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin: 50px auto 0; text-decoration: none; } .ys-index__reason .reason-button i { font-size: 24px; margin-right: 4px; } .ys-index__reason .reason-button:hover { background-color: var(--ys-color-warning); } /* 选择电子谷 end */ @media only screen and (min-width: 1200px), (max-width: 576px) { .ys-index__reason .reason-wrap { width: 100%; } } /* 客户说 start */ .ys-index__say { padding: 56px calc((100% - var(--ys-content-width)) / 2); text-align: center; background: linear-gradient(178.24deg, #F3F5F8 1.49%, rgba(243, 245, 248, 0) 77.73%); } .ys-index__say h2 { font-size: var(--ys-subtitle-size); font-weight: 600; } .ys-index__say .say-wrap { display: flex; margin-top: 30px; align-items: center; } .ys-index__say .say-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ys-color-text-700); color: var(--ys-color-text-000); cursor: pointer; text-align: center; line-height: 48px; display: block; } .ys-index__say .say-arrow:hover { background-color: var(--ys-color-text-000); color: var(--ys-color-white); } .ys-index__say .say-arrow.arrow-left { transform: rotate(180deg); } .ys-index__say .say-arrow i { font-size: 22px; } .ys-index__say .say-banner { width: calc(100% - 200px); margin: 0 50px; overflow: hidden; } .ys-index__say .say-logo { height: 50px; width: 124px; margin: 0 auto 22px; } .ys-index__say .say-logo img{ height: 50px; mix-blend-mode: darken; margin: auto; } .ys-index__say .say-desc { font-size: 14px; line-height: 28px; margin-bottom: 22px; } .ys-index__say .say-name { font-size: 14px; color: var(--ys-color-text-300); } .ys-index__say .say-company { display: flex; justify-content: center; flex-wrap: wrap; /* gap: 100px; */ margin: 48px auto 0; } .ys-index__say .say-company img { width: 99px; height: 40px; margin: 8px 20px; } /* 客户说 end */ @media only screen and (min-width: 1200px), (max-width: 576px) { .ys-index__say .say-banner { margin: 0; width: 100%; } .ys-index__say .say-desc { font-size: 14px; line-height: 24px; } .ys-index__say .say-company { margin-top: 10px; } .ys-index__say .say-wrap { justify-content: center; flex-wrap: wrap; } .ys-index__say .say-arrow { width: 46px; height: 46px; line-height: 46px; order: 2; margin-top: 20px; } .ys-index__say .say-arrow.arrow-left { margin-right: 20px; } } @media only screen and (max-width: 440px) { .ys-index__say .say-company img { width: 65px; height: 26px; margin: 6px 10px; } }.ys-index__content.ys-index__information { --ys-index-information-gap: 16px; background-image: none; background: linear-gradient(179deg, #f3f5f8 1%, #ffffff 77%); } .ys-index__content .ys-index__title { font-weight: 600; font-size: var(--ys-subtitle-size); } .ys-index__content .ys-index__subtitle { font-size: 14px; color: var(--ys-color-text-300); margin-top: 12px; } .ys-index__content .content-wrap-item:hover img, .ys-index__content .product-item:hover img { transform: scale(1.1); } .ys-index__content .content-wrap-item:hover .hover--underline-primary, .ys-index__content .product-item:hover .hover--underline-primary { color: var(--ys-color-primary); } .ys-index__content .information-warp { display: grid; grid-template-columns: 1fr; gap: var(--ys-index-information-gap); } .ys-index__content .information-type { overflow: hidden; } .ys-index__content .information-item + .information-item { margin-left: 20px; } .ys-index__content .information-title { display: inline-flex; text-decoration: none; align-items: center; font-size: 20px; font-weight: 600; line-height: 24px; color: var(--ys-color-text-000); margin-bottom: 20px; } .ys-index__content .information-title:hover { color: var(--ys-color-primary); } .ys-index__content .information-title i { font-size: 18px; margin-left: 9px; } .ys-index__content .information-article { position: relative; display: block; width: 350px; height: 222px; text-decoration: none; color: var(--ys-color-white); border-radius: 4px; } .ys-index__content .information-article + .information-article { margin-top: 12px; } .ys-index__content .information-article img { object-fit: cover; } .ys-index__content .information-article__info { position: absolute; z-index: 1; bottom: 0; left: 0; width: 100%; background: linear-gradient(180deg, rgba(0, 0, 0, 0.03) 0%, #000000 100%); padding: 38px 23px 16px 16px; } .ys-index__content .information-article__info:hover + img { transform: scale(1.1); } .ys-index__content .information-article__title { display: inline-block; font-size: 14px; font-weight: 400; line-height: 20px; } .ys-index__content .information-article__title::after { background-color: var(--ys-color-white); } .ys-index__content .information-article__time { color: var(--ys-color-text-300); font-size: 12px; font-weight: 400; line-height: 18px; } .ys-index__content .information-article__time i { font-size: 12px; } .ys-index__content .news-wrap { padding: 4px 30px 0; } .ys-index__content .news-item { position: relative; padding-bottom: 16px; } .ys-index__content .news-img { display: block; width: 100%; height: 181px; border-radius: 4px; margin-bottom: 16px; position: relative; overflow: hidden; } .ys-index__content .news-img img { width: 100%; height: 100%; object-fit: cover; } .ys-index__content .news-img__hover { position: absolute; transform: translateY(100%); transition: all 0.2s; top: 0; bottom: 0; left: 0; right: 0; background: linear-gradient( 0deg, rgba(4, 14, 23, 0.7) 28%, rgba(1, 5, 8, 0) 100% ); color: var(--ys-color-white); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 16px; font-weight: 400; } .ys-index__content .news-img__hover h4 { font-size: 20px; font-weight: 600; line-height: 24px; } .ys-index__content .news-img__hover p { font-size: 14px; font-weight: normal; line-height: 24px; opacity: 0.8; margin: 8px 0 32px; } .ys-index__content .news-img__hover .c-button--primary { background-color: var(--ys-color-strong); border-color: var(--ys-color-strong); padding: 7px 14px; border-radius: 4px; font-size: 14px; line-height: 16px; } .ys-index__content .news-img:hover .news-img__hover { transform: translateY(0); } .ys-index__content .news-info { display: flex; align-items: center; font-size: 14px; } .ys-index__content .news-title { display: inline-block; text-decoration: none; max-width: 100%; } .ys-index__content .news-title h4 { display: inline; font-weight: normal; line-height: 18px; color: var(--ys-color-text-000); } .ys-index__content .news-title:hover h4 { color: var(--ys-color-primary); } .ys-index__content .news-time { font-weight: normal; line-height: 18px; color: var(--ys-color-text-100); margin-right: 8px; }/* 网站底部 */ .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; } }