/* 快捷导航 start */ .ys-header-shortcut { position: relative; z-index: 101; display: flex; justify-content: space-between; align-items: center; padding: 0 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 a { font-weight: bold; } .ys-header-shortcut .ys-header-shortcut__list:last-of-type{ margin-left: auto; } .ys-header-shortcut .ys-header-shortcut__item, .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.no-space { margin-right: 0; } .ys-header-shortcut .ys-header-shortcut__link:hover { color: var(--ys-color-primary); } .ys-header-shortcut .ys-header-shortcut__tel { 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 a { text-decoration: none; color: var(--ys-color-strong); display: block; } .ys-header-shortcut .ys-header-shortcut__tel .iconfont { font-size: 14px; font-weight: normal; color: var(--ys-color-strong); } .ys-header-shortcut .ys-header-shortcut__company { margin-right: 0; } .ys-header-shortcut .ys-header-shortcut__company::after { content: '|'; padding: 0 8px; } .ys-header-shortcut .ys-header-shortcut__server { font-size: 12px; padding-left: 10px; display: flex; align-items: center; } .ys-header-shortcut .ys-header-shortcut__server span { display: flex; align-items: center; margin-left: 6px; cursor: pointer; padding: 5px 4px; height: 100%; } .ys-header-shortcut .ys-header-shortcut__server span:hover { background-color: var(--ys-color-background-200); color: var(--ys-color-primary); } .ys-header-shortcut .ys-header-shortcut__server .iconfont { padding-right: 5px; } /* 快捷导航 end */ .ys-header { transition: all 0.2s; position: relative; z-index: 100; } .ys-header.is-sticky { position: sticky; top: 0; } .ys-header .ys-header-nav { height: 72px; display: flex; width: 100%; 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: 670px; width: 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.relative { position: relative; } .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:hover .nav-one, .ys-header__nav .nav-one:hover, .ys-header__nav .nav-one: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-one: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; } .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 0.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); } .nav-item.normal .ys-header__card.show { transform: scaleY(1) translateX(-50%); } .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; } .ys-header__card::-webkit-scrollbar { width: 7px; height: 7px; background-color: var(--ys-color-background-100); } .ys-header__card::-webkit-scrollbar-thumb { border-radius: 5px; background-color: #999; } /* 悬停卡片 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, .ys-header__service, .ys-header__about { padding: 6px 0; box-shadow:none; width: 150px; left: auto; text-align: center; left: 50%; transform: scaleY(0) translateX(-50%); box-shadow: 0px 4px 12px rgba(51, 51, 51, 0.2); } .ys-header__case { width: 210px; } .ys-header__case .case-item, .ys-header__service .content-item, .ys-header__about .about-item { padding: 10px; display: block; text-decoration: none; } .ys-header__case .case-item:not(:last-of-type), .ys-header__service .content-item:not(:last-of-type), .ys-header__about .about-item:not(:last-of-type) { border-bottom: 1px solid var(--ys-color-text-700); } .ys-header__case .case-item:hover .case-title, .ys-header__service .content-item:hover .content-title, .ys-header__about .about-item:hover .about-title { color: var(--ys-color-primary); } .ys-header__case .case-title, .ys-header__service .content-title, .ys-header__about .about-title { text-decoration: none; display: block; overflow: hidden; font-size: 14px; color: var(--ys-color-text-000); } /* 解决方案/内容与服务/关于我们 end */ /* 产品弹窗 start */ .ys-header__card.ys-header__product { 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: 0; } .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: 4px; background-color: rgba(190, 190, 190, 0.6); } .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: 350px; /* 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 */ @media only screen and (max-width: 1500px) { .ys-header__nav { max-width: 620px; } } @media only screen and (max-width: 1280px) { .ys-header__nav { max-width: 58%; } .ys-header__nav .nav-one { font-size: 16px; } } @media only screen and (max-height: 600px) { .ys-header__product .product-child, .ys-header__product .product-wrap { max-height: calc(92vh - var(--ys-header-top)); } }.ys-agreement { padding-top: 20px; background-color: var(--ys-color-background); } .ys-agreement .agreement-box { width: 1300px; margin: auto; min-height: calc(100vh - 106px); }