.ys-header { height: 72px; display: flex; flex-direction: column; transition: all 0.2s; position: sticky; top: 0; left: 0; width: 100%; z-index: 100; background-color: #fff; } .ys-header.is-home { position: fixed; } .ys-header.is-home:not(.is-sticky) { background-color: transparent; } .ys-header.is-solution-showcase { position: fixed; transform: translateY(0); } body.solution-showcase-tabs-stuck .ys-header.is-solution-showcase { transform: translateY(-100%); pointer-events: none; } .ys-header.is-solution-showcase:not(.is-sticky), body.solution-showcase-at-top .ys-header.is-solution-showcase { background-color: transparent; } .ys-header .ys-header-nav { width: 100%; height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 3vw, 64px); background-color: #fff; position: relative; z-index: 20; box-shadow: 0 15px 10px -15px #0000000f; transition: background-color 0.3s, box-shadow 0.3s; } .ys-header__logo { height: 72px; object-fit: contain; transition: opacity 0.3s; } .ys-header.is-home:not(.is-sticky) .ys-header-nav { background-color: transparent; box-shadow: none; } .ys-header.is-solution-showcase:not(.is-sticky) .ys-header-nav, body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header-nav { background-color: transparent; box-shadow: none; } .ys-header.is-sticky .ys-header-nav { background-color: #fff; box-shadow: 0 15px 10px -15px #0000000f; } .ys-header__nav { display: flex; flex-wrap: nowrap; justify-content: center; align-items: center; flex: 1; height: 100%; transition: max-width 0.3s, opacity 0.3s; max-width: min(58vw, 880px); margin: 0 clamp(16px, 2vw, 48px); gap: clamp(20px, 1.5vw, 36px); white-space: nowrap; /* Prevent text wrapping inside nav */ } .ys-header__nav.display-none { opacity: 0; pointer-events: none; } .ys-header__nav .nav-item.relative { position: static; /* Change to static so full-width dropdowns can position correctly */ } .ys-header__nav .nav-one { display: flex; align-items: center; height: 100%; padding: 0 clamp(8px, 0.7vw, 16px); font-size: clamp(15px, 0.82vw, 16px); font-weight: 500; color: var(--ys-color-text-000); text-decoration: none; cursor: pointer; white-space: nowrap; /* Ensure individual items never wrap */ } .ys-header__nav .nav-item:hover .nav-one { color: var(--ys-color-primary); } .ys-header__nav .nav-one .icon-short-arrow { display: inline-block; position: relative; left: 2px; transform: rotate(90deg); transition: transform 0.2s; color: var(--ys-color-text-300); font-weight: 400; } .ys-header__nav .nav-item:hover .nav-one .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: flex-end; gap: 20px; min-width: 200px; } .ys-header__right.open { flex: 1; position: relative; z-index: 21; } .ys-header__right.open .ys-header__lang-dropdown, .ys-header__right.open .ys-header__contact-btn, .ys-header__right.open .ys-header__search-icon { display: none; } .ys-header__search { position: relative; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; width: 0; height: 44px; padding: 0; opacity: 0; overflow: hidden; background-color: #fff; border: 0; border-radius: 4px; transition: all 0.2s; transform-origin: right; z-index: 22; } .ys-header__right.open .ys-header__search { width: 100%; padding: 0; border: none; opacity: 1; background-color: #f5f5f5; height: 44px; } .ys-header__right.open .ys-header__search::after { display: none; } .ys-header__right.open .ys-header__search .ys-header__search-input { width: calc(100% - 44px); height: 44px; line-height: 44px; padding: 0 20px; background-color: transparent; box-sizing: border-box; text-align: center; } .ys-header__right.open .ys-header__search .search-btn { width: 44px; height: 44px; top: 0; right: 0; background-color: var(--ys-color-primary, #2b37b3); border-radius: 0 4px 4px 0; display: flex; align-items: center; justify-content: center; } .ys-header__right.open .ys-header__search .search-btn .icon-search { color: #fff; font-size: 20px; } .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__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:focus-within::after { display: none; } .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: 8px; 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: 24px; 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); } @keyframes flashing { 0% { opacity: 1; } 40% { opacity: 0; } 100% { opacity: 1; } } .ys-header__search-icon, .ys-header__lang-trigger { color: var(--ys-color-text-000); cursor: pointer; display: flex; align-items: center; font-size: 14px; } .ys-header__lang-dropdown { position: relative; display: inline-block; } .ys-header__lang-dropdown::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 15px; background: transparent; } .ys-header__lang-menu { position: absolute; top: calc(100% + 5px); right: 0; background-color: #fff; min-width: 150px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); border-radius: 4px; padding: 8px 0; display: none; z-index: 100; opacity: 0; transform: translateY(10px); transition: all 0.2s ease; } .ys-header__lang-dropdown:hover .ys-header__lang-menu { display: block; opacity: 1; transform: translateY(0); } .ys-header__lang-menu .lang-item { display: block; padding: 10px 20px; color: var(--ys-color-text-000); text-decoration: none; font-size: 14px; transition: background-color 0.2s, color 0.2s; } .ys-header__lang-menu .lang-item:hover:not(.disabled) { background-color: #f5f5f5; color: var(--ys-color-primary); } .ys-header__lang-menu .lang-item.active { color: var(--ys-color-primary); } .ys-header__lang-menu .lang-item.disabled { color: #ccc; cursor: not-allowed; } .ys-header__lang-menu .lang-divider { height: 1px; background-color: #eee; margin: 8px 0; } .ys-header__contact-btn { background-color: #2b37b3; color: #fff; padding: 8px 16px; text-decoration: none; font-size: 14px; border-radius: 2px; transition: background-color 0.3s; } .ys-header__contact-btn:hover { background-color: #1e268a; } /* 透明状态下的文字颜色与Logo颜色 (仅首页有效) */ .ys-header.is-home:not(.is-sticky) .nav-one, .ys-header.is-home:not(.is-sticky) .ys-header__search-icon, .ys-header.is-home:not(.is-sticky) .ys-header__lang-trigger, .ys-header.is-home:not(.is-sticky) .icon-menu { color: #fff; } .ys-header.is-solution-showcase:not(.is-sticky) .nav-one, .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__search-icon, .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__lang-trigger, .ys-header.is-solution-showcase:not(.is-sticky) .icon-menu, body.solution-showcase-at-top .ys-header.is-solution-showcase .nav-one, body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__search-icon, body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__lang-trigger, body.solution-showcase-at-top .ys-header.is-solution-showcase .icon-menu { color: #fff; } .ys-header.is-home:not(.is-sticky) .nav-one .icon-short-arrow { color: rgba(255, 255, 255, 0.8); } .ys-header.is-solution-showcase:not(.is-sticky) .nav-one .icon-short-arrow, body.solution-showcase-at-top .ys-header.is-solution-showcase .nav-one .icon-short-arrow { color: rgba(255, 255, 255, 0.8); } .ys-header.is-home:not(.is-sticky) .ys-header__logo { filter: brightness(0) invert(1); } .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__logo, body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__logo { filter: brightness(0) invert(1); } body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__contact-btn, .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__contact-btn { background-color: #fff; color: var(--ys-color-text-000); } body.solution-showcase-at-top .ys-header.is-solution-showcase .ys-header__contact-btn:hover, .ys-header.is-solution-showcase:not(.is-sticky) .ys-header__contact-btn:hover { background-color: rgba(255, 255, 255, 0.9); } .ys-header__logo.display-none { opacity: 0; pointer-events: none; } /* 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: fixed; z-index: 18; left: 0; right: 0; top: var(--ys-header-height, 72px); background-color: var(--ys-color-white); transition: transform .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.active, .ys-header__card.show { transform: scaleY(1); } .ys-header__image-dropdown { padding: 0; overflow-x: auto; } .header-solution-grid, .header-investor-grid { display: flex; flex-wrap: nowrap; justify-content: center; box-sizing: border-box; margin: 0 auto; padding: 40px clamp(40px, 4vw, 72px); } .header-solution-grid { gap: 20px; width: max-content; max-width: 1280px; padding: 40px 40px; } .header-investor-grid { gap: clamp(20px, 2vw, 40px); width: min(100%, 1280px); min-width: 0; } .header-solution-item, .header-investor-item { text-align: left; text-decoration: none; color: #333; } .header-solution-item { flex: 0 0 224px; width: 224px; } .header-investor-item { flex: 1 1 0; min-width: 0; max-width: 350px; } .header-solution-thumb, .header-investor-thumb { width: 100%; overflow: hidden; border-radius: 4px; margin-bottom: 15px; } .header-solution-thumb { height: 191px; } .header-investor-thumb { height: 220px; } .header-dropdown-image { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform 0.3s; } .header-solution-item:hover .header-dropdown-image, .header-investor-item:hover .header-dropdown-image { transform: scale(1.04); } .header-solution-name, .header-investor-name { color: #333; font-weight: bold; font-size: 16px; } .header-solution-name { margin-bottom: 8px; } .header-solution-desc { color: #999; font-size: 14px; line-height: 1.5; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .ys-header__cover { position: fixed; z-index: 17; left: 0; right: 0; top: var(--ys-header-height, 72px); bottom: 0; background-color: rgba(0, 0, 0, 0.7); transition-delay: 100ms; } /* 悬停卡片 end */ /* 解决方案 start */ .ys-header__card.ys-header__case { padding: 40px 52px; } .ys-header__case { background-color: #f3f5f8; } .ys-header .nav-solution-title { text-decoration: none; display: inline-block; margin-bottom: 18px; font-weight: 700; color: var(--ys-color-text-000); } .ys-header .nav-solution__list { list-style: none; padding: 0; margin: 0; } .ys-header .nav-solution__item { display: flex; align-items: center; flex-wrap: wrap; /* 允许子项过多时自动换行 */ } .ys-header .nav-solution__list:not(.nav-solution__list--child) > .nav-solution__item { margin-bottom: 12px; } .ys-header .nav-solution__list--child { display: flex; flex-wrap: wrap; align-items: center; margin-left: 0; } .ys-header .nav-solution__link { display: inline-block; line-height: 24px; padding: 6px 10px; text-decoration: none; color: var(--ys-color-text-000); } /* 仅第一级保留左侧的提示性竖线 */ .ys-header .nav-solution__list:not(.nav-solution__list--child) > .nav-solution__item > .nav-solution__link { border-left: 1px solid var(--ys-color-text-500); } .ys-header .nav-solution__list--child .nav-solution__link { border-left: none; padding: 6px 5px; } .ys-header .nav-solution__list--child .nav-solution__item::before { content: "——"; color: var(--ys-color-text-300); margin: 0 4px; /* 控制 "-" 两侧的间距 */ } .ys-header .nav-solution__link:hover { color: var(--ys-color-primary); } /* 解决方案 end */ /* 产品弹窗 start */ .ys-header__card.ys-header__product { position: absolute; left: 0; right: auto; width: auto; padding: 0; background-color: initial; overflow: initial; } .ys-header__product a { display: block; text-decoration: none; line-height: normal; } .ys-header__product .product-wrap { background-color: #fbfbfb; max-height: 500px; overflow-y: auto; box-shadow: -1px 1px 10px rgba(51, 51, 51, 0.2); } .ys-header__product .product-wrap::-webkit-scrollbar, .ys-header__product .product-child::-webkit-scrollbar { width: 7px; height: 7px; background-color: var(--ys-color-background-100); } .ys-header__product .product-wrap::-webkit-scrollbar-thumb, .ys-header__product .product-child::-webkit-scrollbar-thumb { border-radius: 5px; background-color: #C1C1C1; } .ys-header__product .to-product { display: flex; align-items: center; font-size: 18px; color: var(--ys-color-text-000); margin-bottom: 20px; } .ys-header__product .to-product i { transform: rotate(0deg) !important; display: block; font-size: 18px; } .ys-header__product .to-product:hover, .ys-header__product .product-item:hover .product-title { color: var(--ys-color-primary); } .ys-header__product .product-img { width: 140px; height: 140px; margin: auto; background: unset; } .ys-header__product .product-img img { object-fit: contain; } .ys-header__product .product-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; padding: 8px 0; font-size: 14px; display: inline-block; color: var(--ys-color-text-000); } .ys-header__product .product-item { position: relative; width: 180px; padding: 10px; display: flex; align-items: center; justify-content: space-between; } .ys-header__product .product-item.active { background-color: var(--ys-color-primary); } .ys-header__product .product-item.active .product-title { color: var(--ys-color-white); } .ys-header__product .product-item.active .iconfont { color: var(--ys-color-white); } .ys-header__product .product-item .iconfont { color: var(--ys-color-text-000); } .ys-header__product .product-child { position: absolute; top: 0; left: 100%; width: 500px; height: 100%; min-height: 100%; padding: 8px 10px; margin: 0; font-size: 14px; list-style: none; background-color: var(--ys-color-white); overflow-y: auto; box-shadow: 6px 1px 10px rgba(51,51,51,.2); display: flex; align-items: center; align-content: flex-start; flex-wrap: wrap; } .ys-header__product .product-child__item { line-height: normal; padding: 0; margin: 10px; } .ys-header__product .product-child__link { color: var(--ys-color-text-000); } .ys-header__product .product-child__link:hover { color: var(--ys-color-primary); } /* 产品弹窗 end */ /* mega menu product start */ .ys-header__mega { padding: 0; overflow-x: hidden; } .mega-menu-container { width: min(100%, 1840px); min-width: 0; max-width: 1840px; margin: 0 auto; box-sizing: border-box; padding: 0 clamp(24px, 3vw, 64px); } .mega-menu-top { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 clamp(18px, 1.4vw, 26px); border-bottom: 1px solid #eee; } .all-products-link { color: #666; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; } .all-products-link:hover { color: var(--ys-color-primary); } .close-mega-menu { cursor: pointer; color: #999; font-size: 20px; } .mega-menu-content { display: flex; padding: clamp(24px, 2.4vw, 44px) 0; } .mega-sidebar { flex: 0 0 clamp(180px, 12vw, 240px); border-right: 1px solid #eee; padding-right: clamp(18px, 1.6vw, 32px); } .mega-sidebar-item { padding: clamp(12px, 1vw, 18px) 0; font-size: clamp(15px, 0.82vw, 16px); color: #666; cursor: pointer; display: flex; justify-content: space-between; align-items: center; } .mega-sidebar-item.active { color: var(--ys-color-primary); font-weight: bold; } .mega-sidebar-item .icon-short-arrow { transform: rotate(-90deg); font-size: 12px; opacity: 0; } .mega-sidebar-item.active .icon-short-arrow { opacity: 1; } .mega-panels { flex: 1; padding-left: clamp(28px, 2.8vw, 56px); } .mega-panel { display: none; } .mega-panel.active { display: block; } .mega-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(clamp(190px, 12vw, 240px), 1fr)); gap: clamp(16px, 1.3vw, 28px); } .mega-grid-item { min-height: clamp(78px, 5vw, 96px); display: flex; align-items: center; gap: clamp(12px, 1vw, 22px); background: #f9f9f9; padding: clamp(12px, 1vw, 18px); border-radius: 4px; text-decoration: none; color: #333; transition: all 0.3s; } .mega-grid-item:hover { background: #f0f0f0; color: var(--ys-color-primary); } .mega-grid-item__image { flex: 0 0 clamp(58px, 4vw, 78px); width: clamp(58px, 4vw, 78px); height: clamp(44px, 3.2vw, 60px); display: flex; align-items: center; justify-content: center; } .mega-grid-item__image img { max-width: 100%; max-height: 100%; display: block; object-fit: contain; } .mega-grid-item__name { font-size: clamp(13px, 0.78vw, 16px); line-height: 1.5; min-width: 0; } /* mega menu product 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-weight: 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__common { display: flex; padding: 0; overflow-x: auto; } .ys-header__common a { text-decoration: none; color: var(--ys-color-text-000); } .ys-header__common.ys-header__card { background: transparent; } .ys-header__common .header-common__title { font-weight: 600; } .ys-header__common .header-common__title::after { content: '|'; padding-left: 22px; color: rgba(0, 0, 0, 0.2); } .ys-header__common .common-content { display: flex; align-items: center; justify-content: center; } .ys-header__common .common-content { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(30px); width: 100%; min-width: 760px; height: clamp(56px, 3.5vw, 68px); } .ys-header__common .header-common__list { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; } .ys-header__common .header-common__item { margin: 0 clamp(14px, 1.2vw, 28px); font-size: clamp(15px, 0.82vw, 16px); } .ys-header__common .header-common__item.active, .ys-header__common .header-common__item:hover { color: var(--ys-color-primary); } .display-none { display: none !important; } /* 公用 end */ /* 抽屉 start */ .ys-header__menu, .ys-header-menu, .ys-header.is-show-mobile-search .ys-header-search--mobile, .ys-header .header-menu__second { display: none; } /* 抽屉 end */ @media only screen and (max-height: 600px) { .ys-header__product .product-wrap { max-height: 82vh; } } @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: min(58vw, 760px); } } @media only screen and (max-width: 1440px) { /* 解决方案 start */ .ys-header__case { /* gap: 20px; */ margin: 0 -10px; } .ys-header__case .case-item{ margin: 0 10px 10px; width: calc(16.66% - 20px); } /* 解决方案 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 */ } @media only screen and (max-width: 1280px) { .ys-header__nav { max-width: min(60vw, 680px); gap: clamp(18px, 1.4vw, 20px); } .ys-header__nav .nav-one { font-size: 15px; } } @media only screen and (max-width: 1200px) and (min-width: 1000px) { .ys-header__image-dropdown { overflow-x: hidden !important; } .header-solution-grid { width: 100% !important; max-width: 100% !important; gap: 12px !important; padding: 36px 24px !important; } .header-solution-item { flex: 0 1 calc((100vw - 96px) / 5) !important; width: calc((100vw - 96px) / 5) !important; } } @media only screen and (max-width: 999px) and (min-width: 900px) { .ys-header .ys-header-nav { justify-content: space-between !important; } .ys-header__nav { position: absolute !important; left: 50% !important; transform: translateX(-50%) !important; flex: 0 0 auto !important; width: auto !important; max-width: none !important; margin: 0 !important; gap: 16px !important; } .ys-header__image-dropdown { overflow-x: hidden !important; } .header-solution-grid { width: 100% !important; max-width: 100% !important; gap: 8px !important; padding: 32px 16px !important; } .header-solution-item { flex: 0 1 calc((100vw - 64px) / 5) !important; width: calc((100vw - 64px) / 5) !important; } .header-solution-name { font-size: 15px !important; } .header-solution-desc { font-size: 13px !important; } } @media only screen and (max-width: 1100px) { .ys-header .ys-header-nav { padding: 0 20px; } .ys-header__nav { margin: 0 14px; gap: 16px; } .ys-header__nav .nav-one { font-size: 15px; padding: 0 6px; } .ys-header__right { gap: 10px; min-width: 150px; } .ys-header__user { margin-left: 10px; } .ys-header__service .service-content-box { grid-template-columns: repeat(4, 1fr); } } @media only screen and (max-width: 992px) { .ys-header__nav { min-width: auto; max-width: 64vw; margin: 0 12px; gap: 14px; } .ys-header__nav .nav-one { font-size: 15px; padding: 0 5px; } .ys-header__right { gap: 10px; min-width: 120px; } .ys-header__call a { font-size: 13px; padding: 0 5px 0 3px; } .ys-header__search { width: 140px; } .ys-header__search .ys-header__search-input::placeholder { font-size: 12px; } .ys-header__user { margin-left: 10px; } .ys-header__product .product-child { width: 400px; } } @media only screen and (max-width: 850px) { .ys-header__card.ys-header__product { left: -40px; } } @media only screen and (max-width: 768px) { .ys-header__call, .ys-header-shortcut, .ys-header__search, .ys-header__nav { display: none; } .ys-header-menu, .ys-header__menu, .ys-header-search--mobile { display: block; } /* 抽屉 start */ .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: 0; 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-height); line-height: var(--ys-header-height); padding-left: var(--ys-page-padding); } .ys-header-menu .header-menu-close .iconfont { font-size: 16px; color: var(--ys-color-text-000); } .ys-header-menu .header-menu-list { padding-top: 18px; height: calc(94% - 115px); overflow-y: auto; } .ys-header-menu .header-menu-list > div { border-bottom: 1px solid var(--ys-color-background-100); } .ys-header-menu .header-menu__link { text-decoration: none; color: var(--ys-color-text-000); margin-left: 40px; height: 62px; line-height: 62px; } .ys-header-menu .header-menu-other { position: absolute; width: 100%; bottom: 6%; text-align: center; } .ys-header-menu .header-menu__tel { color: var(--ys-color-text-100); font-size: 14px; } .ys-header-menu .header-menu__tel a { text-decoration: none; color: var(--ys-color-strong); font-size: 14px; font-weight: bold; } .ys-header__right { transition: 0.3s; } .ys-header.is-show-mobile-search .ys-header__logo { display: none; } .ys-header__right.open .ys-header__search { width: 100%; } .ys-header .header-menu__button, .ys-header .header-menu__more { padding: 0 40px; display: flex; justify-content: space-between; align-items: center; } .ys-header .header-menu__button .header-menu__link, .ys-header .header-menu__more .header-menu__link { margin: 0; } .ys-header .header-menu__list { display: none; list-style: none; margin: 0 60px; padding: 0; } .ys-header .header-menu__item { display: block; text-decoration: none; color: var(--ys-color-text-000); margin-bottom: 15px; } .ys-header .header-menu__item:hover { color: var(--ys-color-primary); } /* 抽屉 end */ /* 抽屉二级菜单 start */ .ys-header .header-menu__second { display: block; transform: translateX(-100vw); position: fixed; z-index: 1; width: 100vw; top: 0; bottom: 0; left: 0; right: 0; height: 100%; background-color: var(--ys-color-white); transition: 0.3s; } .ys-header .header-menu__second.active { transform: translateX(0); } .ys-header .header-menu__second .header-menu-close { display: flex; align-items: center; justify-content: space-between; padding: 0 var(--ys-page-padding) 0 10px; border-bottom: 1px solid var(--ys-color-text-700); } .ys-header .header-second__head .icon-short-arrow { font-size: 28px; display: block; transform: rotate(180deg); } .ys-header .header-second-back { display: flex; align-items: center; cursor: pointer; } .ys-header .header-second__content { padding: 20px var(--ys-page-padding) 0; height: calc(100% - var(--ys-header-height)); overflow-y: auto; } .ys-header .header-menu__second .header-menu__more { padding: 0; justify-content: flex-start; } .ys-header .header-menu__second .header-menu__link { height: auto; line-height: normal; padding: 20px 10px; cursor: pointer; } .ys-header .header-second__item { border-bottom: 1px solid var(--ys-color-background-100); } /* 抽屉二级菜单 end */ } @media only screen and (max-width: 540px) { .ys-header__user { margin-left: 5px; } } @media only screen and (max-width: 340px) { .ys-header__menu { min-width: auto; } } .investor ul { list-style: none; padding: 0; margin: 0; } .investor-center { width: var(--ys-content-width); margin: auto; } .investor .investor-subtitle { font-size: 30px; font-weight: 400; } /* 面包屑 start */ .investor .c-breadcrumb { margin-top: 30px; } /* 面包屑 end */ /* banner start */ .investor .investor-banner { position: relative; } .investor .investor-banner img { width: 100%; height: 280px; object-fit: cover; } .investor-title { position: absolute; top: 0; bottom: 0; left: 0; right: 0; text-align: center; display: flex; flex-direction: column; justify-content: center; color: var(--ys-color-white); font-size: 48px; font-weight: 500; line-height: 42px; } /* banner end */ /* 公司公告 start */ .investor .investor-news { margin-top: 80px; padding-bottom: 80px; } .investor .investor-news .investor-subtitle { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; } .investor .investor-news__more { text-decoration: none; color: var(--ys-color-primary); font-size: 16px; font-weight: normal; } .investor .investor-news__more:hover { color: var(--ys-color-strong); } .investor .investor-news__item { display: flex; align-items: center; text-decoration: none; color: var(--ys-color-text-000); padding: 20px 0; border-bottom: 1px solid var(--ys-color-text-700); } .investor .investor-news__item--empty { text-align: center; color: var(--ys-color-text-100); } .investor .investor-news__item--empty img { margin: 40px auto; } .investor .investor-news__item:hover { color: var(--ys-color-primary); } .investor .investor-news__list li:first-of-type .investor-news__item{ border-top: 1px solid var(--ys-color-text-700); } .investor .investor-new__left { display: flex; align-items: center; flex: 1; } .investor .investor-news__item time { color: var(--ys-color-text-100); } .investor .investor-news__item h4 { font-size: 18px; font-weight: normal; flex: 1; margin-left: 60px; padding-right: 60px; } .investor .investor-news__item .iconfont { font-size: 20px; font-weight: bold; } /* 公司公告 end */ /* 搜索 start */ .investor .investor-news__search { width: 380px; margin: 0 0 40px auto; display: flex; align-items: center; font-size: 14px; } .investor .investor-news__search input { border: 1px solid #dcdfe6; padding: 8px; display: block; flex: 1; } .investor .investor-news__search input:focus { outline: none; border-color: var(--ys-color-primary); } .investor .investor-news__search button { font-size: 14px; padding: 10px 18px; border: none; background-color: var(--ys-color-primary); color: var(--ys-color-white); } .investor .investor-news__search button:hover { opacity: 0.7; } /* 搜索 end */ /* 分页器 start */ .investor .c-pagination { margin-top: 40px; justify-content: end; } /* 分页器 end */ @media only screen and (max-width: 768px) { /* banner start */ .investor .investor-banner img { height: 218px; } /* banner end */ /* 公司公告 start */ .investor .investor-new__left { flex-direction: column; align-items: flex-start; } .investor .investor-news__item h4 { margin-left: 0; margin-top: 6px; font-size: 16px; } .investor .investor-news__item time { font-size: 14px; } /* 公司公告 end */ /* 分页器 start */ .investor .c-page-item { display: none; } /* 显示第一个和第二个元素 */ .investor .c-page-item:nth-child(-n + 2) { display: block; } .investor .c-page-item.active { display: block; } /* 显示倒数第一个和倒数第二个元素 */ .investor .c-page-item:nth-last-child(-n + 3) { display: block; } /* 分页器 end */ } @media only screen and (max-width: 540px) { .investor-title { font-size: 36px; padding: 0 var(--ys-page-padding); } .investor .c-pagination { flex-wrap: wrap; justify-content: flex-end; } .investor .c-page-sizes { margin-top: 10px; width: 100%; text-align: right; } .investor .c-pagination .c-page-selector { margin-left: 0; } } @media only screen and (max-width: 440px) { .investor-title { font-size: 30px; } .investor .investor-news__item h4 { padding-right: 20px; } .investor .investor-news__search { width: 100%; } .investor .investor-news__search input { width: 100%; } .investor .investor-news__search button { padding: 10px; flex: 1; max-width: 90px; } } @media only screen and (max-width: 375px) { .investor .investor-subtitle { font-size: 24px; } }.ys-footer-clean { --ys-content-width: 1300px; --ys-page-padding: calc((100% - var(--ys-content-width)) / 2); width: 100%; max-width: 100vw; /* overflow-x: hidden; Removed to prevent clipping of the dropdown menu */ box-sizing: border-box; background-color: #000000; padding: 40px 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #999; } @media only screen and (min-width: 1441px) { .ys-footer-clean { --ys-content-width: min(1320px, calc(100% - 120px)); --ys-page-padding: calc((100% - var(--ys-content-width)) / 2); } } @media only screen and (max-width: 1440px) { .ys-footer-clean { --ys-content-width: 1200px; --ys-page-padding: calc(50vw - 600px); } } @media only screen and (max-width: 1280px) { .ys-footer-clean { --ys-content-width: 1000px; } } @media only screen and (max-width: 1024px) { .ys-footer-clean { --ys-content-width: calc(100% - 40px); --ys-page-padding: 20px; } } @media only screen and (max-width: 768px) { .ys-footer-clean { --ys-content-width: calc(100% - 20px); --ys-page-padding: 10px; } } .ys-footer-clean .footer-container { width: var(--ys-content-width); margin: 0 auto; box-sizing: border-box; display: flex; justify-content: space-between; align-items: center; } .ys-footer-clean .footer-left { display: flex; flex-direction: column; gap: 20px; } .ys-footer-clean .footer-links { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; } .ys-footer-clean .footer-links a { color: #e0e0e0; text-decoration: none; font-size: 14px; transition: color 0.3s ease; } .ys-footer-clean .footer-links a:hover { color: #fff; } .ys-footer-clean .dropdown-link { position: relative; } .ys-footer-clean .dropdown-link .dropdown-trigger { display: inline-flex; align-items: center; } .ys-footer-clean .dropdown-link .dropdown-trigger .icon-short-arrow { display: inline-block; transform: rotate(90deg); font-size: 10px; margin-left: 4px; transition: transform 0.3s ease; } .ys-footer-clean .dropdown-link:hover .dropdown-trigger .icon-short-arrow { transform: rotate(-90deg); } .ys-footer-clean .dropdown-link:hover .dropdown-trigger { color: #4b55c4; /* Match the blue color */ } .ys-footer-clean .dropdown-menu { display: none; position: absolute; bottom: 100%; /* 向上弹出,因为是在页脚 */ left: -20px; background-color: #fff; min-width: 220px; list-style: none; padding: 10px 0; margin: 0 0 15px 0; border-radius: 4px; box-shadow: 0 2px 12px rgba(0,0,0,0.15); z-index: 9999; /* Increased z-index to ensure it sits above index/4 */ } /* 增加一个隐形的桥梁,填补菜单和触发按钮之间的空隙,防止鼠标移出 hover 区域 */ .ys-footer-clean .dropdown-menu::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 15px; /* 高度与 margin-bottom 保持一致 */ background: transparent; } .ys-footer-clean .dropdown-link:hover .dropdown-menu { display: block; } .ys-footer-clean .dropdown-menu li a { display: block; padding: 12px 20px; color: #333; font-size: 14px; transition: all 0.3s ease; } .ys-footer-clean .dropdown-menu li a:hover { background-color: #f9f9f9; color: #2b37b3; } .ys-footer-clean .footer-right { display: flex; align-items: center; justify-content: flex-end; } .ys-footer-clean .footer-logo { display: flex; flex-direction: column; align-items: center; /* 恢复居中对齐,通过宽度控制文字 */ background-color: #000000; /* 与 footer 背景一致的深色背景 */ padding: 10px; /* 增加一点内边距避免图片贴边,可根据需要调整 */ border-radius: 4px; /* 可选:一点圆角 */ } .ys-footer-clean .footer-logo img { max-width: 140px; /* 稍微缩小图片宽度以匹配文字感官 */ height: auto; object-fit: contain; } .ys-footer-clean .logo-text { color: #fff; font-size: 14px; font-weight: 300; display: flex; justify-content: space-between; width: 100%; max-width: 140px; /* 强制文字容器宽度与图片一致 */ padding: 0; margin: 0; } .ys-footer-clean .logo-text span { line-height: 1; display: inline-block; } .ys-footer-clean .copyright-text { color: #666; font-size: 12px; } /* 响应式调整 */ @media screen and (max-width: 768px) { .ys-footer-clean .footer-container { flex-direction: column; align-items: flex-start; gap: 30px; } .ys-footer-clean .footer-links { gap: 15px; } .ys-footer-clean .footer-links a { font-size: 13px; } } .ys-rightNav { --ys-right-nav-primary: #25272D; position: fixed; right: 20px; bottom: 90px; text-align: center; z-index: 99; font-size: 14px; line-height: 16px; } .ys-rightNav .service { background-color: var(--ys-right-nav-primary); padding: 10px 13px; width: 50px; color: var(--ys-color-white); box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1); cursor: pointer; margin-left: auto; } .ys-rightNav .service:hover { background-color: var(--ys-color-primary); } .ys-rightNav .service i { font-size: 24px; margin-bottom: 6px; } .ys-rightNav .service div::before { content: ''; display: block; height: 14px; width: 1px; background-color: var(--ys-color-white); margin: 7px auto; } .ys-rightNav .circle { position: relative; cursor: pointer; display: block; text-decoration: none; margin-top: 1px; } .ys-rightNav .circle-icon { width: 50px; height: 50px; padding: 17px 12px 12px; background: var(--ys-color-primary); margin-left: auto; } .ys-rightNav .circle i { font-size: 24px; color: var(--ys-color-white); } .ys-rightNav .circle-header { display: flex; align-items: center; } .ys-rightNav .circle .text-cover { /* position: absolute; */ width: 0; height: 50px; overflow: hidden; background-color: var(--ys-right-nav-primary); color: var(--ys-color-white); text-align: left; transition: all .2s; transform-origin: center; /* transform: scale(0); */ } .ys-rightNav .circle .text-cover span { padding: 18px 20px; display: block; white-space: nowrap; } .ys-rightNav .circle:hover .text-cover { width: 167px; } .ys-rightNav #backTop { display: none; } .ys-rightNav #backTop i { display: block; } .ys-rightNav .code-cover { width: 217px; height: fit-content; margin: auto; transform-origin: right; z-index: 2; text-align: left; } .ys-rightNav .code-cover-box { width: 0; overflow: hidden; position: absolute; right: 0; top: 50px; background: var(--ys-color-white); transition: width .2s; z-index: 2; box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.10); } .ys-rightNav .circle:hover .code-cover-box { width: 100%; } .ys-rightNav .code-cover-box.code-cover-box--reserve { top: auto; bottom: 50px; } .ys-rightNav .code-cover.code-cover--contact { padding: 25px 20px; } .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: flex; align-items: center; text-decoration: none; font-size: 14px; white-space: nowrap; color: var(--ys-color-text-000); } .ys-rightNav .code-cover .code-row + .code-row { margin-top: 22px; } .ys-rightNav .code-row a { text-decoration: none; color: var(--ys-color-text-000); } .ys-rightNav .code-row i { font-size: 16px; color: var(--ys-color-text-000); margin-right: 14px; } #newBridge .nb-icon-wrap { display: none; } @media only screen and (max-width: 768px) { .ys-rightNav { right: 10px; } .ys-rightNav .service { height: 50px; padding: 16px 13px; } .ys-rightNav .service div { display: none; } }