You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2043 lines
53 KiB
2043 lines
53 KiB
@charset "UTF-8";:root {
|
|
--p-x:9.0625rem;
|
|
--color-white: #ffffff;
|
|
--color-text: #2e353a;
|
|
--color-text-muted: rgba(102, 102, 102, 1);
|
|
--color-text-link: #AFB5B9;
|
|
--color-text-light: rgba(102, 102, 102, 1);
|
|
/* 主题红 */
|
|
--color-primary: #ef4335;
|
|
--color-primary-hover: #d93b2e;
|
|
/* 兼容旧组件变量名 */
|
|
--color-orange: var(--color-primary);
|
|
--color-orange-hover: var(--color-primary-hover);
|
|
--color-orange-10: rgba(239, 67, 53, 0.08);
|
|
--color-bg-module: #f7f8fe;
|
|
--color-footer-bg: #2e353a;
|
|
--color-blue-80: var(--color-text);
|
|
--color-blue-30: rgba(46, 53, 58, 0.1);
|
|
--color-secondary-hover: var(--color-primary-hover);
|
|
--color-gold: var(--color-primary);
|
|
--header-m-h: 4rem;
|
|
--header-m-py: 0.75rem;
|
|
--header-m-btn: 1.5rem;
|
|
--header-m-btn-svg: 1.5rem;
|
|
/* 头部高度 */
|
|
--header-h: 5.5rem;
|
|
/* 头部顶部高度 */
|
|
--header-t-h: 2.75rem;
|
|
|
|
/* 过渡动画时长 */
|
|
--duration-fast: 0.25s; /* 颜色/背景/边框 */
|
|
--duration-normal: 0.3s; /* 变换/位移/透明度/展开收起 */
|
|
--duration-slow: 0.4s; /* 轮播/大幅位移 */
|
|
--easing: ease; /* 缓动函数 */
|
|
}/* max-width 从大到小写 *//* 1680–1919:比 1920 稿略窄,边距收到 100 */@media (max-width: 1919px) {
|
|
:root {
|
|
--p-x: 100Px;
|
|
}
|
|
}/* 1440–1679:PC 最小档,边距 80 */@media (max-width: 1679px) {
|
|
:root {
|
|
--p-x: 80Px;
|
|
}
|
|
}/* 平板 / 低于 PC 最小宽度 1440 */@media (max-width: 1439px) {
|
|
:root {
|
|
--p-x: 40Px;
|
|
--header-h: var(--header-m-h);
|
|
}
|
|
}/* <= 576px 手机 */@media (max-width: 576px) {
|
|
:root {
|
|
--p-x: 20Px;
|
|
}
|
|
}:root {
|
|
--font-12: 1rem;
|
|
--font-13: 1rem;
|
|
--font-14: 1rem;
|
|
--font-15: 1rem;
|
|
--font-16: 1rem;
|
|
--font-17: 1.0625rem;
|
|
--font-18: 1.125rem;
|
|
--font-19: 1.1875rem;
|
|
--font-20: 1.25rem;
|
|
--font-21: 1.3125rem;
|
|
--font-22: 1.375rem;
|
|
--font-23: 1.4375rem;
|
|
--font-24: 1.5rem;
|
|
--font-25: 1.5625rem;
|
|
--font-26: 1.625rem;
|
|
--font-27: 1.6875rem;
|
|
--font-28: 1.75rem;
|
|
--font-29: 1.8125rem;
|
|
--font-30: 1.875rem;
|
|
--font-31: 1.9375rem;
|
|
--font-32: 2rem;
|
|
--font-33: 2.0625rem;
|
|
--font-34: 2.125rem;
|
|
--font-35: 2.1875rem;
|
|
--font-36: 2.25rem;
|
|
--font-37: 2.3125rem;
|
|
--font-38: 2.375rem;
|
|
--font-39: 2.4375rem;
|
|
--font-40: 2.5rem;
|
|
--font-41: 2.5625rem;
|
|
--font-42: 2.625rem;
|
|
--font-43: 2.6875rem;
|
|
--font-44: 2.75rem;
|
|
--font-45: 2.8125rem;
|
|
--font-46: 2.875rem;
|
|
--font-47: 2.9375rem;
|
|
--font-48: 3rem;
|
|
--font-49: 3.0625rem;
|
|
--font-50: 3.125rem;
|
|
--font-51: 3.1875rem;
|
|
--font-52: 3.25rem;
|
|
--font-53: 3.3125rem;
|
|
--font-54: 3.375rem;
|
|
--font-55: 3.4375rem;
|
|
--font-56: 3.5rem;
|
|
--font-57: 3.5625rem;
|
|
--font-58: 3.625rem;
|
|
--font-59: 3.6875rem;
|
|
--font-60: 3.75rem;
|
|
--font-61: 3.8125rem;
|
|
--font-62: 3.875rem;
|
|
--font-63: 3.9375rem;
|
|
--font-64: 4rem;
|
|
--font-65: 4.0625rem;
|
|
--font-66: 4.125rem;
|
|
--font-67: 4.1875rem;
|
|
--font-68: 4.25rem;
|
|
--font-69: 4.3125rem;
|
|
--font-70: 4.375rem;
|
|
--font-71: 4.4375rem;
|
|
--font-72: 4.5rem;
|
|
--font-73: 4.5625rem;
|
|
--font-74: 4.625rem;
|
|
--font-75: 4.6875rem;
|
|
--font-76: 4.75rem;
|
|
--font-77: 4.8125rem;
|
|
--font-78: 4.875rem;
|
|
--font-79: 4.9375rem;
|
|
--font-80: 5rem;
|
|
}/* 手机:
|
|
14及以下==> 12px
|
|
16及以下==> 14px
|
|
20及以下==> 16Px
|
|
24及以下==> 18px
|
|
28及以下==> 20px
|
|
32及以下==> 22px
|
|
36及以下==> 24px
|
|
40及以下==> 26px
|
|
44及以下==> 28px
|
|
48及以下==> 30px
|
|
52及以下==> 32px
|
|
56及以下==> 34px
|
|
60及以下==> 36px
|
|
64及以下==> 38px
|
|
68及以下==> 40px
|
|
72及以下==> 42px
|
|
76及以下==> 44px
|
|
80及以下==> 46px
|
|
*/@media (max-width: 576px) {
|
|
:root {
|
|
/* 12px */
|
|
--font-10: 14Px;
|
|
--font-11: 14Px;
|
|
--font-12: 14Px;
|
|
--font-13: 14Px;
|
|
--font-14: 14Px;
|
|
/* 14px */
|
|
--font-15: 14Px;
|
|
--font-16: 14Px;
|
|
/* 16Px */
|
|
--font-17: 16Px;
|
|
--font-18: 16Px;
|
|
--font-19: 16Px;
|
|
--font-20: 16Px;
|
|
/* 18px */
|
|
--font-21: 18Px;
|
|
--font-22: 18Px;
|
|
--font-23: 18Px;
|
|
--font-24: 18Px;
|
|
/* 20px */
|
|
--font-25: 20Px;
|
|
--font-26: 20Px;
|
|
--font-27: 20Px;
|
|
--font-28: 20Px;
|
|
/* 22px */
|
|
--font-29: 22Px;
|
|
--font-30: 22Px;
|
|
--font-31: 22Px;
|
|
--font-32: 22Px;
|
|
/* 24px */
|
|
--font-33: 24Px;
|
|
--font-34: 24Px;
|
|
--font-35: 24Px;
|
|
--font-36: 24Px;
|
|
/* 26px */
|
|
--font-37: 26Px;
|
|
--font-38: 26Px;
|
|
--font-39: 26Px;
|
|
--font-40: 26Px;
|
|
/* 28px */
|
|
--font-41: 26Px;
|
|
--font-42: 26Px;
|
|
--font-43: 28Px;
|
|
--font-44: 28Px;
|
|
/* 30px */
|
|
--font-45: 30Px;
|
|
--font-46: 30Px;
|
|
--font-47: 30Px;
|
|
--font-48: 30Px;
|
|
/* 32px */
|
|
--font-49: 32Px;
|
|
--font-50: 32Px;
|
|
--font-51: 32Px;
|
|
--font-52: 32Px;
|
|
/* 34px */
|
|
--font-53: 34Px;
|
|
--font-54: 34Px;
|
|
--font-55: 34Px;
|
|
--font-56: 34Px;
|
|
/* 36px */
|
|
--font-57: 36Px;
|
|
--font-58: 36Px;
|
|
--font-59: 36Px;
|
|
--font-60: 36Px;
|
|
/* 38px */
|
|
--font-61: 38Px;
|
|
--font-62: 38Px;
|
|
--font-63: 38Px;
|
|
--font-64: 38Px;
|
|
/* 40px */
|
|
--font-65: 40Px;
|
|
--font-66: 40Px;
|
|
--font-67: 40Px;
|
|
--font-68: 40Px;
|
|
/* 42px */
|
|
--font-69: 42Px;
|
|
--font-70: 42Px;
|
|
--font-71: 42Px;
|
|
--font-72: 42Px;
|
|
/* 44px */
|
|
--font-73: 44Px;
|
|
--font-74: 44Px;
|
|
--font-75: 44Px;
|
|
--font-76: 44Px;
|
|
/* 46px */
|
|
--font-77: 46Px;
|
|
--font-78: 46Px;
|
|
--font-79: 46Px;
|
|
--font-80: 46Px;
|
|
}
|
|
}@font-face {
|
|
font-family: 'D-DIN-PRO';
|
|
src: url('../fonts/D-DIN-PRO-400-Regular-CbJSDVu2.otf') format("opentype");
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: 'D-DIN-PRO';
|
|
src: url('../fonts/D-DIN-PRO-500-Medium-DPN-gY68.otf') format("opentype");
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: 'D-DIN-PRO';
|
|
src: url('../fonts/D-DIN-PRO-600-SemiBold-DXnDJEQd.otf') format("opentype");
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: 'D-DIN-PRO';
|
|
src: url('../fonts/D-DIN-PRO-700-Bold-WWlV1fXR.otf') format("opentype");
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: 'D-DIN-PRO';
|
|
src: url('../fonts/D-DIN-PRO-800-ExtraBold-Dzo8XGHI.otf') format("opentype");
|
|
font-weight: 800;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: 'D-DIN-PRO';
|
|
src: url('../fonts/D-DIN-PRO-900-Heavy-CcGOV6O3.otf') format("opentype");
|
|
font-weight: 900;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: "PingFang SC";
|
|
src: url("../fonts/PFDinTextPro-Medium-BcfGjLHx.ttf") format("truetype");
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: "PingFang SC";
|
|
src: url("../fonts/PFDinTextPro-Medium-BcfGjLHx.ttf") format("truetype");
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: "PingFang SC";
|
|
src: url("../fonts/PFDinTextPro-Bold-F7OVdohK.ttf") format("truetype");
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: "PingFang SC";
|
|
src: url("../fonts/PFDinTextPro-Bold-F7OVdohK.ttf") format("truetype");
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
}/* @font-face {
|
|
font-family: "MiSans VF";
|
|
src: url("../assets/fonts/MiSans-VF.woff2") format("truetype");
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
} */@font-face {
|
|
font-family: "MiSans VF";
|
|
src: url("../fonts/MiSans-VF-DESbBZLB.ttf") format("truetype");
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}@font-face {
|
|
font-family: "Aldrich";
|
|
src: url("../fonts/Aldrich-Regular-CZNgUhqU.ttf") format("truetype");
|
|
font-weight: 400;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}html,
|
|
body {
|
|
width: 100%;
|
|
height: 100%;
|
|
}html {
|
|
font-size: 16Px;
|
|
scrollbar-gutter: stable;
|
|
}
|
|
/* 覆盖 Lenis 默认 overflow:clip,尽量保住滚动条 */
|
|
html.lenis.lenis-stopped {
|
|
overflow: auto !important;
|
|
}
|
|
/* 若滚动条仍消失:只收窄 fixed 头部,不改内容区宽度 */
|
|
html.is-scroll-locked .site-header {
|
|
width: auto;
|
|
right: var(--scroll-lock-compensation, 0px);
|
|
}
|
|
body {
|
|
overflow-x: hidden;
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
color: var(--color-text);
|
|
}button{
|
|
border: none;
|
|
outline: none;
|
|
background: none;
|
|
cursor: pointer;
|
|
}a {
|
|
text-decoration: none;
|
|
}i{
|
|
font-style: normal;
|
|
}ul,p,h1,h2,h3,h4,h5,h6{
|
|
margin: 0;
|
|
padding: 0;
|
|
}li {
|
|
list-style: none;
|
|
}/* 双层渐变边框不变;--btn-fill + @property 使填充色可 transition */@property --btn-fill {
|
|
syntax: "<color>";
|
|
inherits: false;
|
|
initial-value: rgba(234, 85, 32, 1);
|
|
}.arrow-right {
|
|
width: 0.9375rem;
|
|
height: 0.75rem;
|
|
}.s-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 12.5rem;
|
|
min-height: 3.75rem;
|
|
gap: 1.875rem;
|
|
border-radius: 0.5rem;
|
|
color: var(--color-white);
|
|
font-family: "OPPO Sans 4.0";
|
|
font-style: Regular;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
text-transform: capitalize;
|
|
border: 1px solid transparent;
|
|
white-space: nowrap;
|
|
user-select: none;
|
|
transition:
|
|
color var(--duration-normal) var(--easing),
|
|
opacity var(--duration-normal) var(--easing),
|
|
transform var(--duration-normal) var(--easing),
|
|
box-shadow var(--duration-normal) var(--easing);
|
|
|
|
&.large {
|
|
width: 12.875rem;
|
|
height: 3.5rem;
|
|
border-radius: 1.25rem;
|
|
padding: 0;
|
|
}
|
|
&.disabled {
|
|
background: #cdcdcd;
|
|
cursor: not-allowed;
|
|
}
|
|
&.hidden {
|
|
visibility: hidden;
|
|
}
|
|
}.s-btn__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}/* 渐变边框+hover背景变色 */.s-btn--primary {
|
|
background:var(--color-primary);
|
|
}.s-btn--primary:hover {
|
|
opacity: 0.9;
|
|
}.s-btn--secondary {
|
|
background-color:var(--color-blue-30);
|
|
}.s-btn--outline {
|
|
background: transparent;
|
|
border: 1px solid var(--color-white);
|
|
color: var(--color-white);
|
|
transition:
|
|
color var(--duration-normal) var(--easing),
|
|
background var(--duration-normal) var(--easing),
|
|
border-color var(--duration-normal) var(--easing);
|
|
}.s-btn--outline:hover {
|
|
background: var(--color-white);
|
|
color: var(--color-orange);
|
|
}/* 白底红字,深色背景上使用 */.s-btn--light {
|
|
background: var(--color-white);
|
|
color: var(--color-primary);
|
|
}.s-btn--light:hover {
|
|
opacity: 0.9;
|
|
}.s-btn--pill {
|
|
border-radius: 1.875rem;
|
|
min-height: 3.5rem;
|
|
height: 3.5rem;
|
|
}/* 按钮箭头 */.s-btn svg {
|
|
width: 13Px;
|
|
height: 10Px;
|
|
}/* 按钮小圆点 */.s-btn .btn__dot {
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
border-radius: 50%;
|
|
background: var(--color-white);
|
|
}/* 下划线 start */.hover_underline::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: -0.375rem;
|
|
width: 100%;
|
|
height: 0.125rem;
|
|
background: var(--color-orange);
|
|
/* 用 3D 缩放固定 Y=1,避免收起时抗锯齿看起来“变细” */
|
|
transform: scale3d(0, 1, 1);
|
|
transform-origin: center;
|
|
will-change: transform;
|
|
transition: transform var(--duration-normal) var(--easing);
|
|
}.hover_underline.is-active::after {
|
|
transform: scale3d(1, 1, 1);
|
|
}.hover_underline:hover::after {
|
|
transform: scale3d(1, 1, 1);
|
|
}/* 下划线 end *//* 文字跑马灯 */.marquee {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
|
|
.track {
|
|
display: inline-block;
|
|
white-space: nowrap;
|
|
animation: scroll 20s linear infinite;
|
|
}
|
|
|
|
.track span {
|
|
margin-right: 3.125rem;
|
|
}
|
|
}@keyframes scroll {
|
|
0% {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(-50%);
|
|
}
|
|
}/* 文字跑马灯 *//* 毛玻璃卡片 */.glass-card {
|
|
--c-glass: rgba(196, 196, 196, 0.2);
|
|
--c-light: #fff;
|
|
--saturation: 100%;
|
|
--left: 0.125rem;
|
|
--right: -0.1125rem;
|
|
border: none;
|
|
background-color: color-mix(in srgb, var(--c-glass) 20%, transparent);
|
|
backdrop-filter: blur(0.3125rem) saturate(var(--saturation));
|
|
box-shadow:
|
|
inset 0 0 0 0.125rem color-mix(in srgb, var(--c-light) 10%, transparent),
|
|
inset var(--left) var(--left) 0.125rem -0.125rem color-mix(in srgb, var(--c-light) 90%, transparent),
|
|
inset var(--right) var(--right) 0.125rem -0.125rem color-mix(in srgb, var(--c-light) 80%, transparent);
|
|
}.glass-card2 {
|
|
display: block;
|
|
background: linear-gradient(135deg,
|
|
rgba(230, 230, 230, 1) 0%,
|
|
rgba(246, 246, 246, 1) 100%);
|
|
box-shadow:
|
|
-0.25rem -0.25rem 0.625rem -0.5rem rgba(255, 255, 255, 1),
|
|
0.25rem 0.25rem 0.625rem -0.5rem rgba(0, 0, 0, 0.3);
|
|
}/* slide-btn */.slide-btn {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
border: none;
|
|
cursor: pointer;
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
}.slide-btn:hover img {
|
|
filter: invert(1);
|
|
}/* 所有的内页的公共样式 */.section__wrap {
|
|
padding-left: var(--p-x);
|
|
padding-right: var(--p-x);
|
|
}/* 内页搜索框(下载中心样式) */.s-search {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
flex-shrink: 0;
|
|
width: min(30rem, 100%);
|
|
min-height: 3.5rem;
|
|
padding: 0.5rem 0.5rem 0.5rem 1.25rem;
|
|
border-radius: 6.25rem;
|
|
border: 1px solid rgba(223, 224, 226, 1);
|
|
background: transparent;
|
|
}.s-search__icon {
|
|
display: block;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
flex-shrink: 0;
|
|
}.s-search__input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 2.5rem;
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: var(--font-22);
|
|
outline: none;
|
|
}.s-search__input::placeholder {
|
|
color: rgba(175, 181, 185, 1);
|
|
}.s-search__btn {
|
|
flex-shrink: 0;
|
|
min-width: 4.5rem;
|
|
height: 2.5rem;
|
|
padding: 0 1.25rem;
|
|
border: 0;
|
|
border-radius: 3.125rem;
|
|
background: var(--color-primary);
|
|
color: var(--color-white);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
transition: background var(--duration-fast) var(--easing);
|
|
}.s-search__btn:hover {
|
|
background: var(--color-primary-hover);
|
|
}/* 轮播左右箭头(产品相关 / 发展历程等) */.s-arrows {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}.s-arrows__prev,
|
|
.s-arrows__next {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 3.5rem;
|
|
height: 3.5rem;
|
|
padding: 0;
|
|
border: 1px solid rgba(223, 224, 226, 1);
|
|
border-radius: 0.75rem;
|
|
background: var(--color-white);
|
|
color: rgba(175, 181, 185, 1);
|
|
cursor: pointer;
|
|
transition:
|
|
color var(--duration-fast) var(--easing),
|
|
border-color var(--duration-fast) var(--easing),
|
|
opacity var(--duration-fast) var(--easing);
|
|
}.s-arrows__prev svg,
|
|
.s-arrows__next svg {
|
|
width: 1rem;
|
|
height: 0.875rem;
|
|
display: block;
|
|
}.s-arrows__prev path,
|
|
.s-arrows__next path {
|
|
fill: currentColor;
|
|
}.s-arrows__prev:hover,
|
|
.s-arrows__next:hover {
|
|
color: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
}.s-arrows__prev.swiper-button-disabled,
|
|
.s-arrows__next.swiper-button-disabled {
|
|
opacity: 0.35;
|
|
cursor: not-allowed;
|
|
}.s-arrows__prev {
|
|
transform: scaleX(-1);
|
|
}.s-arrows__next {
|
|
color: var(--color-primary);
|
|
border-color: var(--color-primary);
|
|
}@media (max-width: 1439px) {
|
|
.s-search {
|
|
width: min(360Px, 100%);
|
|
}
|
|
}@media (max-width: 992px) {
|
|
.s-search {
|
|
width: 100%;
|
|
}
|
|
}@media (max-width: 576px) {
|
|
.s-search {
|
|
min-height: 44Px;
|
|
padding: 4Px 4Px 4Px 14Px;
|
|
}
|
|
|
|
.s-search__input {
|
|
font-size: 14Px;
|
|
}
|
|
|
|
.s-search__btn {
|
|
min-width: 64Px;
|
|
height: 36Px;
|
|
padding: 0 16Px;
|
|
font-size: 14Px;
|
|
}
|
|
|
|
.s-arrows__prev,
|
|
.s-arrows__next {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
}
|
|
|
|
br {
|
|
display: none;
|
|
}
|
|
}.section-inner {
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
}.section__banner {
|
|
height: 100vh;
|
|
display: flex;
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
position: relative;
|
|
|
|
|
|
.section__banner__inner {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
}
|
|
|
|
.section__banner__header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 3.125rem;
|
|
}
|
|
|
|
/* banner 标题 */
|
|
.section__banner__title {
|
|
color: var(--color-white);
|
|
font-family: "Douyin Sans";
|
|
font-style: Bold;
|
|
font-size: var(--font-56);
|
|
font-weight: 700;
|
|
line-height: var(--font-66);
|
|
letter-spacing: 0rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section__banner__sub {
|
|
color: var(--color-white);
|
|
font-family: "Douyin Sans";
|
|
font-style: Medium;
|
|
font-size: var(--font-36);
|
|
font-weight: 500;
|
|
line-height: var(--font-43);
|
|
letter-spacing: 0rem;
|
|
}
|
|
}.section__banner__desc {
|
|
color: rgba(255, 255, 255, 1);
|
|
font-family: "OPPO Sans 4.0";
|
|
font-style: Medium;
|
|
font-size: var(--font-24);
|
|
font-weight: 500;
|
|
line-height: var(--font-36);
|
|
letter-spacing: 0px;
|
|
text-align: left;
|
|
text-transform: uppercase;
|
|
}/* banner 标题2 */.banner__header2 {
|
|
margin-bottom: 3.125rem;
|
|
}.banner__title2 {
|
|
color: var(--color-white);
|
|
font-family: "Douyin Sans";
|
|
font-style: Bold;
|
|
font-size: var(--font-64);
|
|
font-weight: 700;
|
|
line-height: var(--font-77);
|
|
letter-spacing: 0px;
|
|
text-align: left;
|
|
margin-bottom: 0.875rem;
|
|
}.banner__sub2 {
|
|
color: var(--color-white);
|
|
font-family: "D-DIN-PRO";
|
|
font-style: Medium;
|
|
font-size: var(--font-18);
|
|
font-weight: 500;
|
|
line-height: var(--font-24);
|
|
letter-spacing: 0px;
|
|
text-align: left;
|
|
}.section__header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin-bottom: 3.125rem;
|
|
align-items: center;
|
|
}/* 模块眉题 / 主标题 / 描述 */.section__eyebrow {
|
|
margin-bottom: 0.5rem;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 400;
|
|
line-height: var(--font-28);
|
|
}.section__title {
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-48);
|
|
font-weight: 400;
|
|
line-height: var(--font-64);
|
|
text-align: left;
|
|
text-transform: none;
|
|
}.section__title--hero {
|
|
margin-bottom: 1.125rem;
|
|
font-size: var(--font-60);
|
|
font-weight: 500;
|
|
line-height: var(--font-80);
|
|
}.section__title__sub {
|
|
color: #333;
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 500;
|
|
line-height: var(--font-24);
|
|
letter-spacing: 0px;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
}.section__desc {
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 400;
|
|
line-height: var(--font-28);
|
|
}/* 左图右文,间距100 */.section__img_text {
|
|
padding: 8.125rem 16.25rem 6.25rem;
|
|
|
|
.section__inner {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6.25rem;
|
|
|
|
.section__left {
|
|
width: 50%;
|
|
height: 31.25rem;
|
|
border-radius: 2.5rem;
|
|
overflow: hidden;
|
|
|
|
img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
.section__right {
|
|
flex: 1;
|
|
|
|
.section__desc:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
}/* 时间轴组件 tab切换*/.timeline__tabs {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0;
|
|
|
|
.timeline__tab {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
user-select: none;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
|
|
&.active {
|
|
.dot {
|
|
background-color: var(--color-primary);
|
|
}
|
|
}
|
|
}
|
|
|
|
.line-dot {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-top: 1rem;
|
|
|
|
&::after,
|
|
&::before {
|
|
content: "";
|
|
display: block;
|
|
flex: 1;
|
|
height: 0.0625rem;
|
|
background-color: #b5b5b5;
|
|
}
|
|
|
|
.dot {
|
|
width: 1.25rem;
|
|
height: 1.25rem;
|
|
border-radius: 50%;
|
|
border: 0.25rem solid #f4f3f3;
|
|
background-color: #b5b5b5;
|
|
}
|
|
}
|
|
}/* 产品卡片:图 + 标题 + 箭头(分类 / 相关产品 / 解决方案等) */.s-product-card {
|
|
min-width: 0;
|
|
height: auto;
|
|
}.s-product-card__link {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
height: 100%;
|
|
padding: 2.5rem;
|
|
border-radius: 1.25rem;
|
|
background: rgba(175, 181, 185, 0.15);
|
|
text-decoration: none;
|
|
color: inherit;
|
|
transition: background var(--duration-normal) var(--easing);
|
|
}.s-product-card__link:hover {
|
|
background: rgba(175, 181, 185, 0.22);
|
|
}.s-product-card__media {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
overflow: hidden;
|
|
}.s-product-card__media img {
|
|
display: block;
|
|
width: auto;
|
|
max-width: 100%;
|
|
max-height: 100%;
|
|
object-fit: contain;
|
|
transition: transform var(--duration-normal) var(--easing);
|
|
}.s-product-card__link:hover .s-product-card__media img {
|
|
transform: scale(1.1);
|
|
}.s-product-card__foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
padding-top: 1.5rem;
|
|
border-top: 1px solid rgba(46, 53, 58, 0.1);
|
|
transition: border-color var(--duration-fast) var(--easing);
|
|
}.s-product-card__link:hover .s-product-card__foot {
|
|
border-top-color: var(--color-primary);
|
|
}.s-product-card__name {
|
|
margin: 0;
|
|
flex: 1;
|
|
min-width: 0;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 500;
|
|
line-height: var(--font-27);
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.s-product-card__link:hover .s-product-card__name {
|
|
color: var(--color-primary);
|
|
}.s-product-card__arrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 2.5rem;
|
|
height: 2.5rem;
|
|
flex-shrink: 0;
|
|
border-radius: 50%;
|
|
color: var(--color-text-muted);
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.s-product-card__link:hover .s-product-card__arrow {
|
|
color: var(--color-primary);
|
|
}.s-product-card__arrow img,
|
|
.s-product-card__arrow svg {
|
|
display: block;
|
|
width: 0.75rem;
|
|
height: auto;
|
|
}.s-product-card__arrow path {
|
|
fill: currentColor;
|
|
}@media (max-width: 1439px) {
|
|
.s-product-card__link {
|
|
padding: 28Px;
|
|
border-radius: 16Px;
|
|
}
|
|
|
|
.s-product-card__foot {
|
|
padding-top: 20Px;
|
|
}
|
|
|
|
.s-product-card__name {
|
|
font-size: 18Px;
|
|
line-height: 24Px;
|
|
}
|
|
}/* card卡片 img+title+desc*/.s-card {
|
|
border-radius: 1.5rem;
|
|
background: var(--color-white);
|
|
padding: 1.25rem;
|
|
overflow: hidden;
|
|
padding-bottom: 2.1875rem;
|
|
|
|
.s-card__img {
|
|
border-radius: 1rem;
|
|
width: 100%;
|
|
height: 12.875rem;
|
|
margin-bottom: 1.125rem;
|
|
}
|
|
|
|
.s-card__title {
|
|
color: rgba(0, 0, 0, 1);
|
|
font-family: "OPPO Sans 4.0";
|
|
font-style: Medium;
|
|
font-size: var(--font-22);
|
|
font-weight: 500;
|
|
line-height: var(--font-26);
|
|
letter-spacing: 0rem;
|
|
text-align: justify;
|
|
margin-bottom: 1.125rem;
|
|
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.s-card__sub-title {
|
|
color: rgba(131, 131, 131, 1);
|
|
font-family: "OPPO Sans 4.0";
|
|
font-style: Light;
|
|
font-size: var(--font-16);
|
|
font-weight: 300;
|
|
line-height: var(--font-18);
|
|
letter-spacing: 0rem;
|
|
text-align: justify;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.s-card__desc {
|
|
color: rgba(102, 102, 102, 1);
|
|
font-family: "OPPO Sans 4.0";
|
|
font-style: Regular;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-26);
|
|
letter-spacing: 0rem;
|
|
text-align: justify;
|
|
|
|
min-height: calc(var(--font-26) * 3);
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 3;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
}@media (max-width: 1439px) {
|
|
.section__title {
|
|
font-size: 36Px;
|
|
line-height: 48Px;
|
|
}
|
|
|
|
.section__title--hero {
|
|
font-size: 40Px;
|
|
line-height: 52Px;
|
|
}
|
|
}@media (max-width: 576px) {
|
|
.section__header {
|
|
.section__title {
|
|
font-size: 28Px!important;
|
|
line-height: 34Px!important;
|
|
}
|
|
|
|
.section__title__sub {
|
|
font-size: 16Px;
|
|
line-height: 24Px;
|
|
}
|
|
}
|
|
|
|
.section__eyebrow {
|
|
font-size: 16Px;
|
|
line-height: 22Px;
|
|
}
|
|
|
|
.section__title {
|
|
font-size: 28Px!important;
|
|
line-height: 34Px!important;
|
|
}
|
|
|
|
.section__title--hero {
|
|
margin-bottom: 12Px;
|
|
font-size: 32Px;
|
|
line-height: 42Px;
|
|
}
|
|
|
|
.section__desc {
|
|
max-width: 100%;
|
|
font-size: 16Px;
|
|
line-height: 24Px;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.s-btn {
|
|
min-width: 160Px;
|
|
min-height: 48Px;
|
|
}
|
|
|
|
.section__banner {
|
|
height: 50vh;
|
|
.section__banner__title {
|
|
font-size: 32Px;
|
|
line-height: 40Px;
|
|
margin-bottom: 16Px;
|
|
}
|
|
|
|
.section__banner__sub, .section__banner__desc {
|
|
font-size: 16Px;
|
|
line-height: 24Px;
|
|
}
|
|
}
|
|
}.pc-none{
|
|
display: none!important;
|
|
}@media (max-width: 1439px) {
|
|
.pc-none{
|
|
display: flex!important;
|
|
}
|
|
.m-none{
|
|
display: none;
|
|
}
|
|
}.site-header {
|
|
width: 100%;
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 100;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: visible;
|
|
color: var(--color-white);
|
|
background: transparent;
|
|
transition: background-color var(--duration-normal) var(--easing), color var(--duration-fast) var(--easing), box-shadow var(--duration-normal) var(--easing), backdrop-filter var(--duration-normal) var(--easing), transform var(--duration-normal) var(--easing);
|
|
}.site-header__top {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
gap: 2.5rem;
|
|
height: var(--header-t-h);
|
|
max-height: var(--header-t-h);
|
|
padding: 0 3.125rem;
|
|
overflow: hidden;
|
|
position: relative;
|
|
z-index: 2;
|
|
transition: max-height var(--duration-normal) var(--easing), height var(--duration-normal) var(--easing), padding var(--duration-normal) var(--easing), opacity var(--duration-fast) var(--easing);
|
|
}.site-header__main {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto 1fr;
|
|
align-items: center;
|
|
gap: 1.5rem;
|
|
height: var(--header-h);
|
|
padding: 0 3.125rem;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
|
position: relative;
|
|
z-index: 2;
|
|
}.site-header .header-logo {
|
|
justify-self: start;
|
|
flex-shrink: 0;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}.site-header .header-logo img {
|
|
display: block;
|
|
width: 15.75rem;
|
|
height: 1.625rem;
|
|
}.site-header .header-logo .header-logo__img--dark {
|
|
display: none;
|
|
}.site-header__nav {
|
|
justify-self: center;
|
|
height: 100%;
|
|
}.site-header__nav > ul {
|
|
display: flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
/* gap: 2rem; */
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}.site-header__nav > ul li {
|
|
padding-left: 1rem;
|
|
padding-right: 1rem;
|
|
height: 100%;
|
|
}.site-header__nav > ul > li > a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 100%;
|
|
gap: 0.375rem;
|
|
color: inherit;
|
|
font-family: "PingFang SC", "MiSans VF", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 500;
|
|
line-height: var(--font-22);
|
|
white-space: nowrap;
|
|
}.site-header__extras {
|
|
display: none;
|
|
}.site-header__extra-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: var(--header-m-btn);
|
|
height: var(--header-m-btn);
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}.site-header__extra-btn svg {
|
|
width: var(--header-m-btn-svg);
|
|
height: var(--header-m-btn-svg);
|
|
fill: currentColor;
|
|
}.site-header__extra-btn.lang svg, .site-header__extra-btn.search svg {
|
|
width: 1.125rem;
|
|
height: 1.125rem;
|
|
fill: currentColor;
|
|
}.site-header__actions {
|
|
justify-self: end;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.625rem;
|
|
min-width: 0;
|
|
}.site-header__icon {
|
|
display: flex;
|
|
flex-shrink: 0;
|
|
color: inherit;
|
|
}.site-header__icon svg {
|
|
display: block;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
}.site-header__icon--24 svg {
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
}.site-header__chevron {
|
|
display: flex;
|
|
width: 0.75rem;
|
|
height: 0.375rem;
|
|
flex-shrink: 0;
|
|
color: inherit;
|
|
transition: transform var(--duration-fast) var(--easing);
|
|
}.site-header__chevron svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}.site-header__phone {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: inherit;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
font-family: "D-DIN-PRO", "Aldrich", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 500;
|
|
line-height: var(--font-16);
|
|
}.site-header__socials {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1.25rem;
|
|
}.site-header__social {
|
|
display: flex;
|
|
width: 1rem;
|
|
height: 1rem;
|
|
flex-shrink: 0;
|
|
color: inherit;
|
|
}.site-header__lang {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.375rem;
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
font-family: "D-DIN-PRO", "Aldrich", sans-serif;
|
|
font-size: var(--font-15);
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
white-space: nowrap;
|
|
}.site-header__lang-active {
|
|
color: rgb(175, 181, 185);
|
|
}.site-header__search {
|
|
display: flex;
|
|
align-items: center;
|
|
width: 13.6875rem;
|
|
height: 2.5rem;
|
|
padding: 0 1rem 0 1.25rem;
|
|
border-radius: 1.25rem;
|
|
background: #f9f9f9;
|
|
flex-shrink: 0;
|
|
}.site-header__search-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 100%;
|
|
border: none;
|
|
outline: none;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 330;
|
|
line-height: var(--font-22);
|
|
}.site-header__search-input::placeholder {
|
|
color: var(--color-text-muted);
|
|
}.site-header__search-btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}.site-header__search-btn img {
|
|
display: block;
|
|
width: 1.5rem;
|
|
height: 1.5rem;
|
|
}.site-header .s-btn.site-header__cta {
|
|
min-width: 8.75rem;
|
|
width: 8.75rem;
|
|
min-height: 2.5rem;
|
|
height: 2.5rem;
|
|
padding: 0;
|
|
border-radius: 1.25rem;
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: var(--font-22);
|
|
}.site-header__btn {
|
|
width: 3rem;
|
|
height: 3rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0;
|
|
border: none;
|
|
background: transparent;
|
|
color: inherit;
|
|
cursor: pointer;
|
|
}.site-header__btn svg {
|
|
width: var(--header-m-btn-svg);
|
|
height: var(--header-m-btn-svg);
|
|
fill: currentColor;
|
|
}.site-header__btn .nav-toggle-icon__bar {
|
|
fill: currentColor;
|
|
}.site-header.is-scrolled {
|
|
background: rgba(255, 255, 255, 0.16);
|
|
backdrop-filter: blur(0.75rem);
|
|
}.site-header.is-scrolled .site-header__top {
|
|
height: 0;
|
|
max-height: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}.site-header.is-scrolled .site-header__main {
|
|
border-top-color: transparent;
|
|
}.site-header.dark {
|
|
background: rgba(255, 255, 255, 0.92);
|
|
color: var(--color-text);
|
|
}.site-header.dark .site-header__main {
|
|
border-top-color: rgba(46, 53, 58, 0.1);
|
|
}.site-header.dark .header-logo .header-logo__img--default {
|
|
display: none;
|
|
}.site-header.dark .header-logo .header-logo__img--dark {
|
|
display: block;
|
|
}.site-header.dark.is-scrolled {
|
|
background: rgba(255, 255, 255, 0.72);
|
|
backdrop-filter: blur(1.25rem);
|
|
-webkit-backdrop-filter: blur(1.25rem);
|
|
}.site-header.dark.is-scrolled .site-header__main {
|
|
border-top-color: transparent;
|
|
}.site-header.is-mega-open, .site-header.is-mega-open.is-scrolled, .site-header.dark.is-mega-open, .site-header.dark.is-scrolled.is-mega-open {
|
|
background: var(--color-white);
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
color: var(--color-text);
|
|
box-shadow: none;
|
|
}.site-header.is-mega-open .site-header__main {
|
|
border-top-color: rgba(46, 53, 58, 0.1);
|
|
}.site-header.is-mega-open .header-logo .header-logo__img--default {
|
|
display: none;
|
|
}.site-header.is-mega-open .header-logo .header-logo__img--dark {
|
|
display: block;
|
|
}.site-header.is-mega-open .site-header__nav-link[aria-expanded=true] {
|
|
color: var(--color-primary);
|
|
}.site-header.is-mega-open .site-header__nav-link[aria-expanded=true] .site-header__chevron {
|
|
transform: rotate(180deg);
|
|
color: var(--color-primary);
|
|
}.nav-mega {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
top: 100%;
|
|
z-index: 2;
|
|
display: grid;
|
|
grid-template-rows: 0fr;
|
|
max-height: calc(100dvh - var(--header-h));
|
|
visibility: hidden;
|
|
background: var(--color-white);
|
|
border-top: 1px solid rgb(223, 224, 226);
|
|
box-shadow: 0 1.5rem 3rem rgba(46, 53, 58, 0.08);
|
|
transition: grid-template-rows 0.5s var(--easing);
|
|
}.nav-mega__inner {
|
|
overflow: auto;
|
|
min-height: 0;
|
|
}
|
|
.nav-mega__inner::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
.site-header__nav-item:hover .nav-mega__inner {
|
|
overflow-y: auto;
|
|
overscroll-behavior: contain;
|
|
-webkit-overflow-scrolling: touch;
|
|
}.nav-mega__dropdown-content.product {
|
|
display: grid;
|
|
min-height: 45rem;
|
|
grid-template-columns: 23.375rem minmax(0, 1fr);
|
|
align-items: stretch;
|
|
margin: 0 auto;
|
|
}.nav-mega__dropdown-content.solution, .nav-mega__dropdown-content.support, .nav-mega__dropdown-content.news, .nav-mega__dropdown-content.invest, .nav-mega__dropdown-content.about {
|
|
width: fit-content;
|
|
margin: 0 auto;
|
|
padding: 2.5rem 0;
|
|
}.nav-mega__row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5rem;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}.nav-mega__row a {
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: var(--font-22);
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.nav-mega__row a:hover {
|
|
color: var(--color-primary);
|
|
}.nav-mega__cats {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
padding: 5rem;
|
|
border-right: 1px solid rgba(46, 53, 58, 0.1);
|
|
}.nav-mega__cat {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
width: 100%;
|
|
min-height: 3rem;
|
|
padding: 0.75rem 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.nav-mega__cat.is-active, .nav-mega__cat:hover {
|
|
color: var(--color-primary);
|
|
}.nav-mega__cat.is-active .nav-mega__cat-arrow, .nav-mega__cat:hover .nav-mega__cat-arrow {
|
|
opacity: 1;
|
|
color: var(--color-primary);
|
|
}.nav-mega__cat-arrow {
|
|
display: flex;
|
|
width: 0.5rem;
|
|
height: 0.75rem;
|
|
flex-shrink: 0;
|
|
color: rgb(175, 181, 185);
|
|
opacity: 0.7;
|
|
transition: color 0.2s ease, opacity 0.2s ease;
|
|
}.nav-mega__cat-arrow svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}.nav-mega__main {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 20rem;
|
|
gap: 3.5625rem;
|
|
padding: 5rem;
|
|
padding-right: 3.5625rem;
|
|
min-width: 0;
|
|
}.nav-mega__panels {
|
|
min-width: 0;
|
|
}.nav-mega__promo-side {
|
|
padding-top: 6.875rem;
|
|
flex-shrink: 0;
|
|
}.nav-mega__heading {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 5rem;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-24);
|
|
font-weight: 500;
|
|
line-height: var(--font-32);
|
|
text-decoration: none;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.nav-mega__heading:hover {
|
|
color: var(--color-primary);
|
|
}.nav-mega__heading-arrow {
|
|
display: flex;
|
|
width: 0.625rem;
|
|
height: 0.875rem;
|
|
color: currentColor;
|
|
}.nav-mega__heading-arrow svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}.nav-mega__body {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 3.5625rem;
|
|
min-width: 0;
|
|
}.nav-mega__cols {
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 5rem 2rem;
|
|
}.nav-mega__cols--solution {
|
|
flex: none;
|
|
grid-template-columns: repeat(7, max-content);
|
|
justify-content: start;
|
|
gap: 6.25rem;
|
|
}.nav-mega__col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
min-width: 0;
|
|
}.nav-mega__group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2.125rem;
|
|
}.nav-mega__group-title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 500;
|
|
line-height: var(--font-22);
|
|
text-decoration: none;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.nav-mega__group-title::after {
|
|
content: "";
|
|
display: block;
|
|
flex-shrink: 0;
|
|
width: 0.5rem;
|
|
height: 0.75rem;
|
|
background: currentColor;
|
|
opacity: 0;
|
|
transition: opacity var(--duration-normal) var(--easing);
|
|
mask: url("data:image/svg+xml,%3csvg%20viewBox='-1%20-1%208.59082%2013.0605'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20d='M0%204.12464e-05L5%205.00004L10%200'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20transform='matrix(0,-1,1,0,0.530273,10.5303)'%20/%3e%3c/svg%3e") center/contain no-repeat;
|
|
-webkit-mask: url("data:image/svg+xml,%3csvg%20viewBox='-1%20-1%208.59082%2013.0605'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20d='M0%204.12464e-05L5%205.00004L10%200'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20transform='matrix(0,-1,1,0,0.530273,10.5303)'%20/%3e%3c/svg%3e") center/contain no-repeat;
|
|
}.nav-mega__group-title:hover {
|
|
cursor: pointer;
|
|
color: var(--color-primary);
|
|
}.nav-mega__group-title:hover::after {
|
|
opacity: 1;
|
|
}.nav-mega__subgroup {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}.nav-mega__subgroup-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}.nav-mega__subgroup .nav-mega__links {
|
|
display: flex;
|
|
}.nav-mega__subgroup-title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 500;
|
|
line-height: var(--font-22);
|
|
text-decoration: none;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.nav-mega__subgroup-title::after {
|
|
content: "";
|
|
display: block;
|
|
flex-shrink: 0;
|
|
width: 0.5rem;
|
|
height: 0.75rem;
|
|
background: currentColor;
|
|
opacity: 0;
|
|
transition: opacity var(--duration-normal) var(--easing);
|
|
mask: url("data:image/svg+xml,%3csvg%20viewBox='-1%20-1%208.59082%2013.0605'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20d='M0%204.12464e-05L5%205.00004L10%200'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20transform='matrix(0,-1,1,0,0.530273,10.5303)'%20/%3e%3c/svg%3e") center/contain no-repeat;
|
|
-webkit-mask: url("data:image/svg+xml,%3csvg%20viewBox='-1%20-1%208.59082%2013.0605'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20d='M0%204.12464e-05L5%205.00004L10%200'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20transform='matrix(0,-1,1,0,0.530273,10.5303)'%20/%3e%3c/svg%3e") center/contain no-repeat;
|
|
}.nav-mega__subgroup-title:hover {
|
|
cursor: pointer;
|
|
color: var(--color-primary);
|
|
}.nav-mega__subgroup-title:hover::after {
|
|
opacity: 1;
|
|
}.nav-mega__links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1.5rem;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}.nav-mega__links a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 300;
|
|
line-height: var(--font-22);
|
|
text-decoration: none;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.nav-mega__links a::after {
|
|
content: "";
|
|
display: block;
|
|
flex-shrink: 0;
|
|
width: 0.5rem;
|
|
height: 0.75rem;
|
|
background: currentColor;
|
|
opacity: 0;
|
|
transition: opacity var(--duration-normal) var(--easing);
|
|
mask: url("data:image/svg+xml,%3csvg%20viewBox='-1%20-1%208.59082%2013.0605'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20d='M0%204.12464e-05L5%205.00004L10%200'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20transform='matrix(0,-1,1,0,0.530273,10.5303)'%20/%3e%3c/svg%3e") center/contain no-repeat;
|
|
-webkit-mask: url("data:image/svg+xml,%3csvg%20viewBox='-1%20-1%208.59082%2013.0605'%20xmlns='http://www.w3.org/2000/svg'%20fill='none'%3e%3cpath%20d='M0%204.12464e-05L5%205.00004L10%200'%20stroke='currentColor'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'%20transform='matrix(0,-1,1,0,0.530273,10.5303)'%20/%3e%3c/svg%3e") center/contain no-repeat;
|
|
}.nav-mega__links a:hover {
|
|
color: var(--color-primary);
|
|
}.nav-mega__links a:hover::after {
|
|
opacity: 1;
|
|
}.nav-mega__links a[href=""],
|
|
.nav-mega__links a:not([href]) {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
pointer-events: none;
|
|
}.nav-mega__empty {
|
|
margin: 0;
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
line-height: var(--font-24);
|
|
}.nav-mega__promo {
|
|
display: block;
|
|
flex-shrink: 0;
|
|
width: 20rem;
|
|
max-width: 100%;
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}.nav-mega__promo-media {
|
|
overflow: hidden;
|
|
border-radius: 1.5rem;
|
|
background: rgba(175, 181, 185, 0.2);
|
|
aspect-ratio: 320/200;
|
|
}.nav-mega__promo-media img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
transition: transform var(--duration-normal) var(--easing);
|
|
}.nav-mega__promo:hover .nav-mega__promo-media img {
|
|
transform: scale(1.04);
|
|
}.nav-mega__promo-title {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-top: 1.625rem;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 500;
|
|
line-height: var(--font-22);
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.nav-mega__promo-arrow {
|
|
display: flex;
|
|
width: 0.5rem;
|
|
height: 0.75rem;
|
|
color: currentColor;
|
|
}.nav-mega__promo-arrow svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}.nav-mega__promo:hover .nav-mega__promo-title {
|
|
color: var(--color-primary);
|
|
}.nav-mega__promo-desc {
|
|
margin: 0.5rem 0 0;
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-14);
|
|
font-weight: 400;
|
|
line-height: var(--font-20);
|
|
}.site-header__nav-item:hover .nav-mega {
|
|
grid-template-rows: 1fr;
|
|
visibility: visible;
|
|
}.site-header__nav-item:hover .site-header__nav-link {
|
|
color: var(--color-primary);
|
|
}.site-header__nav-item:hover .site-header__chevron {
|
|
transform: rotate(180deg);
|
|
color: var(--color-primary);
|
|
}.site-header:has(.site-header__nav-item--mega:hover) {
|
|
background: var(--color-white);
|
|
backdrop-filter: none;
|
|
-webkit-backdrop-filter: none;
|
|
color: var(--color-text);
|
|
box-shadow: none;
|
|
}.site-header:has(.site-header__nav-item--mega:hover) .site-header__main {
|
|
border-top-color: rgba(46, 53, 58, 0.1);
|
|
}.site-header:has(.site-header__nav-item--mega:hover) .header-logo .header-logo__img--default {
|
|
display: none;
|
|
}.site-header:has(.site-header__nav-item--mega:hover) .header-logo .header-logo__img--dark {
|
|
display: block;
|
|
}@media (max-width: 1600px) {
|
|
.nav-mega__inner--solution {
|
|
padding: 56Px 50Px;
|
|
}
|
|
.nav-mega__cols--solution {
|
|
gap: 32Px 24Px;
|
|
}
|
|
}@media (max-width: 1439px) {
|
|
.site-header__top, .site-header__nav, .site-header__search, .site-header__cta {
|
|
display: none;
|
|
}
|
|
.site-header__main {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 16Px;
|
|
border-top: none;
|
|
height: var(--header-m-h);
|
|
padding: var(--header-m-py) var(--p-x);
|
|
}
|
|
.site-header .header-logo img {
|
|
width: 180Px;
|
|
height: auto;
|
|
}
|
|
.site-header__extras {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8Px;
|
|
}
|
|
.nav-mega {
|
|
display: none !important;
|
|
}
|
|
}@media (max-width: 576px) {
|
|
.site-header .header-logo img {
|
|
width: 148Px;
|
|
}
|
|
}/* 固定头部下锚点定位偏移(滚动后仅保留 main 88px) */section[id] {
|
|
scroll-margin-top: var(--header-h);
|
|
}.site-footer {
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
background-color: rgba(175, 181, 185, 0.1);
|
|
padding-top: 6.875rem;
|
|
}.site-footer::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 0;
|
|
z-index: 0;
|
|
width: 100%;
|
|
height: 12.1875rem;
|
|
background: url("../images/footer-bg-DIAbg8Ab.png") no-repeat center bottom/contain;
|
|
transform: translateX(-50%);
|
|
filter: blur(1.25rem);
|
|
pointer-events: none;
|
|
}.site-footer__inner {
|
|
position: relative;
|
|
z-index: 1;
|
|
}.site-footer__main {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 20rem;
|
|
padding-bottom: 4rem;
|
|
}.site-footer__brand {
|
|
flex-shrink: 0;
|
|
width: 17.5rem;
|
|
}.site-footer__logo {
|
|
display: block;
|
|
margin-bottom: 1.5rem;
|
|
}.site-footer__logo img {
|
|
display: block;
|
|
width: auto;
|
|
height: 1.625rem;
|
|
}.site-footer__stock {
|
|
margin-bottom: 1.5rem;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: var(--font-24);
|
|
padding: 0.5rem 0;
|
|
border-bottom: 1px solid rgba(46, 53, 58, 0.1);
|
|
}.site-footer__quote {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.5rem;
|
|
margin-bottom: 2.5rem;
|
|
color: var(--color-primary);
|
|
}.site-footer__quote-price {
|
|
font-family: "D-DIN-PRO", "Aldrich", sans-serif;
|
|
font-size: var(--font-36);
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
}.site-footer__quote-unit {
|
|
font-family: "PingFang SC", "MiSans VF", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 400;
|
|
line-height: 1;
|
|
}.site-footer__quote-change {
|
|
font-family: "D-DIN-PRO", "Aldrich", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 500;
|
|
line-height: 1;
|
|
}.site-footer__follow {
|
|
margin-bottom: 1.25rem;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", sans-serif;
|
|
font-size: var(--font-18);
|
|
font-weight: 500;
|
|
line-height: var(--font-24);
|
|
}.site-footer__qrs {
|
|
display: flex;
|
|
gap: 1.25rem;
|
|
}.site-footer__qr {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}.site-footer__qr img {
|
|
width: 7.5rem;
|
|
height: 7.5rem;
|
|
object-fit: contain;
|
|
}.site-footer__qr span {
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 400;
|
|
line-height: var(--font-21);
|
|
text-align: center;
|
|
}.site-footer__cols {
|
|
display: flex;
|
|
flex: 1;
|
|
justify-content: space-between;
|
|
gap: 1.5rem;
|
|
}.site-footer__col {
|
|
min-width: 0;
|
|
}.site-footer__colTitle {
|
|
margin-bottom: 1.25rem;
|
|
color: var(--color-text);
|
|
font-family: "MiSans VF", sans-serif;
|
|
font-size: var(--font-20);
|
|
font-weight: 500;
|
|
line-height: var(--font-27);
|
|
}.site-footer__links a {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 300;
|
|
line-height: var(--font-30);
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.site-footer__links a:hover {
|
|
color: var(--color-primary);
|
|
}.site-footer__bottom {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 1.75rem 0;
|
|
border-top: 1px solid rgba(46, 53, 58, 0.1);
|
|
}.site-footer__copyright {
|
|
display: flex;
|
|
gap: 0.25rem;
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 300;
|
|
line-height: var(--font-21);
|
|
}.site-footer__gongan {
|
|
display: inline-block;
|
|
width: 1.125rem;
|
|
height: 1.125rem;
|
|
}.site-footer__legal {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
gap: 1.5rem;
|
|
}.site-footer__legal a {
|
|
color: var(--color-text-muted);
|
|
font-family: "MiSans VF", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 300;
|
|
line-height: var(--font-21);
|
|
transition: color var(--duration-fast) var(--easing);
|
|
}.site-footer__legal a:hover {
|
|
color: var(--color-primary);
|
|
}@media (max-width: 1439px) {
|
|
.site-footer {
|
|
padding-top: 72Px;
|
|
}
|
|
.site-footer__main {
|
|
flex-direction: column;
|
|
gap: 48Px;
|
|
}
|
|
.site-footer__cols {
|
|
flex-wrap: wrap;
|
|
justify-content: flex-start;
|
|
gap: 32Px 48Px;
|
|
}
|
|
.site-footer__col {
|
|
min-width: 128Px;
|
|
}
|
|
}@media (max-width: 576px) {
|
|
.site-footer {
|
|
padding-top: 48Px;
|
|
}
|
|
.site-footer::before {
|
|
width: 80%;
|
|
height: 80Px;
|
|
}
|
|
.site-footer__logo img {
|
|
height: 1.5rem;
|
|
}
|
|
.site-footer__main {
|
|
gap: 32Px;
|
|
padding-bottom: 40Px;
|
|
}
|
|
.site-footer__brand {
|
|
width: 100%;
|
|
}
|
|
.site-footer__cols {
|
|
display: none;
|
|
gap: 24Px 20Px;
|
|
}
|
|
.site-footer__col {
|
|
flex: 1 1 calc(50% - 20Px);
|
|
min-width: 0;
|
|
}
|
|
.site-footer__bottom {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 16Px;
|
|
padding: 24Px 0;
|
|
}
|
|
.site-footer__copyright {
|
|
flex-wrap: wrap;
|
|
}
|
|
.site-footer__legal {
|
|
flex-wrap: wrap;
|
|
gap: 16Px;
|
|
}
|
|
}/* ── Mask 全屏导航 ── */.mask {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
z-index: 101;
|
|
background: #fff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
transition:
|
|
opacity var(--duration-normal) var(--easing),
|
|
visibility var(--duration-normal) var(--easing);
|
|
|
|
&.show {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
pointer-events: auto;
|
|
}
|
|
}/* ── 头部 ── */.mask-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
height: var(--header-m-h);
|
|
padding: var(--header-m-py) var(--p-x);
|
|
flex-shrink: 0;
|
|
}.mask-header__logo {
|
|
img {
|
|
width: 148Px;
|
|
height: auto;
|
|
}
|
|
}.mask-header__brand {
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 600;
|
|
line-height: 1.2;
|
|
color: var(--color-text);
|
|
}.mask-header__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}.mask-header__icon-btn {
|
|
width: var(--header-m-btn);
|
|
height: var(--header-m-btn);
|
|
padding: 0;
|
|
border: none;
|
|
border-radius: 0;
|
|
background: transparent;
|
|
color: var(--color-text);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
|
|
&:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
|
|
&.lang svg,
|
|
&.search svg {
|
|
width: 1.125rem;
|
|
height: 1.125rem;
|
|
fill: currentColor;
|
|
}
|
|
|
|
&.close svg {
|
|
width: var(--header-m-btn-svg);
|
|
height: var(--header-m-btn-svg);
|
|
fill: currentColor;
|
|
}
|
|
}/* ── 内容区域 ── */.mask-content {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 1rem;
|
|
-webkit-overflow-scrolling: touch;
|
|
}/* ── 导航列表 ── */.mask-nav__list {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}.mask-nav__item {
|
|
border-bottom: 1px solid rgba(223, 224, 226, 1);
|
|
}.mask-nav__link {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 1rem 0;
|
|
border: none;
|
|
background: transparent;
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: var(--font-16);
|
|
font-weight: 500;
|
|
line-height: var(--font-21);
|
|
color: var(--color-text);
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
|
|
&:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
}/* ── 展开/收起图标(+/-) ── */.mask-nav__icon {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
flex-shrink: 0;
|
|
transition: transform var(--duration-normal) var(--easing);
|
|
}.mask-nav__item--expandable[data-expanded="true"] .mask-nav__icon {
|
|
transform: rotate(45deg);
|
|
}/* ── 子菜单列表(grid 展开动画) ── */.mask-nav__sublist-wrapper {
|
|
display: grid;
|
|
grid-template-rows: 0fr;
|
|
/* 默认高度为 0 */
|
|
transition: grid-template-rows 0.3s ease-out;
|
|
}.mask-nav__sublist {
|
|
overflow: hidden;
|
|
min-height: 0;
|
|
}.mask-nav__item[data-expanded="true"] .mask-nav__sublist-wrapper {
|
|
grid-template-rows: 1fr;
|
|
}.mask-nav__subitem {
|
|
border-bottom: 1px solid rgba(223, 224, 226, 1);
|
|
}.mask-nav__subitem:last-child {
|
|
border-bottom: none;
|
|
}.mask-nav__sublink {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 16Px 0;
|
|
font-family: "MiSans VF", "PingFang SC", sans-serif;
|
|
font-size: 14Px;
|
|
font-weight: 400;
|
|
line-height: var(--font-18);
|
|
color: var(--color-text-muted);
|
|
text-decoration: none;
|
|
transition: color var(--duration-fast) var(--easing);
|
|
|
|
&:hover {
|
|
color: var(--color-primary);
|
|
}
|
|
}/* ── 子菜单箭头 > ── */.mask-nav__arrow {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
flex-shrink: 0;
|
|
}/* ── 菜单切换动画(三条线 → X) ── */.nav-toggle-icon__bar {
|
|
transition:
|
|
transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
|
|
opacity 0.25s ease;
|
|
}.nav-toggle-icon__bar--top {
|
|
transform-origin: 12Px 7Px;
|
|
}.nav-toggle-icon__bar--mid {
|
|
transform-origin: 12Px 12Px;
|
|
}.nav-toggle-icon__bar--bot {
|
|
transform-origin: 12Px 17Px;
|
|
}body.is-mask-open .nav-toggle-icon__bar--top {
|
|
transform: translateY(5Px) rotate(45deg);
|
|
}body.is-mask-open .nav-toggle-icon__bar--mid {
|
|
transform: scaleX(0);
|
|
}body.is-mask-open .nav-toggle-icon__bar--bot {
|
|
transform: translateY(-5Px) rotate(-45deg);
|
|
}.mask.mask--nav-motion .mask-nav a {
|
|
transition: none;
|
|
}
|