/* 快捷导航 start */ .ys-header-shortcut { position: relative; z-index: 101; display: flex; justify-content: space-between; align-items: center; padding: 5px 40px; background-color: #f5f5f5; border-bottom: 1px solid #eee; } .ys-header-shortcut .ys-header-shortcut__list { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; } .ys-header-shortcut .ys-header-shortcut__list:last-of-type{ margin-left: auto; } .ys-header-shortcut .ys-header-shortcut__link { text-decoration: none; font-size: 12px; font-weight: 400; line-height: 20px; color: var(--ys-color-text-000); margin-right: 32px; } .ys-header-shortcut .ys-header-shortcut__link:hover { color: var(--ys-color-primary); } .ys-header-shortcut .ys-header-shortcut__tel { font-size: 18px; font-weight: 700; line-height: normal; color: var(--ys-color-strong); display: inline-flex; align-items: center; } .ys-header-shortcut .ys-header-shortcut__tel span { font-size: 14px; color: var(--ys-color-text-000); } .ys-header-shortcut .ys-header-shortcut__tel .iconfont { font-size: 14px; font-weight: normal; color: var(--ys-color-strong); } /* 快捷导航 end */ .ys-header { height: 107px; transition: all 0.2s; position: relative; z-index: 100; } .ys-header.is-sticky { position: sticky; top: 0; } .ys-header .ys-header-nav { width: 100%; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; background: #fff; position: relative; z-index: 20; box-shadow: 0 15px 10px -15px #0000000f; } .ys-header__logo { height: 37px; } .ys-header__nav { display: flex; flex-wrap: nowrap; justify-content: space-between; min-width: 440px; max-width: 850px; /* Increased from 770px to accommodate new item */ width: 55%; /* Increased from 50% */ height: 100%; transition: max-width 0.3s; } .ys-header__nav .nav-one { display: flex; align-items: center; height: 100%; padding: 0 10px; font-size: 18px; font-weight: bold; color: var(--ys-color-text-000); text-decoration: none; } .ys-header__nav .nav-item.extend { position: relative; } .ys-header__nav .nav-item.extend::after{ position: absolute; content: ''; width: 120%; height: 80px; left: -10px; bottom: -50px; } /* 激活或悬停时显示下划线 */ .ys-header__nav .nav-item.active .nav-one::after, .ys-header__nav .nav-item:hover .nav-one::after { transform: scaleX(1); } .ys-header__nav .nav-item.active .nav-one, .ys-header__nav .nav-item:hover .nav-one { color: rgb(80, 155, 255); } /* 确保 nav-one 是相对定位,用于伪元素下划线 */ .ys-header__nav .nav-one { position: relative; } /* 下划线 */ .ys-header__nav .nav-item .nav-one::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background-color: rgb(80, 155, 255); transform: scaleX(0); /* 默认隐藏 */ transform-origin: center; transition: transform 0.3s; } .ys-header__nav .icon-short-arrow { display: inline-block; position: relative; left: 2px; transform: rotate(90deg); transition: transform 0.2s; color: var(--ys-color-text-300); font-weight: 400; } .ys-header__nav .nav-item:hover .icon-short-arrow { transform: rotate(-90deg); } .ys-header__nav .nav-two { font-size: 14px; color: var(--ys-color-text-000); text-decoration: none; } .ys-header__nav .nav-two:hover { color: var(--ys-color-primary); } /* search start */ .ys-header__right { display: flex; align-items: center; justify-content: end; } .ys-header__right.open { flex: 1; } .ys-header__search { position: relative; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; width: 203px; height: 44px; padding: 10px 12px; background-color: #fff; border: 1px solid #ccc; border-radius: 4px; transition: all 0.2s; transform-origin: right; border-radius: 12px; } .ys-header__right.open .ys-header__search { width: calc(100% - 130px); padding: 10px 12px; } .ys-header__search::after { content: ''; position: absolute; height: 16px; left: 12px; top: 13px; width: 1px; background-color: var(--ys-color-text-000); animation: flashing 0.8s infinite; } .ys-header__right.open .ys-header__search:focus-within:after { display: none; } @keyframes flashing { 0% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 1; } } .ys-header__search .ys-header__search-input { width: calc(100% - 46px); height: 16px; color: var(--ys-color-text-000); caret-color: var(--ys-color-primary); border: none; outline: none; } .ys-header__search:focus-within { border-color: var(--ys-color-primary); } .ys-header__search .ys-header__search-input::placeholder { color: var(--ys-color-text-500); } .ys-header__search .search-btn { width: 26px; padding: 0; position: absolute; top: 2px; right: 10px; background-color: #fff; border: none; outline: none; cursor: pointer; transition: transform 0.2s; } .ys-header__search .search-btn .icon-search { display: inline-block; font-size: 26px; color: var(--ys-color-text-000); transition: transform 0.2s; } .ys-header__search .search-btn:hover .icon-search { color: var(--ys-color-primary); transform: scale(1.1); } /* search end */ /* user start */ .ys-header__user { margin-left: 30px; position: relative; height: 40px; padding-top: 3px; box-sizing: border-box; } .ys-header__user > a > i { font-size: 24px; cursor: pointer; color: var(--ys-color-text-000); } .ys-header__user .ys-header__user-card { position: absolute; top: 40px; right: -10px; padding: 16px; background-color: var(--ys-color-white); z-index: 20; border-radius: 2px; box-shadow: 0px 4px 14px 0px #0000001a; border: 1px solid var(--ys-color-text-700); transition: all 0.2s; transform-origin: top; transform: scaleY(0); } .ys-header__user:hover .ys-header__user-card { transform: scaleY(1); } .ys-header__user .ys-header__user-card button { height: 32px; line-height: 32px; margin-bottom: 12px; width: 100px; font-size: 12px; padding: 0; } .ys-header__user .ys-header__user-card button a { color: unset; text-decoration: none; display: block; } .ys-header__user .ys-header__user-card button:last-child { margin-bottom: 0; } /* user end */ /* 悬停卡片 start */ .ys-header__card { position: absolute; z-index: 18; width: 100%; left: 0; /* right: 0; */ top: 72px; background-color: var(--ys-color-white); transition: all .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 */ /* 解决方案 start */ .ys-header__case { display: flex; flex-wrap: wrap; /* grid-template-rows: 193px; */ /* grid-auto-rows: 193px; */ /* grid-template-columns: repeat(6, 1fr); */ /* gap: 40px; */ /* margin: 0 10px; */ padding: 40px 20px 20px; /* left: 20px; */ background-color: #f3f5f8; } .ys-header__case .case-item { width: 192px; margin: 0 20px 20px; text-decoration: none; } .ys-header__case .case-item:hover img { transform: scale(1.1); } .ys-header__case .case-item:hover .case-title { color: var(--ys-color-primary); } .ys-header__case .case-img { display: block; /* width: 193px; */ /* height: 118px; */ border-radius: 4px; } .ys-header__case .case-title { text-decoration: none; display: inline-block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; margin: 15px 0 2px; color: var(--ys-color-text-000); } .ys-header__case .case-desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ys-color-text-300); } /* 解决方案 end */ /* 产品弹窗 start */ .ys-header__product a { text-decoration: none; } .ys-header__product .product-wrap { display: grid; grid-template-columns: repeat(6, 1fr); /* gap: 0 40px; */ } .ys-header__product .to-product { display: flex; align-items: center; font-size: 18px; color: var(--ys-color-text-000); margin-bottom: 20px; } .ys-header__product .to-product i { transform: rotate(0deg) !important; display: block; font-size: 18px; } .ys-header__product .to-product:hover, .ys-header__product .product-item:hover .product-title { color: var(--ys-color-primary); } .ys-header__product .product-img { width: 140px; height: 140px; margin: auto; background: unset; } .ys-header__product .product-img img { object-fit: contain; } .ys-header__product .product-item__box { font-size: 0; position: relative; margin-bottom: 20px; border-bottom: 1px solid #7C7C7C; padding-right: 40px; padding-left: 15px; } .ys-header__product .product-item__box::before { content: ''; position: absolute; width: 5px; height: 18px; top: 4px; left: 0; background-color: #1554B5; } .ys-header__product .product-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0 0 18px; font-size: 16px; font-weight: 600; display: inline-block; color: var(--ys-color-text-000); } .ys-header__product .product-item__child + .product-item__child { margin-top: 10px; } .ys-header__product .product-item__link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ys-color-text-000); } .ys-header__product .product-item__link:hover { color: var(--ys-color-primary); } .ys-header__product .product-item__list { padding-right: 40px; padding-left: 15px; } /* 产品弹窗 end */ /* 内容与服务 start */ .ys-header__service { display: flex; padding: 0; } .ys-header__service .service-cate { background-color: #f3f5f8; padding: 30px 40px; width: 200px; box-sizing: border-box; margin: 0; } .ys-header__service .service-cate li { list-style: none; } .ys-header__service .service-cate .service-cate-title { font-size: 18px; font-weight: 500; margin-bottom: 30px; color: var(--ys-color-text-000); } .ys-header__service .service-cate .service-cate-item { margin-bottom: 30px; font-size: 14px; cursor: pointer; color: var(--ys-color-text-100); } .ys-header__service .service-cate .service-cate-item a { color: var(--ys-color-text-100); text-decoration: none; } .ys-header__service .service-cate .service-cate-item:hover a, .ys-header__service .service-cate .service-cate-item:hover, .ys-header__service .service-cate .service-cate-item.active, .ys-header__service .service-cate .service-cate-item.active a { color: var(--ys-color-primary); } .ys-header__service .service-content { padding: 40px; overflow-y: auto; } .ys-header__service .service-content-box { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; } .ys-header__service .content-item { width: 180px; text-decoration: none; display: block; } .ys-header__service .content-item[data-type="information"] { width: 193px; } .ys-header__service .content-item[data-type="information"] .content-img { height: 118px; } .ys-header__service .content-item[data-type='sample'], .ys-header__service .content-item[data-type='quote'] { width: 230px; } .ys-header__service .content-item[data-type='sample'] .content-img, .ys-header__service .content-item[data-type='quote'] .content-img { height: 140px; } .ys-header__service .content-item:hover img { transform: scale(1.1); } .ys-header__service .content-item:hover .content-title { color: var(--ys-color-primary); } .ys-header__service .content-item .content-img { display: block; width: 100%; height: 180px; margin-bottom: 20px; } .ys-header__service .content-item .content-title { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ys-color-text-000); } .ys-header__service .content-item .content-desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ys-color-text-300); margin-top: 6px; } .ys-header__service .service-content-slide { height: 1px; background-color: var(--ys-color-text-700); margin: 30px 0 20px; } .ys-header__service .service-content-more { color: var(--ys-color-primary); font-size: 14px; text-decoration: none; } .ys-header__service .service-content-more i { transform: rotate(0deg) translateY(1px) !important; margin-left: 0px; } /* 内容与服务 end */ /* 关于我们 start */ .ys-header__about { display: flex; padding: 0; } .ys-header__about .about-cate { background-color: #f3f5f8; padding: 30px 40px; width: 200px; box-sizing: border-box; margin: 0; } .ys-header__about .about-cate li { list-style: none; } .ys-header__about .about-cate .about-cate-title { font-weight: 18px; font-weight: 500; margin-bottom: 30px; } .ys-header__about .about-cate .about-cate-item { margin-bottom: 30px; font-size: 14px; color: var(--ys-color-text-100); cursor: pointer; } .ys-header__about .about-cate .about-cate-item a { color: var(--ys-color-text-100); text-decoration: none; } .ys-header__about .about-cate .about-cate-item:hover, .ys-header__about .about-cate .about-cate-item:hover a, .ys-header__about .about-cate .about-cate-item.active, .ys-header__about .about-cate .about-cate-item.active a { color: var(--ys-color-primary); } .ys-header__about .about-content { padding: 40px; width: calc(100% - 200px); box-sizing: border-box; overflow-y: auto; } .ys-header__about .about-content-box { display: flex; flex-wrap: wrap; /* grid-template-columns: repeat(6, 1fr); */ /* gap: 40px; */ margin: -20px; } .ys-header__about .about-item { width: 230px; max-width: 230px; text-decoration: none; margin: 20px; } .ys-header__about .about-item:hover img { transform: scale(1.1); } .ys-header__about .about-item:hover .about-title { color: var(--ys-color-primary); } .ys-header__about .about-item .about-img { display: block; width: 100%; height: 140px; margin-bottom: 20px; border-radius: 4px; } .ys-header__about .about-item .about-img img { object-fit: cover; } .ys-header__about .about-item .about-title { text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: var(--ys-color-text-000); } .ys-header__about .about-item .about-desc { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ys-color-text-300); margin-top: 6px; } .ys-header__about .about-content-slide { height: 1px; background-color: var(--ys-color-text-700); margin: 30px 0 20px; } .ys-header__about .about-content-more { color: var(--ys-color-primary); font-size: 14px; text-decoration: none; } .ys-header__about .about-content-more i { transform: rotate(0deg) translateY(1px) !important; margin-left: 0px; } /* 关于我们 end */ @media only screen and (max-width: 1895px) { /* 解决方案 start */ .ys-header__case .case-item{ width: calc(16% - 40px); } /* 解决方案 end */ } @media only screen and (max-width: 1500px) { .ys-header__nav { max-width: 600px; } } @media only screen and (max-width: 1440px) { /* 解决方案 start */ .ys-header__case { padding-right: 40px; } .ys-header__case .case-item{ width: calc(16.66% - 20px); margin-right: 0px; } /* 解决方案 end */ /* 内容与服务 start */ .ys-header__service .service-content { width: calc(100% - 200px); } .ys-header__service .service-content-box { gap: 20px; } .ys-header__service .content-item { width: 100%; } .ys-header__service .content-item[data-type="information"] { width: 100%; } /* 内容与服务 end */ /* 关于我们 start*/ .ys-header__about .about-content-box { flex-wrap: wrap; margin: 0 -10px; } .ys-header__about .about-content { padding: 40px 20px; } .ys-header__about .about-item { width: calc(25% - 20px); margin: 0 10px; } /* 关于我们 end*/ } @media only screen and (max-width: 1280px) { .ys-header__nav { max-width: 52%; } .ys-header__nav .nav-one { font-size: 16px; } } @media only screen and (max-width: 1100px) { .ys-header__service .service-content-box { grid-template-columns: repeat(4, 1fr); } }.ys-index, .ys-banner { --ys-content-width: min(80vw, 1920px); --ys-new-img-w: min(11.24vw, 216px); /* --ys-product-width: 310px; --ys-content-height-max: 764px; --ys-product-img-w: 238px; --ys-solution-img-w: 186px; --ys-solution-img-h: 124px; --ys-strength-img-w: 310px; */ width: 100%; } /* 首页全局标题与副标题统一 */ .ys-index .ys-index__title, .ys-index .ys-index__subtitle { text-align: center; width: 100%; } .ys-index .ys-index__title { font-weight: 600; font-size: 30px; display: flex; justify-content: center; align-items: center; margin: 0; } .ys-index .ys-index__subtitle { font-size: 14px; color: var(--ys-color-text-300); margin-top: 16px; margin-bottom: 40px; letter-spacing: 2px; } .ys-index .ys-index__title img { vertical-align: middle; margin: 0 10px; } .ys-container { width: var(--ys-content-width); max-width: 1920px; margin: 0 auto; } .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-banner { width: 100%; position: relative; /* height: 450px; */ /* 600 / 1920 = 30.72196 */ height: min(31.25vw, 600px); overflow: hidden; background-color: #0b1120; } .ys-banner .banner-slide { position: relative; width: 100%; height: 100%; display: block; } .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: calc(50% - 21px); transform: translateY(-50%); left: 0; right: 0; margin: 0 auto; width: var(--ys-content-width); display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start; color: var(--ys-color-white); z-index: 10; padding: 0; } .ys-banner .banner-slide .banner-desc h2 { font-weight: 700; font-size: 32px; line-height: 1.3; margin-bottom: 16px; letter-spacing: 0.5px; white-space: pre-wrap; max-width: 600px; } .ys-banner .banner-slide .banner-desc p { font-size: 16px; font-weight: 400; line-height: 1.5; color: #b0b8c4; margin-top: 0; margin-bottom: 32px; white-space: pre-wrap; max-width: 600px; } .ys-btn-smile-curve { display: inline-flex; align-items: center; justify-content: center; background-color: transparent; border: 1px solid rgba(255, 255, 255, 1); color: #ffffff; width: auto; height: 44px; border-radius: 22px; padding: 0 20px; font-size: 14px; text-decoration: none; transition: all 0.2s ease-in-out; cursor: pointer; position: relative; overflow: hidden; box-sizing: border-box; z-index: 1; } .ys-btn-smile-curve i { margin-left: 8px; } .ys-index__product .ys-btn-smile-curve, .ys-index__new-product .ys-btn-smile-curve { border-color: rgba(0, 0, 0, 0.2); color: #333; } .ys-btn-smile-curve::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 8px; background: linear-gradient(95.51deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 129.57%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; opacity: 1; transition: all 0.2s ease-in-out; pointer-events: none; z-index: -1; } .ys-btn-smile-curve:hover { background: transparent; border-color: transparent; color: #ffffff; } .ys-btn-smile-curve:hover::after { opacity: 1; width: 100%; height: 100%; border-radius: 0; transform: translateX(-50%); } .ys-banner .banner-slide .banner-desc .banner-btn { } .ys-banner .banner-slide__video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; } .ys-banner .ys-banner__indicator { position: absolute; bottom: 30px; left: 0; right: 0; display: flex; justify-content: center; z-index: 20; } .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 { position: absolute; top: 50%; transform: translateY(-50%); 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: 20; } .ys-banner:hover .btn { opacity: 1; } .ys-banner .btn i { font-size: 30px; } .ys-banner #prev { left: 20px; transform: rotate(180deg) translateY(50%); } .ys-banner #next { right: 20px; } /* 强大能力 */ .ys-index__power { position: relative; /* 宽:高 = 1.8:1 */ /* 假设单卡片宽约 247px (1300-64)/5 */ /* 高度应为 247 / 1.8 ≈ 137.2px -> 取 138px */ /* 30% 在 Banner 里 -> 138 * 0.3 ≈ 41.4px -> 取 42px */ margin: -42px auto 0; width: 100%; padding: 0; z-index: 30; pointer-events: none; /* 让鼠标事件穿透到下层,除了卡片本身 */ background: transparent; } /* 使用伪元素实现下半部分背景全屏铺满 */ .ys-index__power::before { content: ""; position: absolute; top: 42px; /* 上方 42px 透明,显示 Banner 内容 */ left: 0; right: 0; bottom: 0; background-color: #f8f8f8; /* 与下方产品中心背景一致 */ z-index: 0; /* 在容器内最底层 */ } .ys-index__power .power-data { position: relative; z-index: 1; /* 确保内容在背景之上 */ display: flex; justify-content: space-between; /* 两端对齐 */ margin: 0 auto; /* 内容居中 */ padding-left: 0; gap: 16px; /* 卡片间距 */ width: var(--ys-content-width); /* 限制内容宽度 */ pointer-events: auto; /* 恢复卡片交互 */ } .ys-index__power .power-item { flex: 1; /* 平分宽度 */ height: 138px; /* 固定高度以维持大概的 1.8:1 比例 */ background-color: #eef2f6; /* 所有卡片默认浅灰背景 */ border-radius: 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: all 0.3s ease; padding: 16px; box-sizing: border-box; box-shadow: none; /* 默认无阴影 */ cursor: pointer; } /* 只有 Hover 时高亮 */ .ys-index__power .power-item:hover { background-color: #e94e1b; box-shadow: 0px 4px 12px rgba(233, 78, 27, 0.4); transform: translateY(-5px); } .ys-index__power .power-item:hover .power-num h2, .ys-index__power .power-item:hover .power-title { color: #ffffff; } .ys-index__power .power-num { display: flex; justify-content: center; align-items: center; color: #1f2937; font-weight: 700; min-width: auto; margin-bottom: 4px; height: 32px; /* 固定高度,防止抖动 */ } .ys-index__power .power-num h2 { font-size: 24px; line-height: 1.2; margin: 0; color: #1f2937; /* 默认深色 */ transition: color 0.3s ease; } .ys-index__power .power-title { font-size: 14px; color: #6b7280; margin-top: 0; text-align: center; transition: color 0.3s ease; } /* 强大能力 end */ /* 产品中心 start */ .ys-index__product { margin: 0 auto; width: 100%; padding: 80px 0 80px; background-color: #f8f8f8; } /* 标题区域 */ .ys-index__product .ys-index__title-wrap { position: relative; display: flex; justify-content: center; align-items: center; margin-bottom: 10px; width: var(--ys-content-width); margin: 0 auto 10px; } .ys-index__product .ys-index__title { margin: 0; display: flex; align-items: center; justify-content: center; } .ys-index__product .ys-index__title img { vertical-align: middle; margin: 0 10px; height: 28px; width: auto; } .ys-index__product .ys-btn-smile-curve { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 140px; height: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; cursor: pointer; overflow: hidden; box-sizing: border-box; color: #333; background: transparent; border-radius: 22px; border: none; z-index: 1; } .ys-index__product .ys-btn-smile-curve::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 22px; padding: 2px; /* 边框宽度 */ background: linear-gradient(95.51deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 129.57%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; } .ys-index__product .ys-btn-smile-curve::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 11px; background: linear-gradient(95.51deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 129.57%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; opacity: 1; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; z-index: -1; display: block; } .ys-index__product .ys-btn-smile-curve:hover { color: #fff; background: transparent; } .ys-index__product .ys-btn-smile-curve:hover::after { width: 100%; height: 100%; border-radius: 0; bottom: 0; } .ys-index__product .product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: var(--ys-content-width); margin: 0 auto; } .ys-index__product .product-item { position: relative; display: block; height: 380px; background-color: #fff; border-radius: 16px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); overflow: hidden; transition: all 0.3s ease; text-decoration: none; color: inherit; cursor: pointer; } .ys-index__product .product-content.default { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; z-index: 1; transition: opacity 0.3s ease; opacity: 1; } .ys-index__product .product-item:hover .product-content.default { opacity: 1; } .ys-index__product .product-img { width: 100%; height: 272px; object-fit: cover; display: block; margin-bottom: 0; border-radius: 8px 8px 0 0; } .ys-index__product .product-text-wrap { padding: 24px; width: 100%; height: 108px; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; } .ys-index__product .product-title { font-size: 20px; font-weight: 600; color: #333; margin: 0 0 8px; text-align: left; transition: color 0.3s ease; width: 100%; line-height: 1.2; } .ys-index__product .product-desc-short { font-size: 14px; color: #666; text-align: left; width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; line-height: 1.5; } .ys-index__product .product-content.hover { position: absolute; top: 20px; left: 20px; right: 20px; bottom: 20px; width: auto; height: auto; padding: 30px 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; z-index: 2; opacity: 0; transition: opacity 0.3s ease; background: linear-gradient(128.65deg, rgba(17, 52, 98, 1) 0%, rgba(167, 56, 56, 1) 100.62%); text-align: left; border-radius: 16px; } .ys-index__product .product-item:hover .product-content.hover { opacity: 1; } .ys-index__product .product-content.hover .product-title { color: #fff; margin-bottom: 16px; font-size: 22px; text-align: left; } .ys-index__product .product-desc-full { font-size: 14px; color: rgba(255, 255, 255, 0.9); line-height: 1.6; text-align: left; margin: 0; display: -webkit-box; -webkit-line-clamp: 9; line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; } .ys-index__product .product-more { position: absolute; bottom: 24px; right: 24px; background-color: #fff; color: #000; padding: 8px 20px; border-radius: 24px; font-size: 14px; font-weight: 500; display: flex; align-items: center; opacity: 0; transform: translateY(10px); transition: all 0.3s ease 0.1s; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 3; } .ys-index__product .product-item:hover .product-more { opacity: 1; transform: translateY(0); } .ys-index__product .product-more i { font-size: 14px; margin-left: 6px; display: inline-block; } .ys-index__product .product-arrow { display: none; } /* 产品中心 end */ /* 解决方案 */ .ys-index__solution { padding: 60px 0; background-color: #f3f5f8; background-image: url(/asset/img/solution_bg.webp); background-repeat: no-repeat; background-position: center; background-size: cover; } .ys-index__solution .ys-container { width: var(--ys-content-width); margin: 0 auto; } .solution-layout { display: flex; justify-content: space-between; align-items: stretch; gap: 90px; } /* Sidebar Styles */ .solution-sidebar { width: 280px; flex-shrink: 0; padding-top: 0; display: flex; flex-direction: column; } .solution-tag { font-family: Arial, sans-serif; font-size: 30px; color: #999; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 1px; } .solution-desc { font-size: 30px; font-weight: 700; line-height: 1.3; color: #333; margin-bottom: 80px; margin-top: 0; } .solution-label { font-size: 16px; color: #666; margin-bottom: 0; font-weight: 500; } .solution-tabs { display: flex; flex-direction: column; gap: 24px; margin-top: auto; } .solution-tab-item { width: 100%; height: 56px; border-radius: 28px; color: #333; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.05); font-weight: 500; border: none; position: relative; z-index: 1; } .solution-tab-item:not(.view-more)::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 28px; padding: 1px; background: linear-gradient(90deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; } .solution-tab-item:not(.view-more):hover, .solution-tab-item:not(.view-more).active { background: linear-gradient(90deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 100%); color: #fff; } .solution-tab-item.view-more { background-color: #509bff; color: #fff; text-decoration: none; } .solution-tab-item.view-more:hover { background-color: #3b82f6; opacity: 0.95; } .solution-content-wrapper { flex: 1; background-color: #fff; border-radius: 8px; padding: 30px; min-height: 520px; display: flex; flex-direction: column; position: relative; /* 新增右边和下边的灰白阴影,模拟卡片重叠效果 */ box-shadow: 14px 14px 0px 0px #f8f8f8; } .solution-detail-panel { display: none; width: 100%; height: 100%; } .solution-detail-panel.active { display: flex; flex-direction: column; animation: fadeIn 0.3s ease-in-out; } @keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } .solution-header { margin-bottom: 20px; border-bottom: 0; padding-bottom: 0; } .solution-title { font-size: 22px; font-weight: 600; color: #333; margin: 0; } .solution-main-img { width: 100%; height: 240px; border-radius: 6px; overflow: hidden; margin-bottom: 20px; background-color: #f0f0f0; } .solution-main-img img { width: 100%; height: 100%; object-fit: cover; } .solution-connectors { margin-top: auto; display: flex; align-items: flex-start; padding-top: 20px; border-top: 0; } .connector-left { width: 100px; flex-shrink: 0; display: flex; align-items: center; /* padding-top: 10px; */ } .connector-title-text { font-size: 14px; font-weight: 600; color: #333; } .connector-arrow { width: 40px; display: flex; justify-content: center; align-items: center; color: #ccc; padding-top: 10px; margin-right: 10px; } .connector-list { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; } .connector-item { display: flex; flex-direction: column; text-decoration: none; } .connector-img-box { width: 100%; aspect-ratio: 1; background-color: #fff; border: 1px solid #eee; border-radius: 4px; overflow: hidden; position: relative; margin-bottom: 8px; } .connector-img-box img { width: 100%; height: 100%; object-fit: contain; padding: 5px; box-sizing: border-box; } .connector-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(27, 95, 184, 0.772); opacity: 0; transition: opacity 0.3s; backdrop-filter: blur(2px); display: flex; align-items: center; justify-content: center; } .connector-overlay i { color: #fff; font-size: 24px; } .connector-item:hover .connector-overlay { opacity: 1; } .connector-name { font-size: 12px; color: #666; text-align: left; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; } .connector-item:hover .connector-name { color: #509bff; } /* 解决方案 end */ /* 一站式制造互联能力 start */ .ys-index__reason .ys-index__title { font-weight: 600; font-size: 30px; } .ys-index__reason .ys-index__title img { vertical-align: middle; margin: 0 10px; } .ys-index__reason .ys-index__subtitle { font-size: 14px; color: var(--ys-color-text-300); margin-top: 16px; } .ys-index__reason { padding: 80px 0; margin: 0 auto; width: var(--ys-content-width); text-align: center; overflow: visible; } .ys-index__reason .reason-tabs { display: flex; margin: 0 0 32px; justify-content: center; } .ys-index__reason .tabs-item { height: 46px; line-height: 46px; font-size: 16px; font-weight: 600; margin: 0 35px; border-bottom: 2px solid transparent; cursor: pointer; } .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 { display: none; min-height: 500px; padding: 0; position: relative; align-items: flex-start; /* Top align content */ /* 左侧40%深蓝(#072142),右侧60%白色(#ffffff) */ background: linear-gradient(90deg, #072142 40%, #ffffff 40%, #ffffff 100%); background-repeat: no-repeat; background-size: 100% 100%; /* 确保覆盖整个容器 */ border: none ; box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15), 0px -4px 16px rgba(0, 0, 0, 0.06) ; /* 只有上下阴影 */ border-radius: 16px ; overflow: hidden ; outline: none ; width: 100%; margin: 0 auto; /* 确保居中 */ box-sizing: border-box; /* 包含 padding/border */ } /* Ensure show class works */ .ys-index__reason .reason-wrap.show{ display: flex; border-radius: 16px; /* 添加圆角 */ overflow: hidden; /* 确保圆角剪裁内容 */ } /* 一站式制造互联能力 左下角图标 */ .ys-index__reason .reason-wrap .reason-icon-left { position: absolute; left: 4%; bottom: 10.4%; width: auto; z-index: 2; opacity: 0.9; } .ys-index__reason .reason-video { width: 56%; } .ys-index__reason .reason-video img { width: 100%; height: 100%; object-fit: contain; } .ys-index__reason .reason-info { width: 44%; display: flex; flex-direction: column; justify-content: center; padding: 0 50px; text-align: left; } .ys-index__reason .reason-title { font-size: 24px; font-weight: 600; margin-bottom: 36px; color: #fff; /* 左侧标题改为白色 */ } .ys-index__reason .reason-desc { font-size: 14px; color: rgba(255, 255, 255, 0.9); /* 左侧描述改为半透明白色 */ line-height: 28px; min-height: 140px; } .ys-index__reason .reason-button { background-color: var(--ys-color-assist); color: var(--ys-color-white); height: 46px; width: 188px; font-size: 16px; 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: #d43f11; } .ys-index__reason .reason-tabs.solution-tabs { display: flex; flex-direction: row; justify-content: center; margin-bottom: 20px; gap: 20px; } .ys-index__reason .solution-tab-item { width: auto; min-width: 120px; padding: 0 30px; height: 46px; line-height: 46px; border-radius: 23px; /* background-color: #fff; */ color: #333; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.05); font-weight: 500; border: none; position: relative; z-index: 1; margin: 0; white-space: nowrap; } /* Reason Tabs */ .ys-index__reason .solution-tab-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 23px; padding: 1px; background: linear-gradient(90deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; } /* 上方标签tabs Hover/Active State */ .ys-index__reason .solution-tab-item:hover, .ys-index__reason .solution-tab-item.active { background: linear-gradient(90deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 100%); color: #fff; border-color: transparent; } .ys-index__reason .solution-tab-item:hover::before, .ys-index__reason .solution-tab-item.active::before { display: none; } .ys-index__reason .reason-info { width: 40%; position: relative; height: 500px; padding: 0; z-index: 2; /* 确保文字在最上层 */ } .ys-index__reason .reason-info > div { /* 背部文字容器 */ position: absolute; top: 25%; /* 垂直居中 */ transform: translateY(-50%) translateY(0px); left: 10%; right: 10%; text-align: left; } .ys-index__reason .reason-title { color: #fff; margin-bottom: 15px; font-size: 24px; font-weight: 600; } .ys-index__reason .reason-desc { color: #fff; opacity: 0.9; line-height: 1.8; font-size: 14px; min-height: auto; } .ys-index__reason .reason-video { width: 60%; height: 500px; display: flex; align-items: center; justify-content: center; position: relative; z-index: 2; /* 确保图片在遮罩层之上 */ } .ys-index__reason .reason-video img { max-width: 90%; max-height: 80%; object-fit: contain; width: auto; height: auto; } /* 一站式制造互联能力 end */ /* 专利与认证 start */ .ys-index__patent { padding: 80px 0 0; width: 100%; background-color: #eff6ff; } .ys-index__patent .ys-index__title, .ys-index__patent .ys-index__subtitle { text-align: center; } .ys-index__patent .patent-container { margin-top: 0; position: relative; padding: 0; width: var(--ys-content-width); margin: 0 auto; } .ys-index__patent .patent-swiper { overflow: hidden; padding: 20px 0; } .ys-index__patent .patent-item { width: 20%; /* 展示五张 */ height: auto; padding: 0; box-sizing: border-box; opacity: 0.55; transition: opacity 0.3s ease; } .ys-index__patent .patent-item.patent-level-active { opacity: 1; z-index: 2; } .ys-index__patent .patent-item.patent-level-near { opacity: 0.78; z-index: 1; } .ys-index__patent .patent-item.patent-level-far-left, .ys-index__patent .patent-item.patent-level-far-right { opacity: 0.55; z-index: 1; } .ys-index__patent .patent-img { width: 100%; border: 1px solid var(--ys-color-background-100); border-radius: 4px; overflow: hidden; position: relative; transition: box-shadow 0.3s ease, border-color 0.3s ease; background-color: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); } .ys-index__patent .patent-img:hover { box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.1); border-color: var(--ys-color-primary); } .ys-index__patent .patent-img img { width: 88%; margin: 0 auto; height: auto; display: block; object-fit: contain; transition: width 0.3s ease; } .ys-index__patent .patent-item.patent-level-near .patent-img img { width: 94%; } .ys-index__patent .patent-item.patent-level-active .patent-img img { width: 100%; } .ys-index__patent .patent-item.patent-level-far-left .patent-img img, .ys-index__patent .patent-item.patent-level-far-right .patent-img img { width: 84%; } /* 左右箭头 */ .ys-index__patent .patent-arrow { position: absolute; top: 50%; transform: translateY(-50%); 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; z-index: 10; background-color: #fff; transition: all 0.3s; } .ys-index__patent .patent-arrow:hover { border-color: #e74a13; background-color: #e74a13; color: var(--ys-color-white); } .ys-index__patent .patent-arrow i { font-size: 22px; display: block; } .ys-index__patent .patent-prev { left: -80px; /* 箭头往外移 */ } .ys-index__patent .patent-prev i { transform: rotate(180deg); } .ys-index__patent .patent-next { right: -80px; /* 箭头往外移 */ } /* 专利与认证 end */ /* 成熟工艺流程体系 start */ .ys-index__strength { padding: 80px 0 0; width: 100%; background-color: #eff6ff; } .ys-index__strength .ys-index__title, .ys-index__strength .ys-index__subtitle { text-align: center; } .ys-index__strength .strength-wrap { overflow: hidden; margin-top: 0; padding-bottom: 20px; } .ys-index__strength .strength-scroll { height: 100%; } .ys-index__strength .strength-item { height: 430px; border-radius: 16px; position: relative; overflow: hidden; background-color: #fff; transition: all 0.3s ease; cursor: pointer; flex-shrink: 0; width: auto; border: 1px solid var(--ys-color-background-100); } /* Image styles */ .ys-index__strength .strength-img { display: block; width: 100%; height: 308px; margin: auto; object-fit: cover; transition: transform 0.5s ease; } .ys-index__strength .strength-item:hover .strength-img { transform: none; } /* Gradient Background Overlay on Hover - Keep this new feature */ .ys-index__strength .strength-item::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 50%; background: linear-gradient(112.11deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 108.55%); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; z-index: 1; border-radius: 16px; } .ys-index__strength .strength-item:hover::after { opacity: 1; } /* Content Container - Restore positioning */ .ys-index__strength .strength-content { position: absolute; bottom: 0; left: 0; width: 100%; padding-bottom: 20px; /* Default state padding */ z-index: 2; display: block; transition: all 0.3s ease; } /* Hover*/ .ys-index__strength .strength-item:hover .strength-content { height: 50%; padding-bottom: 0; padding-top: 24px; display: flex; flex-direction: column; justify-content: flex-start; } .ys-index__strength .strength-title { display: inline-block; text-decoration: none; margin: 0 24px 6px; flex-shrink: 0; } .ys-index__strength .strength-title h3 { 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 24px; /* Adjusted margins for consistency */ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; max-height: 44px; transition: all 0.3s; } .ys-index__strength .strength-item:hover .strength-desc { -webkit-line-clamp: 4; line-clamp: 4; max-height: 110px; color: rgba(255, 255, 255, 0.9); position: relative; z-index: 3; margin-top: 0; } .ys-index__strength .strength-item:hover .strength-title h3 { color: #fff; position: relative; z-index: 3; } .ys-index__strength .strength-item:hover .strength-title .icon-short-arrow { display: none; } .ys-index__strength .strength-more { position: absolute; bottom: 24px; right: 24px; background-color: #fff; color: #000; padding: 8px 20px; border-radius: 24px; font-size: 14px; font-weight: 500; display: flex; align-items: center; opacity: 0; transform: translateY(10px); transition: all 0.3s ease 0.1s; box-shadow: 0 4px 12px rgba(0,0,0,0.15); z-index: 3; } .ys-index__strength .strength-item:hover .strength-more { opacity: 1; transform: translateY(0); } .ys-index__strength .strength-more i { font-size: 14px; margin-left: 6px; display: inline-block; } .ys-index__strength .strength-arrow { display: flex; justify-content: center; margin-top: 36px; } .ys-index__strength .strength-arrow .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; transition: all 0.3s; } .ys-index__strength .strength-arrow .arrow-item:hover { border-color: #e74a13; background-color: #e74a13; color: var(--ys-color-white); } .ys-index__strength .strength-arrow .arrow-item i { font-size: 22px; display: block; } .ys-index__strength .strength-arrow .arrow-item:first-child i { transform: rotate(180deg); } /* 成熟工艺流程体系 end */ /* 规范质量交付管理 start */ .ys-index__deliverables .ys-index__title { font-weight: 600; font-size: 30px; } .ys-index__deliverables .ys-index__subtitle { font-size: 14px; color: var(--ys-color-text-300); margin-top: 16px; } .ys-index__deliverables { padding: 80px 0; width: 100%; text-align: center; background-color: #eff6ff; } .ys-index__deliverables .deliverables-content { margin-top: 0; position: relative; padding: 0; } .ys-index__deliverables .deliverables-swiper { width: 100%; overflow: hidden; position: relative; border-radius: 16px; box-shadow:0px 8px 20px rgba(0, 0, 0, 0.15), 0px -4px 16px rgba(0, 0, 0, 0.06) ; } .ys-index__deliverables .swiper-wrapper { display: flex; transition-property: transform; } .ys-index__deliverables .deliverables-wrap { display: flex; height: 480px; background-color: #fff; width: 100%; flex-shrink: 0; padding: 24px; box-sizing: border-box; } .ys-index__deliverables .deliverables-img { width: 50%; border-radius: 16px; overflow: hidden; } .ys-index__deliverables .deliverables-img img { width: 100%; height: 100%; object-fit: cover; } /* 修改 info 容器样式 */ .ys-index__deliverables .deliverables-info { width: 50%; display: flex; flex-direction: column; justify-content: flex-start; /* 顶部对齐 */ padding: 0 50px; text-align: left; } .ys-index__deliverables .deliverables-tag { font-size: 24px; font-weight: 300; color: #B0B0B0; margin-bottom: 16px; letter-spacing: 1px; margin-top: 0; line-height: 1; } .ys-index__deliverables .deliverables-title { font-size: 24px; font-weight: 600; margin-bottom: 24px; margin-top: 10px; } .ys-index__deliverables .deliverables-desc { font-size: 14px; color: var(--ys-color-text-100); line-height: 28px; min-height: auto; margin-bottom: 40px; } /* 修改 stats 容器 */ .ys-index__deliverables .deliverables-stats { display: flex; margin-top: 0; align-items: center; justify-content: flex-start; } .ys-index__deliverables .stats-item { text-align: left; padding: 16px; border-radius: 8px; background-color: #fff; margin-right: 16px; transition: all 0.3s; cursor: pointer; position: relative; z-index: 1; /* 统一高度 */ height: 80px; display: flex; flex-direction: column; justify-content: center; /* 默认状态:白色背景 + 渐变边框 */ background-clip: padding-box, border-box; background-origin: padding-box, border-box; background-image: linear-gradient(to right, #fff, #fff), linear-gradient(112.11deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 108.55%); border: 1px solid transparent; } /* 统一 Stats Num 样式 */ .ys-index__deliverables .stats-num { font-size: 24px; font-weight: 600; line-height: 32px; /* 默认状态:渐变文字 */ background: linear-gradient(112.11deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 108.55%); -webkit-background-clip: text; background-clip: text; color: transparent; transition: all 0.3s; } /* 统一 Stats Txt 样式 */ .ys-index__deliverables .stats-txt { font-size: 14px; color: var(--ys-color-text-300); margin-top: 4px; transition: all 0.3s; } .ys-index__deliverables .stats-item:hover { background: linear-gradient(112.11deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 108.55%) !important; border-color: transparent; } .ys-index__deliverables .stats-item:hover .stats-num, .ys-index__deliverables .stats-item:hover .stats-txt { color: #fff; background: none; -webkit-text-fill-color: initial; } /* 移除原来的分割线样式,因为不再需要 */ .ys-index__deliverables .stats-divider { display: none; } .ys-index__deliverables .deliverables-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid #B0B0B0; color: var(--ys-color-text-000); cursor: pointer; text-align: center; line-height: 48px; z-index: 10; background-color: transparent; transition: all 0.3s; } .ys-index__deliverables .deliverables-btn:hover { background-color: #e74a13; border-color: #e74a13; color: var(--ys-color-white); } .ys-index__deliverables .deliverables-btn i { font-size: 24px; display: block; } .ys-index__deliverables .btn-prev { left: -80px; /* 箭头位置 */ } .ys-index__deliverables .btn-prev i { transform: rotate(180deg); } .ys-index__deliverables .btn-next { right: -70px; /* 箭头 */ } /* 下方导航点 */ .ys-index__deliverables .swiper-pagination-bullet { width: 8px; height: 8px; display: inline-block; border-radius: 100%; background: #000; opacity: .2; margin: 0 5px; } .ys-index__deliverables .swiper-pagination-bullet-active { opacity: 1; background: var(--ys-color-primary); } .ys-index__deliverables .swiper-pagination { position: relative; text-align: center; transition: .3s opacity; transform: translate3d(0,0,0); z-index: 10; padding: 20px 0 10px; width: 100%; } /* 规范质量交付管理 end */ /* 新品速递 start */ .ys-index__new-product { padding: 80px 0; width: 100%; margin: 0 auto; background-color: #f8f8f8; } .ys-index__new-product .ys-container, .ys-index__new-product .new-product-content, .ys-index__new-product .ys-index__title-wrap { width: var(--ys-content-width); margin: 0 auto; } .ys-index__new-product .ys-index__subtitle { text-align: center; } /* 新品速递标题区域 */ .ys-index__new-product .ys-index__title-wrap { position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; } .ys-index__new-product .ys-index__title-wrap .ys-index__title { margin: 0; } .ys-index__new-product .ys-index__title-wrap .ys-btn-smile-curve { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 140px; height: 44px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 14px; cursor: pointer; overflow: hidden; box-sizing: border-box; color: #333; background: transparent; border-radius: 22px; border: none; z-index: 1; } /* 使用 ::before 模拟渐变边框 */ .ys-index__new-product .ys-index__title-wrap .ys-btn-smile-curve::before { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 22px; padding: 2px; background: linear-gradient(95.51deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 129.57%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; z-index: 2; } /* 恢复 ::after 底部弧形装饰 */ .ys-index__new-product .ys-index__title-wrap .ys-btn-smile-curve::after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 8px; background: linear-gradient(95.51deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 129.57%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; opacity: 1; transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; z-index: -1; display: block; } /* Hover 效果 */ .ys-index__new-product .ys-index__title-wrap .ys-btn-smile-curve:hover { color: #fff; background: transparent; opacity: 1; box-shadow: none; } /* Hover 时底部装饰向上填充整个按钮 */ .ys-index__new-product .ys-index__title-wrap .ys-btn-smile-curve:hover::after { width: 100%; height: 100%; border-radius: 0; bottom: 0; } .ys-index__new-product .ys-index__title-wrap .ys-btn-smile-curve i { margin-left: 0; font-size: 12px; } /* 产品列表 */ .ys-index__new-product .product-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .ys-index__new-product .new-product-item { position: relative; background-color: var(--ys-color-white); height: 282px; padding: 24px 24px 10px; border-radius: 16px; overflow: hidden; border: 1px solid transparent; box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1); transition: 0.3s; } .ys-index__new-product .product-badge { position: absolute; top: 4px; right: -16px; width: 66px; padding: 2px 0; color: var(--ys-color-white); background: linear-gradient(90deg, rgba(218, 54, 40, 1) 0%, rgba(253, 138, 0, 1) 100%); /* 渐变 Badge */ text-align: center; font-size: 12px; transform: rotate(43deg); z-index: 1; } .ys-index__new-product a.new-product-btn { display: none; width: 112px; padding: 0 16px; height: 36px; line-height: 32px; margin-top: 36px; text-align: center; font-size: 14px; white-space: nowrap; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(96.34deg, rgba(0, 49, 206, 1) 0%, rgba(232, 75, 19, 1) 128.06%) border-box; border: 2px solid transparent; border-radius: 20px; text-decoration: none; transition: all 0.2s; color: #000000; } .ys-index__new-product a.new-product-btn:hover { background: linear-gradient(90deg, #1845E6 0%, #903080 50%, #E63D25 100%); color: #fff; border-color: transparent; border: none; } .ys-index__new-product a.new-product-btn i { margin-left: 4px; font-size: 12px; } .ys-index__new-product .new-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__new-product .new-product-item:hover .new-product-img img { transform: scale(1.1); } .ys-index__new-product .new-product-img { display: block; width: 100%; height: 164px; margin: auto; overflow: hidden; } .ys-index__new-product .new-product-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s; } .ys-index__new-product .new-product-info { /* 默认布局下不需要额外样式 */ } .ys-index__new-product .new-product-title { display: block; color: var(--ys-color-text-000); text-decoration: none; font-size: 16px; font-weight: 600; line-height: 25px; height: 50px; overflow: hidden; } .ys-index__new-product .new-product-item:hover .new-product-title { color: var(--ys-color-primary); } .ys-index__new-product .new-product-desc { font-size: 14px; font-weight: 400; line-height: 20px; color: var(--ys-color-text-300); text-decoration: none; display: block; margin: 6px 0; } /* Double 宽度的产品项 */ .ys-index__new-product .new-product-item.double { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; padding: 0 0 0 40px; text-align: left; } .ys-index__new-product .new-product-item.double .new-product-info { width: 238px; flex-shrink: 0; } .ys-index__new-product .new-product-item.double .new-product-img { flex: 1; height: auto; margin: 0; } .ys-index__new-product .new-product-item.double .new-product-desc { margin-top: 16px; } .ys-index__new-product .new-product-item.double .new-product-desc p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; word-break: break-all; overflow: hidden; } .ys-index__new-product .new-product-item.double .new-product-desc::before { content: ""; display: inline-block; width: 36px; height: 2px; margin-bottom: 16px; background-color: var(--ys-color-strong); } .ys-index__new-product .new-product-item.double .new-product-btn { display: flex !important; /* 确保弹性布局对齐 */ justify-content: center; align-items: center; margin-top: 48px; /* 按钮下移 */ } /* 仅在 Double 卡片显示横线 */ .ys-index__new-product .new-product-item.double .new-product-desc::before { content: ""; display: block; width: 60px; /* 比按钮小 */ height: 4px; margin-bottom: 16px; background: linear-gradient(90deg, rgba(218, 54, 40, 1) 0%, rgba(253, 138, 0, 1) 100%); border-radius: 2px; } .ys-index__content .content-product { padding-bottom: 30px; margin-bottom: 20px; height: calc(var(--ys-new-img-w) + 135px); overflow-y: hidden; } .ys-index__content .product-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; overflow-x: auto; } .ys-index__content .product-item { width: var(--ys-new-img-w); position: relative; } .ys-index__content .product-img { width: var(--ys-new-img-w); height: var(--ys-new-img-w); border-radius: 4px; display: block; } .ys-index__content .product-title { text-decoration: none; display: inline-block; color: var(--ys-color-text-000); font-size: 14px; margin-top: 6px; max-width: 100%; } .ys-index__content .product-title h4 { font-weight: 400; } .ys-index__content .product-tag { position: absolute; top: 0; left: 0; color: var(--ys-color-white); background-color: var(--ys-color-assist); border-radius: 4px; padding: 2px 5px; font-size: 12px; } /* 新品速递 end */ /* 内容中心 start */ .ys-index__information { background-image: none; background-color: #eff6ff; padding: 80px 0; width: 100%; margin: 0 auto; } .ys-index__information .ys-index__title, .ys-index__information .ys-index__subtitle, .ys-index__information .information-wrap { width: var(--ys-content-width); margin-left: auto; margin-right: auto; } .ys-index__information .ys-index__title { font-weight: 600; font-size: 30px; } .ys-index__information .ys-index__subtitle { font-size: 14px; color: var(--ys-color-text-300); margin-top: 16px; } .ys-index__information .information-item:hover img, .ys-index__new-product .new-product-item:hover img { transform: scale(1.1); } .ys-index__information .information-item:hover .hover--underline-primary, .ys-index__new-product .new-product-item:hover .hover--underline-primary { color: var(--ys-color-primary); } .ys-index__information .information-wrap { display: flex; } .ys-index__information .information-type { width: calc(33.33% - 20px); } .ys-index__information .information-type + .information-type { margin-left: 40px; } .ys-index__information .information-content { background-color: var(--ys-color-white); border-radius: 16px; overflow: hidden; /* 裁切图片顶部圆角 */ padding-bottom: 24px; height: 100%; /* 确保对齐 */ box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.03); transition: box-shadow 0.3s; } .ys-index__information .information-content:hover { box-shadow: 0px 8px 30px 0px rgba(0, 0, 0, 0.08); } .ys-index__information .information-item + .information-item { margin-top: 10px; } .ys-index__information .information-title-link { display: flex; text-decoration: none; align-items: center; font-size: 20px; font-weight: 600; line-height: 24px; color: var(--ys-color-text-000); margin-bottom: 12px; padding: 24px 24px 0; /* 内部间距,避免贴图 */ } .ys-index__information .information-title-link:hover { color: var(--ys-color-primary); } .ys-index__information .information-title-link i { font-size: 18px; margin-left: 9px; } .ys-index__information .information-item { position: relative; padding: 0 24px; margin-bottom: 0; } .ys-index__information .information-img { display: block; width: 100%; height: 238px; border-radius: 0; /* 移除内部圆角 */ margin-bottom: 0; /* 移除下边距 */ position: relative; overflow: hidden; } .ys-index__information .information-img img { width: 100%; height: 100%; object-fit: cover; } .ys-index__information .information-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__information .information-img-hover h4 { font-size: 20px; font-weight: 600; line-height: 24px; } .ys-index__information .information-img-hover p { font-size: 14px; font-weight: normal; line-height: 24px; opacity: 0.8; margin: 8px 0 32px; } .ys-index__information .information-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__information .information-img:hover .information-img-hover { transform: translateY(0); } .ys-index__information .information-info { display: flex; align-items: center; } .ys-index__information .information-title { display: inline-block; text-decoration: none; max-width: 100%; } .ys-index__information .information-title h4 { display: inline; font-size: 14px; font-weight: normal; line-height: 18px; color: var(--ys-color-text-000); } .ys-index__information .information-title:hover h4 { color: var(--ys-color-primary); } .ys-index__information .information-time { font-size: 14px; font-weight: normal; line-height: 18px; color: var(--ys-color-text-100); margin-right: 8px; } /* 联系我们 start */ .ys-index__contact { padding: 60px 0; width: 100%; background-color: #0f7dc7; color: #fff; position: relative; overflow: hidden; } .ys-index__contact .contact-wrap { display: flex; justify-content: space-between; align-items: center; padding: 0; position: relative; } /* 背景图装饰 */ .ys-index__contact .contact-wrap::before { content: ""; position: absolute; top: 50%; left: 0; transform: translateY(-50%) translateX(-36%); width: 300px; height: 300px; background-image: url(/asset/img/contact_us_bg.webp); background-repeat: no-repeat; background-size: contain; background-position: center; z-index: 0; pointer-events: none; } .ys-index__contact .contact-text, .ys-index__contact .contact-action { position: relative; z-index: 1; } .ys-index__contact .contact-title { font-size: 24px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; } .ys-index__contact .contact-desc { font-size: 14px; font-weight: 400; line-height: 1.5; color: #D0E6F9; opacity: 0.9; } .ys-index__contact .contact-action { margin-left: 20px; } .ys-index__contact .contact-btn { display: flex; align-items: center; justify-content: center; width: 140px; height: 40px; border: 1px solid #fff; border-radius: 50px; color: #fff; text-decoration: none; font-size: 14px; position: relative; overflow: hidden; transition: all 0.3s ease; background-color: transparent; cursor: pointer; } .ys-index__contact .contact-btn span { position: relative; z-index: 2; letter-spacing: 1px; margin-right: 8px; } .ys-index__contact .contact-btn i { position: relative; z-index: 2; font-size: 14px; } /* Hover 效果 */ .ys-index__contact .contact-btn:hover { background: linear-gradient(90deg, #1845E6 0%, #903080 50%, #E63D25 100%); border-color: transparent; border: 0px; } .ys-index__contact .contact-btn:hover::before { opacity: 0; transform: translateX(-50%) translateY(5px); } /* 联系我们 end */ /* 媒体查询 */ @media only screen and (max-width: 1450px) { .ys-index__product .product-list { width: 100%; padding: 0 20px; } .ys-index__product .ys-index__title-wrap { width: 100%; padding: 0 20px; } .ys-index__product .product-desc-full { -webkit-line-clamp: 8; line-clamp: 8; } .ys-index__content .content-solution-info { padding: 20px 51px 20px 20px; } .ys-index__content .content-solution-img { height: 230px; } .ys-index__content .content-product-item { height: 268px; } .ys-index__content .content-product-img { height: 148px; } .ys-banner .banner-slide .banner-desc { left: 0; } .solution-sidebar { width: 240px; } .solution-desc { font-size: 24px; } .solution-content-wrapper { padding: 24px; } .solution-main-img { height: 260px; } .connector-list { grid-template-columns: repeat(5, 1fr); gap: 10px; } .ys-index__deliverables .stats-txt { font-size: 12px; } } @media only screen and (max-width: 1280px) { /* .ys-index, .ys-banner { --ys-content-width: 1000px; } */ .ys-index .ys-index__title { font-size: 26px; } .ys-index .ys-index__subtitle { font-size: 13px; } .ys-banner .banner-slide .banner-desc h2 { font-size: 28px; } .ys-banner .banner-slide .banner-desc p { font-size: 14px; } .ys-index__product .product-list { width: 100%; gap: 16px; } .ys-index__product .product-item { height: 320px; } .ys-index__product .product-desc-full { -webkit-line-clamp: 5; line-clamp: 5; font-size: 13px; } .ys-index__product .product-title { font-size: 18px; } .ys-index__product .product-desc-short { font-size: 13px; } .ys-index__reason .reason-tabs.solution-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: center; padding-bottom: 5px; gap: 10px; -webkit-overflow-scrolling: touch; } .ys-index__reason .reason-tabs.solution-tabs::-webkit-scrollbar { display: none; } .ys-index__reason .reason-wrap .reason-icon-left { width: 322px; } .ys-index__reason .solution-tab-item { padding: 0 15px; min-width: auto; font-size: 14px; flex-shrink: 0; } .ys-index__reason .tabs-item { margin: 0 10px; } .ys-banner .banner-slide .banner-desc { left: 0; } /* 适配平板屏幕,卡片缩小或变轮播 */ .ys-index__power .power-data { padding-left: 0; } .solution-sidebar { width: 200px; } .solution-layout { gap: 40px; } .solution-desc { font-size: 20px; margin-bottom: 110px; } .solution-tab-item { height: 40px; font-size: 13px; } .solution-main-img { height: 200px; } .connector-list { grid-template-columns: repeat(4, 1fr); } .connector-list .connector-item:nth-child(5) { display: none; } .ys-index__deliverables .stats-item { padding: 6px; } .ys-index__deliverables .stats-num { font-size: 16px; } .ys-index__deliverables .stats-txt { font-size: 10px; } .ys-index__strength .strength-item { height: 380px; } .ys-index__strength .strength-img { height: 260px; } .ys-index__strength .strength-content { padding-bottom: 16px; } .ys-index__strength .strength-title { margin: 0 16px 4px; } .ys-index__strength .strength-desc { margin: 0 16px; line-height: 20px; } .ys-index__strength .strength-item:hover .strength-desc { -webkit-line-clamp: 3; line-clamp: 3; } /* 新品速递适配 */ .ys-index__new-product .new-product-item { height: 260px; padding: 20px; } .ys-index__new-product .new-product-img { height: 140px; } .ys-index__new-product .new-product-title { font-size: 15px; height: 44px; /* 调整高度限制 */ } .ys-index__new-product .new-product-desc { font-size: 13px; } .ys-index__new-product .new-product-item.double .new-product-info { width: 200px; } /* 内容中心适配 */ .ys-index__information .information-img { height: 200px; } .ys-index__information .information-title-link { font-size: 18px; padding: 20px 20px 0; } .ys-index__information .information-item { padding: 0 20px; } .ys-index__information .ys-index__title { font-size: 26px; } .ys-index__information .information-title h4 { font-size: 13px; } .ys-index__contact .contact-title { font-size: 22px; } .ys-index__contact .contact-desc { font-size: 10px; } @media only screen and (max-width: 1024px) { /* .ys-index, .ys-banner { --ys-content-width: 900px; } */ .ys-index__contact .contact-wrapper { flex-direction: column; text-align: center; padding: 0 20px; } .ys-index__contact .contact-action { margin-left: 0; margin-top: 20px; } .ys-index__contact .contact-text { max-width: 100%; } .solution-layout { flex-direction: column; } .solution-sidebar { width: 100%; display: flex; flex-wrap: wrap; align-items: center; padding-top: 0; } .solution-tag, .solution-desc, .solution-label { width: 100%; text-align: center; margin-bottom: 10px; } .solution-desc { margin-bottom: 20px; } .solution-tabs { flex-direction: row; width: 100%; justify-content: center; flex-wrap: wrap; } .solution-tab-item { width: auto; padding: 0 20px; margin-bottom: 10px; } .solution-content-wrapper { min-height: auto; } .connector-list .connector-item:nth-child(5) { display: block; } } } .ev-footer-v3 { width: 100%; background-color: #063144; color: #ffffff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; padding-top: 80px; padding-bottom: 40px; } .ev-footer__container { --ys-content-width: calc(80vw); width: var(--ys-content-width, 80vw); max-width: 1920px; margin: 0 auto; padding: 0; box-sizing: border-box; } /* Logo */ .ev-footer__logo-section { margin-bottom: 56px; } .ev-footer__logo { height: 40px; width: auto; display: block; } .ev-footer__main-grid { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; flex-wrap: wrap; } .ev-footer__nav-section { display: flex; flex-grow: 1; gap: 70px; flex-wrap: wrap; } .ev-footer__nav-col { display: flex; flex-direction: column; min-width: 100px; } .ev-footer__nav-title { font-size: 18px; font-weight: 700; color: #ffffff; margin: 0 0 24px 0; position: relative; padding-top: 12px; line-height: 1.5; } .ev-footer__nav-title::before { content: ""; position: absolute; top: 0; left: 0; width: 30px; height: 3px; background-color: #f35a24; } .ev-footer__nav-list { list-style: none; padding: 0; margin: 0; } .ev-footer__nav-item { margin-bottom: 12px; } .ev-footer__nav-item a { font-size: 14px; color: #ffffff; text-decoration: none; transition: color 0.2s ease; } .ev-footer__nav-item a:hover { color: #f35a24; text-decoration: underline; } .ev-footer__contact-section { display: flex; flex-direction: column; align-items: flex-end; margin-left: 40px; min-width: 240px; } .ev-footer__qr-group { display: flex; gap: 20px; margin-bottom: 20px; } .ev-footer__qr-item img { width: 80px; height: 80px; background-color: #fff; padding: 5px; box-sizing: border-box; } .ev-footer__phone-group { text-align: right; } .ev-footer__phone-number { font-size: 32px; font-weight: 700; color: #f35a24; margin-bottom: 20px; line-height: 1.2; } .ev-footer__contact-detail { font-size: 14px; color: #ffffff; margin-bottom: 8px; display: flex; align-items: center; justify-content: flex-end; gap: 8px; } .ev-footer__contact-detail i { font-size: 16px; color: #ffffff; } .ev-footer__divider { height: 1px; background-color: #1a414d; margin: 0 0 20px 0; width: 100%; } .ev-footer__friendly-links { font-size: 12px; color: #999999; line-height: 2; margin-bottom: 20px; } .ev-footer__friendly-label { color: #999999; } .ev-footer__friendly-links a { color: #999999; text-decoration: none; margin: 0 5px; transition: color 0.2s; position: relative; } .ev-footer__friendly-links a:hover { color: #f35a24; } .ev-footer__friendly-links a:not(:last-child)::after { content: "|"; position: absolute; right: -8px; color: #1a414d; top: 0; pointer-events: none; } .ev-footer__friendly-links .separator { display: none; } .ev-footer__bottom { display: flex; flex-direction: column; gap: 4px; } .ev-footer__copyright, .ev-footer__icp { margin: 0; font-size: 12px; color: #999999; } .ev-footer__icp a { color: #999999; text-decoration: none; } .ev-footer__icp a:hover { color: #f35a24; } /* 中屏适配:在 1024px ~ 1440px 之间 */ @media (max-width: 1440px) { .ev-footer__nav-section { gap: 40px; /* 减小导航列间距 */ } .ev-footer__logo { height: 30px; } } @media (max-width: 1200px) { .ev-footer__nav-section { gap: 20px; } } /* 小屏适配 */ @media (max-width: 1100px) { /* .ev-footer__container { width: auto; padding: 0 20px; } */ .ev-footer__nav-section { gap: 10px; } .ev-footer__main-grid { flex-direction: column; align-items: flex-start; /* 左对齐 */ } .ev-footer__contact-section { margin-left: 0; margin-top: 40px; align-items: flex-start; width: 100%; } .ev-footer__qr-group { justify-content: flex-start; } .ev-footer__phone-group { text-align: left; } .ev-footer__contact-detail { justify-content: flex-start; } } .ys-rightNav { position: fixed; right: 24px; bottom: 90px; text-align: center; z-index: 99; font-size: 14px; line-height: 16px; } .ys-rightNav .service { background-color: var(--ys-color-assist); padding: 12px; width: 56px; color: var(--ys-color-white); border-radius: 28px; box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1); cursor: pointer; } .ys-rightNav .service img { width: 32px; height: 32px; border-radius: 50%; margin-bottom: 6px; } .ys-rightNav .circle { margin-top: 10px; position: relative; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--ys-color-background-100); background: linear-gradient(0deg, var(--ys-color-white) 0%, var(--ys-color-white) 100%), linear-gradient(180deg, var(--ys-color-background-050) 0%, #fefefe 100%); box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1); padding: 19px 12px 12px; cursor: pointer; display: block; text-decoration: none; } .ys-rightNav .circle i { font-size: 24px; color: var(--ys-color-text-000); } .ys-rightNav .circle .text-cover { position: absolute; width: 56px; height: 56px; z-index: 2; background-color: var(--ys-color-primary); color: var(--ys-color-white); left: -1px; top: -1px; border-radius: 50%; padding: 12px; transition: all .2s; transform-origin: center; transform: scale(0); } .ys-rightNav .circle:hover .text-cover, .ys-rightNav .circle:hover .code-cover { transform: scale(1); } .ys-rightNav #backTop { display: none; } .ys-rightNav #backTop i { transform: rotate(-90deg); display: block; font-weight: 600; } .ys-rightNav .code-cover { position: absolute; border-radius: 4px; border: 1px solid var(--ys-color-background-100); background: linear-gradient(0deg, #FFF 0%, #FFF 100%), linear-gradient(180deg, #F5F5F5 0%, #FEFEFE 100%); box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10); right: 74px; top: 0; bottom: 0; width: 229px; height: fit-content; margin: auto; transition: all .2s; transform-origin: right; transform: scale(0); } .ys-rightNav .code-cover.narrow { width: auto; } .ys-rightNav .code-cover .code-item { display: flex; align-items: center; padding: 12px; border-bottom: 1px solid var(--ys-color-background-100); font-size: 12px; color: var(--ys-color-text-300); } .ys-rightNav .code-cover .code-item:last-child { border-bottom: 0; } .ys-rightNav .code-cover img { width: 82px; height: 82px; margin-right: 10px; } .ys-rightNav .code-cover .code-item i { font-size: 18px; color: var(--ys-color-success); margin-right: 4px; } .ys-rightNav .code-cover .code-item span { color: var(--ys-color-text-000); font-size: 14px; } .ys-rightNav .code-cover p { display: flex; align-items: center; justify-content: center; margin-top: 14px; } .ys-rightNav .code-cover .code-row { display: block; text-decoration: none; font-size: 14px; padding: 12px 20px; white-space: nowrap; color: var(--ys-color-text-000); } .ys-rightNav .code-cover .code-row + .code-row { /* padding-top: 0; */ border-top: 1px solid var(--ys-color-text-700); } #newBridge .nb-icon-wrap { display: none; } @media only screen and (max-height: 680px) { .ys-rightNav { bottom: 70px; } .ys-rightNav .service { width: 52px; } .ys-rightNav .circle { width: 52px; height: 52px; padding: 17px 12px 12px; } .ys-rightNav .circle i { font-size: 22px; } .ys-rightNav .circle .text-cover { left: -2px; top: -2px; } }