// ========================================================= // RISESOL NEW ENERGY · 版面 02(浅色国际企业风) // Bootstrap 4 + LESS,浏览器端直接解析,不分页面拆分 // ========================================================= // ---------- 变量 ---------- @orange: #ff6723; @ink: #0b0b0d; @ink-2: #141418; @body: #5d6169; @title: #101013; @line: #e6e8ec; @soft: #f4f5f7; @soft-2: #fafbfc; @white: #ffffff; @ease: cubic-bezier(.22, .61, .36, 1); @font: "Segoe UI", "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif; // ---------- 基础 ---------- *, *::before, *::after { box-sizing: border-box; } html { scroll-behavior: smooth; } body { margin: 0; background: @white; color: @body; font-family: @font; font-size: 15px; line-height: 1.85; -webkit-font-smoothing: antialiased; overflow-x: hidden; } img { max-width: 100%; height: auto; display: block; } a { color: inherit; text-decoration: none; transition: color .25s @ease; &:hover { color: @orange; text-decoration: none; } } h1, h2, h3, h4, h5, h6 { margin: 0 0 18px; color: @title; font-weight: 800; line-height: 1.18; letter-spacing: -.025em; } p { margin: 0 0 18px; } ul { margin: 0; padding: 0; list-style: none; } ::selection { background: @orange; color: #fff; } ::-webkit-scrollbar { width: 9px; } ::-webkit-scrollbar-track { background: @soft; } ::-webkit-scrollbar-thumb { background: #c9ccd2; border-radius: 9px; &:hover { background: @orange; } } // ---------- 容器 ---------- .container { width: 94%; max-width: 1400px; padding-left: 20px; padding-right: 20px; } // ---------- 区块 ---------- .sec { position: relative; padding: 100px 0; &.sec-soft { background: @soft; } &.sec-tight { padding: 72px 0; } &.sec-dark { background: @ink; } } .kicker { display: inline-flex; align-items: center; margin-bottom: 16px; color: @orange; font-size: 11px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; &::before { content: ""; width: 8px; height: 8px; margin-right: 10px; background: @orange; } } .h2 { margin-bottom: 18px; font-size: 40px; font-weight: 800; span { color: @orange; } } .lead { max-width: 620px; color: @body; font-size: 15px; &.center { margin-left: auto; margin-right: auto; } } .sec-head { margin-bottom: 50px; &.center { text-align: center; } &.split { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; } } .arrow-link { display: inline-flex; align-items: center; color: @title; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; i { margin-left: 10px; transition: transform .3s @ease; } &:hover { color: @orange; } &:hover i { transform: translateX(6px); } // 图标在前的写法(如 contact 页的 WhatsApp 入口),需在 HTML 上加 is-icon &.is-icon { i { margin-left: 0; margin-right: 7px; } &:hover i { transform: none; } } } // ---------- 按钮 ---------- .btn-o, .btn-d, .btn-g { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 30px; border: 1px solid transparent; border-radius: 40px; font-size: 12.5px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; transition: all .3s @ease; i { margin-left: 10px; font-size: 12px; } } .btn-o { background: @orange; border-color: @orange; color: #fff; &:hover { background: @ink; border-color: @ink; color: #fff; transform: translateY(-2px); } } .btn-d { background: @ink; border-color: @ink; color: #fff; &:hover { background: @orange; border-color: @orange; color: #fff; transform: translateY(-2px); } } .btn-g { border-color: @line; color: @title; background: transparent; &:hover { border-color: @ink; background: @ink; color: #fff; transform: translateY(-2px); } } .btn-sm-o { height: 44px; padding: 0 22px; font-size: 11.5px; } // ---------- 头部 ---------- .hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 1030; background: #ffffff; border-bottom: 1px solid @line; transition: box-shadow .3s @ease; &.is-stuck { box-shadow: 0 8px 30px rgba(16, 16, 19, .08); } } .hdr-inner { display: flex; align-items: center; justify-content: space-between; height: 86px; transition: height .3s @ease; .is-stuck & { height: 74px; } } .brand { display: flex; align-items: center; img { display: block; width: auto; height: 46px; } &:hover img { opacity: .85; } } .nav-list { display: flex; align-items: center; .n-item { position: relative; margin: 0 17px; > a { display: block; padding: 30px 0; color: #2b2d33; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; } &::after { content: ""; position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: @orange; transform: scaleX(0); transition: transform .3s @ease; } &:hover::after, &.active::after { transform: scaleX(1); } &.active > a { color: @orange; } } } .hdr-right { display: flex; align-items: center; .hdr-phone { display: flex; align-items: center; margin-right: 20px; color: @title; font-size: 13px; font-weight: 700; i { margin-right: 8px; color: @orange; } } .btn-o { height: 44px; } } .lang { position: relative; margin-right: 18px; .lang-btn { display: flex; align-items: center; height: 38px; padding: 0 12px; border: 1px solid @line; border-radius: 30px; background: transparent; color: #3a3d44; font-family: @font; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; cursor: pointer; i:first-child { margin-right: 6px; color: @orange; font-size: 12px; } i:last-child { margin-left: 6px; font-size: 9px; color: #9aa0aa; } } .lang-menu { position: absolute; right: 0; top: 46px; width: 132px; padding: 8px 0; border: 1px solid @line; border-radius: 12px; background: #fff; box-shadow: 0 18px 40px rgba(16, 16, 19, .10); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .25s @ease; a { display: block; padding: 7px 16px; color: #454850; font-size: 12px; &:hover { background: @soft; color: @orange; } &.on { background: @soft; color: @orange; font-weight: 700; } } &.open { opacity: 1; visibility: visible; transform: none; } } } .burger { display: none; width: 44px; height: 44px; border: 1px solid @line; border-radius: 12px; background: #fff; color: @ink; font-size: 16px; cursor: pointer; } // 移动端面板 .m-panel { position: fixed; top: 0; right: 0; bottom: 0; z-index: 1041; display: flex; flex-direction: column; width: 320px; max-width: 86%; padding: 26px; background: #fff; transform: translateX(101%); transition: transform .38s @ease; visibility: hidden; overflow-y: auto; &.open { transform: none; visibility: visible; } .m-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid @line; .brand img { height: 38px; } } .m-close { border: 0; background: transparent; color: @ink; font-size: 20px; cursor: pointer; } a.ml { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid #f0f1f4; color: #26282e; font-size: 14px; font-weight: 600; i { color: @orange; font-size: 11px; } } // 移动端语言切换(桌面端 .lang 在 <991 隐藏,这里补齐) .m-lang { display: flex; flex-wrap: wrap; margin-top: 20px; a { margin: 0 8px 8px 0; padding: 7px 13px; border: 1px solid @line; border-radius: 30px; color: #3a3d44; font-size: 12px; font-weight: 700; line-height: 1; &:hover, &.on { border-color: @orange; color: @orange; } } } .m-info { margin-top: 24px; color: #7c818b; font-size: 13px; p { margin-bottom: 8px; } i { width: 18px; color: @orange; } } } .m-mask { position: fixed; inset: 0; z-index: 1040; background: rgba(11, 11, 13, .45); opacity: 0; visibility: hidden; transition: opacity .3s @ease; &.open { opacity: 1; visibility: visible; } } // ---------- 首屏 ---------- .hero { position: relative; display: flex; align-items: flex-end; min-height: 780px; padding: 130px 0 0; background: @ink; color: @white; overflow: hidden; .hero-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; img { width: 100%; height: 100%; object-fit: cover; } &::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(8, 8, 10, .95) 0%, rgba(8, 8, 10, .82) 44%, rgba(8, 8, 10, .3) 100%); } } .container { position: relative; z-index: 2; width: 100%; } } .hero-copy { max-width: 780px; padding: 0 0 80px; .hero-tag { display: inline-flex; align-items: center; padding: 8px 18px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 30px; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .9); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; i { margin-right: 8px; color: @orange; font-size: 11px; } } h1 { margin: 26px 0 22px; color: @white; font-size: 68px; font-weight: 800; line-height: 1.04; letter-spacing: -.035em; span { color: @orange; } } p { max-width: 580px; margin: 0; color: rgba(255, 255, 255, .76); font-size: 16px; line-height: 1.9; } .hero-btns { display: flex; flex-wrap: wrap; margin-top: 34px; .btn-o, .btn-g { margin: 0 12px 12px 0; } .btn-g { border-color: rgba(255, 255, 255, .42); color: @white; &:hover { border-color: @white; background: @white; color: @ink; transform: translateY(-2px); } } } } .hero-meta { display: flex; flex-wrap: wrap; max-width: 620px; margin-top: 54px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .18); .hm-item { margin-right: 48px; b { display: block; color: @white; font-size: 28px; font-weight: 800; line-height: 1.1; } span { color: rgba(255, 255, 255, .58); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; } } } // 首屏下方快捷入口 .quick-band { position: relative; z-index: 3; padding: 34px 0 12px; background: #fff; border-bottom: 1px solid @line; } .quick-cards { position: relative; z-index: 3; margin-top: 0; .row { margin-left: -12px; margin-right: -12px; } .q-col { padding: 0 12px; margin-bottom: 16px; } .q-card { display: flex; align-items: center; height: 100%; padding: 24px 26px; border: 1px solid @line; border-radius: 16px; background: #fff; transition: all .3s @ease; .q-ico { flex: 0 0 52px; display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-right: 18px; border-radius: 14px; background: rgba(255, 103, 35, .10); color: @orange; font-size: 20px; } h4 { margin: 0 0 4px; font-size: 15px; font-weight: 700; } p { margin: 0; color: #8b909a; font-size: 12.5px; line-height: 1.6; } i.q-arrow { margin-left: auto; color: #c3c7ce; font-size: 13px; } &:hover { border-color: rgba(255, 103, 35, .4); box-shadow: 0 16px 36px rgba(16, 16, 19, .08); transform: translateY(-3px); i.q-arrow { color: @orange; } } } } // ---------- 公司介绍 ---------- .about-visual { position: relative; padding: 0 0 46px 46px; .av-big { height: 480px; border-radius: 22px; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s @ease; } &:hover img { transform: scale(1.05); } } .av-small { position: absolute; left: 0; bottom: 0; width: 250px; height: 200px; border: 8px solid #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 44px rgba(16, 16, 19, .14); img { width: 100%; height: 100%; object-fit: cover; } } .av-badge { position: absolute; right: 0; top: 0; padding: 20px 24px; border-radius: 0 22px 0 18px; background: @orange; color: #fff; text-align: center; b { display: block; font-size: 30px; font-weight: 800; line-height: 1; } span { font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .9; } } } .about-copy { padding-left: 20px; p { color: @body; } .ap-list { margin: 26px 0 32px; li { display: flex; padding: 13px 0; border-bottom: 1px solid @line; color: #33363d; font-size: 14px; i { flex: 0 0 22px; margin-top: 4px; color: @orange; font-size: 13px; } } } } .num-row { display: flex; flex-wrap: wrap; margin-top: 54px; padding-top: 40px; border-top: 1px solid @line; .num-item { width: 25%; padding-right: 20px; b { display: block; color: @ink; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -.03em; em { color: @orange; font-style: normal; } } span { color: #8b909a; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; } } } // ---------- 多行卡片网格:行间留白 ---------- // Bootstrap 4 的 .row 只提供左右 gutter,多行卡片纵向会贴在一起; // 卡片又是 height: 100%,自带的 margin-bottom 会被吃掉,所以改由 .row 的 row-gap 控制。 .row-gap-y { row-gap: 26px; > [class*="col-"] > .c-card, > [class*="col-"] > .sol-tile, > [class*="col-"] > .pcard-dark, > [class*="col-"] > .ps-card, > [class*="col-"] > .step-item, > [class*="col-"] > .nw-card { margin-bottom: 0; } } // ---------- 产品分类 ---------- .c-card { display: block; height: 100%; margin-bottom: 26px; border: 1px solid @line; border-radius: 18px; background: #fff; overflow: hidden; transition: all .35s @ease; .c-img { position: relative; height: 210px; overflow: hidden; background: @soft; img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s @ease; } .c-no { position: absolute; left: 16px; top: 16px; padding: 4px 10px; border-radius: 20px; background: rgba(255, 255, 255, .92); color: @ink; font-size: 10px; font-weight: 800; letter-spacing: .12em; } } .c-body { position: relative; padding: 24px 24px 26px; h3 { margin-bottom: 8px; padding-right: 44px; // 右侧留白给 .c-go 圆钮,避免长标题被压 font-size: 17px; font-weight: 700; line-height: 1.4; } p { margin: 0; color: #868b95; font-size: 12.5px; line-height: 1.7; } .c-go { position: absolute; right: 22px; top: 22px; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid @line; border-radius: 50%; color: #b7bcc5; font-size: 11px; transition: all .3s @ease; } } &:hover { border-color: rgba(255, 103, 35, .35); box-shadow: 0 20px 46px rgba(16, 16, 19, .09); transform: translateY(-6px); .c-img img { transform: scale(1.06); } .c-go { background: @orange; border-color: @orange; color: #fff; } h3 { color: @orange; } } } // ---------- 热门产品(深色块) ---------- .feat-sec { background: @ink; .kicker { color: @orange; } .h2, h3 { color: #fff; } .lead { color: #9ba0aa; } .arrow-link { color: #fff; } } .pcard-dark { display: block; height: 100%; margin-bottom: 26px; border: 1px solid rgba(255, 255, 255, .09); color: #fff; border-radius: 18px; background: @ink-2; overflow: hidden; transition: all .35s @ease; .pd-img { position: relative; height: 210px; padding: 18px; background: radial-gradient(circle at 50% 40%, #26262c, #17171b 72%); img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s @ease; } .pd-tag { position: absolute; left: 16px; right: 16px; top: 16px; color: @orange; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } } .pd-body { padding: 22px 24px 24px; h3 { margin-bottom: 8px; font-size: 16.5px; font-weight: 700; line-height: 1.4; } .pd-spec { margin: 0 0 18px; color: #868b95; font-size: 12px; } .pd-link { color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; i { margin-left: 8px; transition: transform .3s @ease; } } } &:hover { border-color: rgba(255, 103, 35, .5); transform: translateY(-5px); .pd-img img { transform: scale(1.07); } .pd-link { color: @orange; } .pd-link i { transform: translateX(5px); } } } // ---------- 优势 ---------- .why-row { .why-cell { display: flex; padding: 28px 0; border-top: 1px solid @line; .w-no { flex: 0 0 74px; color: #d9dce1; font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -.04em; transition: color .3s @ease; } h3 { margin-bottom: 7px; font-size: 17px; font-weight: 700; } p { margin: 0; color: #7e838d; font-size: 13.5px; line-height: 1.75; } &:hover .w-no { color: @orange; } } } .why-aside { padding-right: 40px; .why-note { margin-top: 26px; padding: 22px 24px; border-left: 3px solid @orange; border-radius: 0 14px 14px 0; background: @soft; color: #5a5f68; font-size: 13.5px; line-height: 1.8; } } // ---------- 解决方案 ---------- .sol-tile { display: block; height: 100%; margin-bottom: 26px; padding: 32px 26px; border: 1px solid @line; border-radius: 18px; background: #fff; transition: all .35s @ease; .s-ico { display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%; background: rgba(255, 103, 35, .10); color: @orange; font-size: 19px; transition: all .35s @ease; } h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; line-height: 1.45; } p { margin: 0; color: #868b95; font-size: 12.5px; line-height: 1.7; } &:hover { background: @orange; border-color: @orange; transform: translateY(-5px); .s-ico { background: rgba(255, 255, 255, .18); color: #fff; } h3, p { color: #fff; } } } // ---------- 全球市场 ---------- .market-panel { position: relative; padding: 46px 42px; border-radius: 22px; background: #0d0d10 url("../images/global-map.jpg") center / cover no-repeat; overflow: hidden; &::before { content: ""; position: absolute; inset: 0; background: rgba(8, 8, 10, .72); } .mp-inner { position: relative; z-index: 2; } h3 { margin-bottom: 24px; color: #fff; font-size: 22px; font-weight: 700; } } .m-col { margin-bottom: 24px; h4 { display: flex; align-items: center; margin-bottom: 12px; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; i { margin-right: 8px; color: @orange; font-size: 13px; } } li { padding: 5px 0; color: #b7bbc4; font-size: 13.5px; border-bottom: 1px solid rgba(255, 255, 255, .08); } } .m-chips { display: flex; flex-wrap: wrap; margin-top: 6px; span { margin: 0 8px 8px 0; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 30px; color: #d4d7dd; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; em { margin-left: 6px; color: @orange; font-style: normal; font-size: 9px; } } } .market-copy { padding-right: 20px; .mk-points { margin-top: 28px; li { display: flex; padding: 12px 0; border-bottom: 1px solid @line; color: #3c3f46; font-size: 14px; i { flex: 0 0 22px; margin-top: 4px; color: @orange; font-size: 12px; } } } } // ---------- 合作流程 ---------- .step-item { position: relative; padding: 34px 28px; border: 1px solid @line; border-radius: 18px; background: #fff; height: 100%; margin-bottom: 26px; .st-no { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-bottom: 20px; border-radius: 50%; background: @ink; color: #fff; font-size: 14px; font-weight: 800; } h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; } p { margin: 0; color: #868b95; font-size: 13px; line-height: 1.75; } } // ---------- 合作与服务 / 新闻 / 地图 ---------- .ps-card { height: 100%; margin-bottom: 26px; padding: 32px 26px; border: 1px solid @line; border-radius: 18px; background: @white; transition: all .35s @ease; &:hover { border-color: rgba(255, 103, 35, .45); box-shadow: 0 18px 40px rgba(16, 16, 19, .07); transform: translateY(-4px); } .ps-ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 14px; background: rgba(255, 103, 35, .1); color: @orange; font-size: 18px; } h3 { margin-bottom: 8px; font-size: 16px; font-weight: 700; line-height: 1.45; } p { margin: 0; color: #868b95; font-size: 13px; line-height: 1.75; } } .nw-card { display: block; height: 100%; margin-bottom: 26px; border: 1px solid @line; border-radius: 20px; background: @white; overflow: hidden; transition: all .35s @ease; &:hover { border-color: rgba(255, 103, 35, .45); box-shadow: 0 18px 40px rgba(16, 16, 19, .07); transform: translateY(-4px); } .nw-img { position: relative; height: 200px; overflow: hidden; img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s @ease; } } &:hover .nw-img img { transform: scale(1.05); } .nw-tag { position: absolute; left: 16px; top: 16px; padding: 5px 11px; border-radius: 20px; background: @orange; color: @white; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; } .nw-body { padding: 22px 24px 26px; } .nw-date { display: block; margin-bottom: 9px; color: #9aa0aa; font-size: 11.5px; letter-spacing: .04em; } h3 { margin-bottom: 9px; font-size: 16.5px; font-weight: 700; line-height: 1.5; } p { margin: 0; color: #868b95; font-size: 13px; line-height: 1.7; } } .nw-cats { display: flex; flex-wrap: wrap; margin-top: 26px; padding-top: 26px; border-top: 1px solid @line; a { margin: 0 10px 10px 0; padding: 9px 16px; border: 1px solid @line; border-radius: 30px; background: @white; color: @body; font-size: 12px; transition: all .3s @ease; &:hover { border-color: @orange; color: @orange; } &.active { border-color: @ink; background: @ink; color: #fff; } } } // ---------- 联系页 ---------- .wx-card { height: 100%; padding: 28px 26px; border: 1px solid @line; border-radius: 18px; background: #fff; text-align: center; img { display: block; width: 240px; max-width: 100%; height: auto; margin: 0 auto 16px; border-radius: 12px; } h3 { margin: 0 0 8px; font-size: 17px; font-weight: 800; } p { margin: 0 0 6px; color: @body; font-size: 13px; line-height: 1.75; } .wx-id { display: inline-flex; align-items: center; margin-top: 10px; padding: 8px 14px; border-radius: 30px; background: @soft; color: @title; font-size: 12.5px; font-weight: 700; i { margin-right: 8px; color: #07c160; } } } // ---------- 新闻详情 ---------- .art { .art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; color: #9aa0aa; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; .am-cat { color: @orange; } } h1 { margin: 0 0 22px; color: @title; font-size: 34px; font-weight: 800; line-height: 1.24; letter-spacing: -.02em; } .art-img { height: 420px; margin-bottom: 28px; border-radius: 16px; overflow: hidden; background: @soft; img { width: 100%; height: 100%; object-fit: cover; } } .art-body { p { margin: 0 0 18px; color: #4a4e56; font-size: 14.5px; line-height: 1.95; } p:first-of-type { color: @title; font-size: 16px; font-weight: 500; } } .art-lead { margin: 0 0 24px; padding: 20px 24px; border-left: 3px solid @orange; border-radius: 0 12px 12px 0; background: @soft; color: @title; font-size: 14.5px; line-height: 1.85; } } .art-nav { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 36px; padding-top: 24px; border-top: 1px solid @line; a { display: inline-flex; align-items: center; max-width: 46%; color: @title; font-size: 12.5px; font-weight: 700; line-height: 1.5; i { margin: 0 10px; color: @orange; } &:hover { color: @orange; } } } .art-side { .as-card { margin-bottom: 20px; padding: 24px; border: 1px solid @line; border-radius: 16px; background: #fff; h3 { margin: 0 0 14px; font-size: 14.5px; font-weight: 800; } } .as-list { margin: 0; padding: 0; list-style: none; li { border-bottom: 1px dashed @line; } li:last-child { border-bottom: 0; } a { display: flex; justify-content: space-between; padding: 10px 0; color: #4a4e56; font-size: 12.5px; font-weight: 600; span { margin-left: 10px; color: #b6bac2; } &:hover { color: @orange; } } } .as-latest { a { display: block; padding: 12px 0; border-bottom: 1px dashed @line; color: @title; font-size: 13px; font-weight: 600; line-height: 1.5; small { display: block; margin-bottom: 4px; color: #9aa0aa; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; } &:last-child { border-bottom: 0; } &:hover { color: @orange; } } } } .map-panel { margin-top: 46px; border: 1px solid @line; border-radius: 22px; background: @white; overflow: hidden; .mp-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 24px 28px; .kicker { margin-bottom: 8px; } h3 { margin: 0; font-size: 17px; font-weight: 700; } } .mp-frame { position: relative; display: block; height: 330px; overflow: hidden; background: @soft; img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .8s @ease; } &:hover img { transform: scale(1.03); } .mp-pin { position: absolute; left: 50%; top: 46%; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: @orange; color: @white; font-size: 20px; box-shadow: 0 0 0 12px rgba(255, 103, 35, .2), 0 0 0 26px rgba(255, 103, 35, .08); } .mp-addr { position: absolute; left: 26px; bottom: 48px; padding: 7px 14px; border-radius: 30px; background: rgba(255, 255, 255, .94); color: @title; font-size: 13px; font-weight: 700; margin-bottom: 10px; } .mp-coord { position: absolute; left: 26px; bottom: 18px; padding: 4px 12px; border-radius: 20px; background: rgba(255, 255, 255, .8); color: @body; font-size: 11.5px; letter-spacing: .04em; } } } .info-panel .ip-cn { margin: 8px 0 0; color: rgba(255, 255, 255, .55); font-size: 12.5px; line-height: 1.6; } // ---------- 联系 ---------- .inq-card { padding: 40px 38px; border: 1px solid @line; border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(16, 16, 19, .07); h3 { margin-bottom: 4px; font-size: 24px; font-weight: 800; } .inq-sub { margin-bottom: 26px; color: #8b909a; font-size: 13px; } } .fg { margin-bottom: 16px; label { display: block; margin-bottom: 7px; color: #4a4e57; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; } .fx { width: 100%; height: 50px; padding: 0 16px; border: 1px solid @line; border-radius: 12px; background: @soft-2; color: @title; font-family: @font; font-size: 14px; transition: all .25s @ease; text-overflow: ellipsis; &:focus { outline: 0; border-color: @orange; background: #fff; } &::placeholder { color: #a9aeb8; } } textarea.fx { height: 112px; padding: 13px 16px; resize: vertical; } select.fx { appearance: none; cursor: pointer; } } .inq-done { display: none; margin-top: 16px; padding: 13px 16px; border-radius: 12px; background: rgba(255, 103, 35, .10); color: #a8410f; font-size: 13px; &.show { display: block; } } .info-panel { height: 100%; padding: 42px 36px; border-radius: 22px; background: @ink; .ip-kicker { display: inline-flex; margin-bottom: 14px; color: @orange; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; } h3 { margin-bottom: 10px; color: #fff; font-size: 26px; font-weight: 800; } .ip-sub { margin-bottom: 26px; color: #9ba0aa; font-size: 13.5px; } .ip-item { display: flex; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, .09); .ip-ico { flex: 0 0 40px; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: 14px; border-radius: 12px; background: rgba(255, 103, 35, .14); color: @orange; font-size: 14px; } .ip-txt { small { display: block; color: #7f848f; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; } strong, a, p { display: block; margin: 0; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.6; } p { color: #b7bbc4; font-weight: 400; font-size: 13px; } } } .ip-actions { display: flex; flex-wrap: wrap; margin-top: 26px; .btn-o { margin: 0 10px 10px 0; } } } // ---------- 页脚 ---------- .ftr { padding-top: 70px; background: @ink; color: #9ba0aa; .ftr-word { margin-bottom: 44px; padding-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, .09); color: #1d1d22; font-size: 84px; font-weight: 900; line-height: 1; letter-spacing: -.04em; text-align: center; text-transform: uppercase; user-select: none; } .brand img { height: 50px; } .ftr-about { max-width: 310px; margin-top: 18px; font-size: 13.5px; line-height: 1.9; } .ft { margin-bottom: 26px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; } .f-ls li { margin-bottom: 10px; a { color: #9ba0aa; font-size: 13.5px; } a:hover { color: @orange; } } .f-ct li { display: flex; margin-bottom: 12px; font-size: 13.5px; line-height: 1.7; i { flex: 0 0 18px; margin-top: 5px; color: @orange; font-size: 12px; } a { color: #c3c7ce; } img { display: block; max-width: 100%; height: auto; } .f-add { flex: 1 1 0; min-width: 0; } .ip-cn { display: block; margin-top: 2px; } } .f-social { display: flex; margin-top: 20px; a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-right: 9px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: #c3c7ce; font-size: 13px; &:hover { background: @orange; border-color: @orange; color: #fff; } } } .ftr-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .09); color: #6f747e; font-size: 12px; } } .to-top-2 { position: fixed; right: 22px; bottom: 24px; z-index: 900; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: @ink; color: #fff; font-size: 13px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s @ease; cursor: pointer; &.show { opacity: 1; visibility: visible; transform: none; } &:hover { background: @orange; } } .wa-2 { position: fixed; right: 22px; bottom: 80px; z-index: 900; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #25d366; color: #fff; font-size: 19px; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); &:hover { background: #1eb457; color: #fff; } } // ========================================================= // 内页公用 // ========================================================= .ph { position: relative; display: flex; align-items: flex-end; min-height: 540px; padding: 200px 0 68px; background: @ink; color: @white; overflow: hidden; .ph-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 0; img { width: 100%; height: 100%; object-fit: cover; } &::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: linear-gradient(90deg, rgba(6, 6, 7, .94) 0%, rgba(6, 6, 7, .78) 42%, rgba(6, 6, 7, .2) 100%); } } &::after { content: ""; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 103, 35, .16); pointer-events: none; } &::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: linear-gradient(90deg, @orange 0%, rgba(255, 103, 35, 0) 72%); } .container { position: relative; z-index: 2; width: 100%; } h1 { margin: 16px 0 14px; color: @white; font-size: 54px; font-weight: 800; line-height: 1.06; letter-spacing: -.03em; } .ph-sub { max-width: 640px; margin: 0; color: rgba(255, 255, 255, .76); font-size: 15px; line-height: 1.8; } .bc { margin-top: 26px; color: rgba(255, 255, 255, .55); font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; a { color: rgba(255, 255, 255, .8); } a:hover { color: @orange; } span { margin: 0 9px; color: @orange; } } } // ========================================================= // 公司简介 // ========================================================= .ab-lead { max-width: 980px; margin: 0 auto; text-align: center; .q-mark { display: block; margin-bottom: 10px; color: @orange; font-size: 54px; font-weight: 800; line-height: 1; } p { margin: 0; color: @title; font-size: 27px; font-weight: 300; line-height: 1.65; letter-spacing: -.01em; strong { font-weight: 700; color: @orange; } } } .mv2 { height: 100%; margin-bottom: 26px; padding: 36px 30px; border: 1px solid @line; border-radius: 18px; background: #fff; transition: all .35s @ease; .mv2-no { display: inline-block; margin-bottom: 16px; color: @orange; font-size: 11px; font-weight: 800; letter-spacing: .2em; } h3 { margin-bottom: 10px; font-size: 20px; font-weight: 800; } p { margin: 0; color: #7e838d; font-size: 13.5px; line-height: 1.85; } &:hover { border-color: rgba(255, 103, 35, .4); box-shadow: 0 18px 40px rgba(16, 16, 19, .07); } } .orange-band { padding: 56px 0; background: @orange; .ob-item { b { display: block; color: #fff; font-size: 38px; font-weight: 800; line-height: 1; } span { color: rgba(255, 255, 255, .85); font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; } } } .slogan-list { .sl-item { display: flex; align-items: center; padding: 22px 0; border-bottom: 1px solid @line; color: #c8ccd3; font-size: 24px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; transition: color .3s @ease; i { margin-right: 18px; color: @orange; font-size: 14px; } &:hover { color: @title; } } } // ========================================================= // 产品列表 // ========================================================= // 产品页:左分类 + 右列表 .p-layout { display: flex; align-items: flex-start; } .p-side { position: sticky; top: 104px; flex: 0 0 264px; width: 264px; margin-right: 34px; } .p-side-title { margin: 0 0 14px; color: #9aa0aa; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; } .p-main { flex: 1; min-width: 0; } .p-side-help { margin-top: 22px; padding: 22px; border: 1px solid @line; border-radius: 16px; background: @soft-2; h4 { margin: 0 0 8px; color: @title; font-size: 14px; font-weight: 700; } p { margin: 0 0 14px; color: @body; font-size: 12px; line-height: 1.7; } a { display: inline-flex; align-items: center; color: @orange; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; i { margin-left: 8px; font-size: 10px; } } } .p-tabs { display: flex; flex-wrap: wrap; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid @line; a { margin: 0 8px 10px 0; padding: 9px 18px; border: 1px solid @line; border-radius: 30px; color: #4a4e57; font-size: 12px; font-weight: 600; transition: all .25s @ease; span { margin-left: 6px; color: #a6abb5; font-size: 10.5px; } &:hover { border-color: @ink; color: @ink; } &.active { background: @ink; border-color: @ink; color: #fff; span { color: @orange; } } } } // 左侧竖排分类 .p-tabs.p-tabs-vert { display: block; margin-bottom: 0; padding-bottom: 0; border-bottom: 0; a { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 0 8px; padding: 13px 16px; border: 1px solid @line; border-radius: 12px; background: #fff; color: #4a4e57; font-size: 12.5px; font-weight: 600; span { margin-left: 8px; color: #a6abb5; font-size: 10.5px; } &:hover { border-color: rgba(255, 103, 35, .5); color: @ink; } &.active { background: @orange; border-color: @orange; color: #fff; span { color: rgba(255, 255, 255, .82); } } } } .p-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 26px; .p-count { color: #8b909a; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; b { color: @orange; } } .p-search { position: relative; width: 300px; max-width: 100%; input { width: 100%; height: 44px; padding: 0 42px 0 16px; border: 1px solid @line; border-radius: 30px; background: #fff; color: @title; font-family: @font; font-size: 13px; &:focus { outline: 0; border-color: @orange; } &::placeholder { color: #a9aeb8; } } i { position: absolute; right: 17px; top: 14px; color: @orange; font-size: 12px; } } } // ---------- 产品卡片(一行 3-4 个) ---------- .product-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 24px; } .pl-card { display: block; color: inherit; .pl-img { height: 368px; border-radius: 12px; overflow: hidden; background: @soft; img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s @ease; } } .pl-body { padding: 12px 2px 0; h3 { margin: 0 0 4px; color: @title; font-size: 14.5px; font-weight: 700; line-height: 1.4; } .pl-spec { margin: 0; color: @body; font-size: 12px; } } &:hover { .pl-img img { transform: scale(1.05); } h3 { color: @orange; } } } // 分页 .p-pager { display: flex; justify-content: center; margin-top: 36px; button { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; margin: 0 4px; padding: 0 10px; border: 1px solid @line; border-radius: 10px; background: #fff; color: @title; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .25s @ease; &:hover { border-color: @ink; } &.active { background: @orange; border-color: @orange; color: #fff; } &:disabled { opacity: .35; cursor: default; } } } .pc { height: 100%; margin-bottom: 26px; border: 1px solid @line; border-radius: 16px; background: #fff; overflow: hidden; transition: all .3s @ease; .pc-img { position: relative; height: 200px; padding: 16px; background: @soft; img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s @ease; } img.fill { object-fit: cover; } .pc-tag { position: absolute; left: 14px; top: 14px; padding: 3px 9px; border-radius: 20px; background: rgba(255, 255, 255, .92); color: @orange; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; } } .pc-body { padding: 20px 22px 22px; h4 { margin-bottom: 7px; font-size: 15.5px; font-weight: 700; line-height: 1.45; } .pc-spec { margin: 0 0 15px; color: #8b909a; font-size: 11.5px; } .pc-link { display: inline-flex; align-items: center; color: @title; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; i { margin-left: 7px; transition: transform .3s @ease; } } } &:hover { border-color: rgba(255, 103, 35, .45); box-shadow: 0 16px 36px rgba(16, 16, 19, .07); transform: translateY(-4px); .pc-img img { transform: scale(1.05); } .pc-link { color: @orange; } .pc-link i { transform: translateX(4px); } } } .p-empty { display: none; padding: 60px 20px; border: 1px dashed @line; border-radius: 16px; color: #8b909a; text-align: center; &.show { display: block; } } .banner-cta { position: relative; padding: 74px 0; background: @orange; overflow: hidden; h2 { margin: 0 0 10px; color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.02em; } p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 14px; } .bc-btn { display: flex; justify-content: flex-end; .btn-d { background: #fff; border-color: #fff; color: @ink; } .btn-d:hover { background: @ink; border-color: @ink; color: #fff; } } } // ---------- 全球市场 ---------- .wm-panel { position: relative; border-radius: 20px; overflow: hidden; background: @ink; img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; } .wm-legend { position: absolute; left: 20px; bottom: 20px; display: flex; flex-wrap: wrap; gap: 8px; span { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 30px; background: rgba(11, 11, 13, .82); color: #fff; font-size: 11px; font-weight: 600; i { width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: @orange; } &.plan i { background: #c8ccd4; } } } } .mk-region { height: 100%; padding: 28px 26px; border: 1px solid @line; border-radius: 18px; background: #fff; .mk-head { display: flex; align-items: center; margin-bottom: 16px; .mk-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; margin-right: 14px; border-radius: 14px; background: rgba(255, 103, 35, .1); color: @orange; font-size: 17px; } h3 { margin: 0 0 3px; font-size: 17px; font-weight: 800; } small { color: #8b909a; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; } } } .mk-group { padding: 14px 0 0; margin-top: 14px; border-top: 1px dashed @line; .mk-label { display: inline-flex; align-items: center; margin-bottom: 12px; color: @orange; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; &::before { content: ""; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: @orange; } &.plan { color: #8b909a; &::before { background: #c8ccd4; } } } } .mk-countries { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; li { display: inline-flex; align-items: center; padding: 6px 12px 6px 8px; border: 1px solid @line; border-radius: 30px; background: @soft-2; color: @title; font-size: 12px; font-weight: 600; .ccode { display: inline-flex; align-items: center; justify-content: center; width: 23px; height: 16px; margin-right: 7px; border-radius: 3px; background: rgba(255, 103, 35, .12); color: @orange; font-size: 8.5px; font-weight: 800; letter-spacing: .04em; } } } // ---------- 解决方案 ---------- .sol-visual { height: 420px; border-radius: 18px; overflow: hidden; background: @soft; img { width: 100%; height: 100%; object-fit: cover; } } .sol-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; .sol-step { height: 100%; padding: 26px 24px; border: 1px solid @line; border-radius: 16px; background: #fff; .ss-no { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: rgba(255, 103, 35, .1); color: @orange; font-size: 13px; font-weight: 800; } h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; line-height: 1.45; } p { margin: 0; color: @body; font-size: 12.5px; line-height: 1.75; } } } // ---------- 分类总览卡片(产品中心) ---------- .catx { height: 100%; display: flex; flex-direction: column; padding: 26px 26px 24px; border: 1px solid @line; border-radius: 16px; background: #fff; transition: all .3s @ease; .catx-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; } .catx-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 103, 35, .1); color: @orange; font-size: 17px; } .catx-count { color: #9aa0a9; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; } h3 { margin: 0 0 12px; font-size: 15.5px; font-weight: 800; line-height: 1.4; } .catx-list { margin: 0 0 16px; padding: 0; list-style: none; columns: 2; column-gap: 16px; li { position: relative; padding-left: 13px; margin-bottom: 6px; color: @body; font-size: 11.5px; line-height: 1.5; break-inside: avoid; &::before { content: ""; position: absolute; left: 0; top: 6px; width: 4px; height: 4px; border-radius: 50%; background: @orange; } } } .catx-link { display: inline-flex; align-items: center; margin-top: auto; align-self: flex-start; color: @title; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; i { margin-left: 8px; transition: transform .3s @ease; } &:hover { color: @orange; } &:hover i { transform: translateX(5px); } } &:hover { border-color: rgba(255, 103, 35, .45); box-shadow: 0 16px 36px rgba(16, 16, 19, .06); transform: translateY(-4px); } } // ========================================================= // 产品详情 // ========================================================= // 居中副标题(询盘区等处使用) .sec-sub { max-width: 720px; margin: 0 auto; color: @body; font-size: 14.5px; line-height: 1.85; } // 面包屑:深色导航下方的浅色条 .crumb-bar { padding: 118px 0 18px; border-bottom: 1px solid @line; background: @soft-2; .container { display: flex; align-items: center; flex-wrap: wrap; color: #b6bac2; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; } a { color: #8b909a; } a:hover { color: @orange; } span { margin: 0 9px; color: #ccd0d7; } em { color: @title; font-style: normal; } } .pd-hero { padding: 44px 0 56px; background: linear-gradient(180deg, @soft-2 0%, #fff 78%); .row { row-gap: 30px; } } // ---------- 图集 ---------- .pd-gallery { .pd-main { display: flex; align-items: center; justify-content: center; height: 470px; padding: 30px; border: 1px solid @line; border-radius: 18px; background: #fff; img { max-width: 100%; max-height: 100%; object-fit: contain; } } .pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; span { display: flex; align-items: center; justify-content: center; height: 92px; padding: 8px; border: 1px solid @line; border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; transition: border-color .25s @ease; img { width: 100%; height: 100%; object-fit: contain; } &:hover, &.active { border-color: @orange; } } } } // ---------- 右侧信息 ---------- .pd-intro { .pd-kicker { display: inline-flex; align-items: center; color: @orange; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; i { margin-right: 8px; } } h1 { margin: 12px 0 12px; color: @title; font-size: 32px; font-weight: 800; line-height: 1.24; letter-spacing: -.02em; } .pd-model { display: inline-block; margin-bottom: 16px; padding: 6px 12px; border-radius: 8px; background: @soft; color: #8b909a; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; b { margin-left: 6px; color: @title; letter-spacing: .02em; } } .pd-short { margin: 0 0 20px; color: @body; font-size: 14.5px; line-height: 1.85; } } .pd-hl { margin: 0 0 22px; padding: 0; list-style: none; li { display: flex; align-items: flex-start; margin-bottom: 10px; color: #2b2d33; font-size: 13.5px; line-height: 1.7; i { margin: 4px 10px 0 0; color: @orange; font-size: 12px; } } } .pd-key { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; > div { padding: 12px 14px; border: 1px solid @line; border-radius: 12px; background: #fff; small { display: block; margin-bottom: 5px; color: #8b909a; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; } b { color: @title; font-size: 13.5px; font-weight: 700; } } } .pd-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; .btn-o, .btn-g { height: 48px; padding: 0 24px; font-size: 12px; } } .pd-dl { display: flex; align-items: center; margin-bottom: 16px; padding: 14px 18px; border: 1px solid @line; border-radius: 12px; background: @soft-2; color: @title; transition: all .3s @ease; > i:first-child { margin-right: 14px; color: @orange; font-size: 22px; } span { flex: 1; b { display: block; font-size: 12.5px; font-weight: 700; } small { color: #8b909a; font-size: 11px; } } > i:last-child { color: #b6bac2; font-size: 13px; } &:hover { border-color: rgba(255, 103, 35, .5); background: #fff; color: @orange; } } .pd-certs { display: flex; flex-wrap: wrap; gap: 8px; span { display: inline-flex; align-items: center; padding: 6px 12px; border: 1px solid @line; border-radius: 30px; background: #fff; color: #55595f; font-size: 11px; font-weight: 600; i { margin-right: 7px; color: @orange; font-size: 10.5px; } } } // ---------- 画册资料 ---------- .pd-docs-tip { color: #8b909a; font-size: 12px; i { margin-right: 7px; color: @orange; } } .pd-docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; figure { margin: 0; border: 1px solid @line; border-radius: 16px; background: #fff; overflow: hidden; transition: border-color .3s @ease, box-shadow .3s @ease; a { display: block; line-height: 0; img { width: 100%; height: auto; transition: transform .4s @ease; } } figcaption { padding: 12px 16px; border-top: 1px solid @line; color: #8b909a; font-size: 12px; line-height: 1.5; } &:hover { border-color: rgba(255, 103, 35, .5); box-shadow: 0 18px 40px rgba(23, 26, 32, .08); img { transform: scale(1.015); } } } @media (max-width: 767px) { grid-template-columns: 1fr; gap: 16px; } } // 参数页:单列大图,便于读表格 .pd-docs-list { max-width: 980px; margin: 0 auto; .pd-doc { margin: 0 0 26px; border: 1px solid @line; border-radius: 16px; background: #fff; overflow: hidden; img { display: block; width: 100%; height: auto; } figcaption { padding: 12px 18px; border-top: 1px solid @line; color: #8b909a; font-size: 12px; } &:last-child { margin-bottom: 0; } } } // ---------- 内容块 ---------- .pd-block { height: 100%; padding: 30px 32px; border: 1px solid @line; border-radius: 18px; background: #fff; .pd-h { position: relative; margin: 0 0 22px; padding-left: 16px; color: @title; font-size: 19px; font-weight: 800; letter-spacing: -.01em; &::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: @orange; } } } .pd-row2 { row-gap: 26px; margin-top: 26px; } .pd-feat { margin: 0 0 24px; padding: 0; list-style: none; li { display: flex; align-items: flex-start; margin-bottom: 12px; color: #2b2d33; font-size: 13.5px; line-height: 1.7; i { margin: 5px 10px 0 0; color: @orange; font-size: 11px; } } } .pd-range { padding: 18px 20px; border-left: 3px solid @orange; border-radius: 0 12px 12px 0; background: @soft; span { display: block; margin-bottom: 6px; color: #8b909a; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; } p { margin: 0; color: @title; font-size: 13px; font-weight: 600; line-height: 1.75; } } .pd-specs { width: 100%; border-collapse: collapse; th, td { padding: 11px 12px; border-bottom: 1px solid @line; font-size: 12.5px; line-height: 1.6; text-align: left; vertical-align: top; } th { width: 44%; color: #8b909a; font-weight: 600; } td { color: @title; font-weight: 600; } tr:last-child th, tr:last-child td { border-bottom: 0; } tr:nth-child(even) { background: @soft-2; } } .pd-apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; .pd-app { display: flex; align-items: center; padding: 14px 16px; border: 1px solid @line; border-radius: 12px; background: @soft-2; i { margin-right: 12px; color: @orange; font-size: 16px; } span { color: @title; font-size: 12.5px; font-weight: 600; line-height: 1.5; } } } .pd-adv { margin: 0; padding: 0; list-style: none; li { display: flex; align-items: flex-start; padding: 13px 0; border-bottom: 1px dashed @line; color: #2b2d33; font-size: 13.5px; line-height: 1.7; &:last-child { padding-bottom: 0; border-bottom: 0; } i { margin: 4px 10px 0 0; color: @orange; font-size: 13px; } } } .pd-extra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; .pd-ex-item { padding: 26px 28px; border: 1px solid @line; border-radius: 18px; background: @soft-2; h3 { margin: 0 0 14px; color: @title; font-size: 15px; font-weight: 800; } p { margin: 0 0 12px; color: @body; font-size: 13px; line-height: 1.8; } } .pd-certs { display: flex; } .pd-doc { display: flex; align-items: center; margin-bottom: 10px; color: @title; font-size: 12.5px; font-weight: 600; i { margin-right: 10px; color: @orange; } &:hover { color: @orange; } } } .pager-wrap{ a{ padding: 3px 10px; color: #666; border: 1px solid #f1f1f1; &.on{ background: @orange; color: #fff; } } } // ========================================================= // 响应式 // ========================================================= @media (max-width: 1199px) { .nav-list .n-item { margin: 0 11px; } .hdr-right .hdr-phone { display: none; } .hero-copy h1 { font-size: 56px; } .product-list { grid-template-columns: repeat(3, 1fr); } .h2 { font-size: 34px; } .sec { padding: 88px 0; } .why-aside { padding-right: 10px; } } @media (max-width: 991px) { .nav-list { display: none; } .lang { display: none; } .hdr-right .btn-o { margin-right: 10px; } .burger { display: flex; align-items: center; justify-content: center; } .hdr-inner { height: 72px; } .hero { min-height: 640px; padding: 140px 0 0; } .hero-copy { max-width: 100%; padding: 0 0 56px; } .hero-copy h1 { font-size: 44px; } .hero-meta { margin-top: 40px; } .quick-band { padding: 26px 0 8px; } .p-layout { display: block; } .p-side { position: static; flex: none; width: auto; margin: 0 0 24px; } .p-side-title { display: none; } .p-side-help { display: none; } .p-tabs.p-tabs-vert { display: flex; flex-wrap: wrap; a { width: auto; margin: 0 8px 8px 0; padding: 9px 16px; border-radius: 30px; font-size: 12px; } } .about-visual { padding: 0 0 40px 30px; margin-bottom: 30px; } .about-visual .av-big { height: 380px; } .about-copy { padding-left: 0; } .num-row .num-item { width: 50%; margin-bottom: 22px; } .market-copy { padding-right: 0; margin-bottom: 26px; } .market-panel { padding: 34px 26px; } .inq-card { margin-bottom: 26px; padding: 30px 24px; } .info-panel { padding: 32px 26px; } .map-panel .mp-frame { height: 280px; } .ph { min-height: 460px; padding: 170px 0 54px; } .ph h1 { font-size: 44px; } .ph .ph-bg::after { background: linear-gradient(90deg, rgba(6, 6, 7, .94) 0%, rgba(6, 6, 7, .74) 60%, rgba(6, 6, 7, .35) 100%); } .ab-lead p { font-size: 21px; } .banner-cta .bc-btn { justify-content: flex-start; margin-top: 20px; } .pd-gallery .pd-main { height: 380px; } .pd-extra { grid-template-columns: 1fr; } .sol-steps { grid-template-columns: repeat(2, 1fr); } .sol-visual { height: 340px; margin-bottom: 26px; } } @media (max-width: 767px) { body { font-size: 14px; } .sec { padding: 64px 0; } .h2 { font-size: 27px; } .sec-head { margin-bottom: 32px; } .sec-head.split { display: block; } .sec-head.split .arrow-link { margin-top: 12px; } .hero { min-height: 560px; padding: 108px 0 0; } .hero .hero-bg::after { background: linear-gradient(180deg, rgba(8, 8, 10, .82) 0%, rgba(8, 8, 10, .93) 100%); } .hero-copy { padding: 0 0 44px; } .hero-copy h1 { font-size: 34px; } .hero-copy p { font-size: 13.5px; } .hero-copy .hero-btns { margin-top: 26px; } .hero-copy .hero-btns .btn-o, .hero-copy .hero-btns .btn-g { height: 46px; padding: 0 20px; font-size: 11.5px; } .hero-meta { display: none; } .quick-cards .q-card { padding: 18px 20px; } .about-visual { padding-left: 0; } .about-visual .av-big { height: 280px; } .about-visual .av-small { position: static; width: 100%; height: 150px; margin-top: 12px; border-width: 0; } .about-visual .av-badge { padding: 14px 18px; } .about-visual .av-badge b { font-size: 22px; } .num-row { margin-top: 36px; padding-top: 28px; } .num-row .num-item b { font-size: 30px; } .c-card .c-img { height: 180px; } .pcard-dark .pd-img { height: 190px; } .pl-card .pl-img { height: 130px; border-radius: 10px; } .pl-card .pl-body { padding-top: 10px; } .pl-card .pl-body h3 { font-size: 13px; } .pl-card .pl-body .pl-spec { font-size: 11px; } .product-list { gap: 18px 14px; grid-template-columns: repeat(2, 1fr); } .p-pager { margin-top: 26px; } .why-row .why-cell .w-no { flex: 0 0 56px; font-size: 26px; } .market-panel h3 { font-size: 18px; } .nw-card .nw-img { height: 180px; } .nw-cats { margin-top: 16px; padding-top: 20px; } .map-panel { margin-top: 32px; border-radius: 18px; } .map-panel .mp-head { display: block; padding: 20px; } .map-panel .mp-head .arrow-link { display: inline-block; margin-top: 10px; } .map-panel .mp-frame { height: 240px; } .map-panel .mp-frame .mp-addr { left: 16px; right: 16px; bottom: 42px; font-size: 11.5px; } .map-panel .mp-frame .mp-coord { left: 16px; bottom: 14px; font-size: 10.5px; } .ph { min-height: 400px; padding: 140px 0 44px; } .ph h1 { font-size: 31px; line-height: 1.12; } .ph .ph-sub { font-size: 13.5px; line-height: 1.75; } .ph .ph-bg::after { background: linear-gradient(180deg, rgba(6, 6, 7, .82) 0%, rgba(6, 6, 7, .92) 100%); } .ph::after { display: none; } .ab-lead p { font-size: 18px; } .ab-lead .q-mark { font-size: 40px; } .slogan-list .sl-item { font-size: 16px; } .p-toolbar { display: block; } .p-toolbar .p-count { margin-bottom: 12px; } .p-toolbar .p-search { width: 100%; } .p-tabs a { padding: 7px 14px; font-size: 11px; } .catx { padding: 22px 20px; } .catx .catx-list { columns: 1; } .sol-steps { grid-template-columns: 1fr; gap: 14px; } .sol-visual { height: 240px; } .wm-panel { margin-bottom: 26px; } .wm-panel img { min-height: 220px; } .wm-panel .wm-legend { left: 14px; bottom: 14px; } .mk-region { padding: 22px 20px; } .art h1 { font-size: 24px; } .art .art-img { height: 220px; } .art .art-body p { font-size: 14px; } .art-nav a { max-width: 100%; margin-bottom: 10px; } .wx-card { padding: 22px 18px; } .wx-card img { width: 200px; } .pc .pc-img { height: 180px; } .banner-cta { padding: 50px 0; } .banner-cta h2 { font-size: 24px; } .crumb-bar { padding-top: 104px; font-size: 10px; } .pd-hero { padding: 30px 0 44px; } .pd-gallery .pd-main { height: 300px; padding: 18px; } .pd-gallery .pd-thumbs { gap: 8px; } .pd-gallery .pd-thumbs span { height: 64px; padding: 6px; } .pd-intro h1 { font-size: 25px; } .pd-key { grid-template-columns: 1fr 1fr; } .pd-block { padding: 24px 20px; } .pd-apps { grid-template-columns: 1fr; } .pd-actions .btn-o, .pd-actions .btn-g { flex: 1 1 100%; } .ftr { padding-top: 50px; } .ftr .ftr-word { font-size: 34px; margin-bottom: 30px; } .ftr .ftr-bottom { margin-top: 24px; } .to-top-2, .wa-2 { width: 40px; height: 40px; } .wa-2 { bottom: 72px; } } // 超小屏(≤479):头部只保留 logo 与汉堡,避免挤压 @media (max-width: 479px) { .hdr-right .btn-o { display: none; } .brand img { height: 38px; } .hdr-right { margin-left: auto; } } // 404:压缩页头,让推荐入口在首屏可见 .ph.ph-compact { min-height: 410px; padding: 148px 0 52px; } @media (max-width: 991px) { .ph.ph-compact { min-height: 350px; padding: 128px 0 40px; } } @media (max-width: 767px) { .ph.ph-compact { min-height: 300px; padding: 112px 0 32px; } } // ========================================================= // 询盘清单:产品卡片加号 + 右下角浮动面板 + 表单已选列表 // ========================================================= .pl-cell { position: relative; } // 产品卡片右上角加号 .pl-pick { position: absolute; top: 12px; right: 12px; z-index: 3; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; border: 1px solid @line; border-radius: 50%; background: rgba(255, 255, 255, .94); color: @ink; font-size: 12px; box-shadow: 0 6px 16px rgba(11, 11, 13, .14); cursor: pointer; transition: all .25s @ease; &:hover { border-color: @orange; background: @orange; color: #fff; } &.on { border-color: @orange; background: @orange; color: #fff; } } // 按钮/链接默认按「文字 + 图标」排(.btn-g i 的 margin-left); // 下图位置是「图标 + 文字」的写法,留白反到右侧(:first-child 无法区分文本节点,不能通用) .pd-actions .btn-g i, .ip-actions .btn-o i { margin-left: 0; margin-right: 8px; } // 产品详情页「加入清单」按钮的选中态 .btn-g.pd-pick.on { border-color: @orange; background: @orange; color: #fff; } // 右下角悬浮入口(与 WhatsApp / 回到顶部同一条竖线) .inq-cart { position: fixed; right: 22px; bottom: 136px; z-index: 940; } .ic-fab { position: relative; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: @ink; color: #fff; font-size: 17px; box-shadow: 0 12px 26px rgba(11, 11, 13, .28); cursor: pointer; transition: all .25s @ease; &:hover { background: @orange; } &.hide { opacity: 0; visibility: hidden; transform: scale(.8); pointer-events: none; } } .ic-badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: @orange; color: #fff; font-size: 10px; font-weight: 700; line-height: 18px; text-align: center; box-shadow: 0 4px 10px rgba(255, 103, 35, .45); } // 展开面板 .ic-panel { position: fixed; right: 22px; bottom: 196px; z-index: 950; display: none; flex-direction: column; width: 340px; max-height: 70vh; border-radius: 18px; background: #fff; box-shadow: 0 26px 60px rgba(11, 11, 13, .22); overflow: hidden; &.open { display: flex; } } .ic-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid @line; b { display: inline-flex; align-items: center; color: @title; font-size: 13px; font-weight: 800; i { margin-right: 7px; color: @orange; } } } .ic-num { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 7px; border-radius: 10px; background: rgba(255, 103, 35, .12); color: @orange; font-size: 11px; font-weight: 700; } .ic-close { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: @soft; color: #5d6169; font-size: 11px; cursor: pointer; transition: all .2s @ease; &:hover { background: @line; color: @title; } } .ic-list { flex: 1 1 auto; max-height: 42vh; padding: 4px 18px; overflow-y: auto; li { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px dashed @line; &:last-child { border-bottom: 0; } } } .ic-name { flex: 1 1 auto; min-width: 0; display: block; b { display: block; color: @title; font-size: 12.5px; font-weight: 700; line-height: 1.45; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } small { display: block; color: #8b909a; font-size: 11px; } &:hover b { color: @orange; } } .ic-del { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: @soft; color: #8b909a; font-size: 10px; cursor: pointer; transition: all .2s @ease; &:hover { background: rgba(255, 103, 35, .12); color: @orange; } } .ic-empty { padding: 26px 18px; margin: 0; color: #8b909a; font-size: 12px; line-height: 1.7; text-align: center; } .ic-foot { padding: 14px 18px 16px; border-top: 1px solid @line; .btn-o i { margin-left: 8px; } } .ic-clear { display: block; width: 100%; margin-top: 10px; padding: 0; border: 0; background: none; color: #8b909a; font-size: 11.5px; text-decoration: underline; cursor: pointer; &:hover { color: @orange; } } .ic-send-off { opacity: .45; pointer-events: none; } // 表单里的「已选产品」 .inq-picked { margin: 0 0 6px; li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px; border: 1px solid @line; border-radius: 10px; background: #fff; &:last-child { margin-bottom: 0; } } } .inq-picked-num { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: rgba(255, 103, 35, .12); color: @orange; font-size: 10px; font-weight: 700; } .inq-picked-tip { display: block; margin-bottom: 4px; color: #8b909a; font-size: 11px; } @media (max-width: 575.98px) { .inq-cart { bottom: 128px; } .ic-panel { right: 12px; left: 12px; bottom: 186px; width: auto; } .ic-list { max-height: 38vh; } }