服务城市
+4座
+diff --git a/assets/css/style.css b/assets/css/style.css new file mode 100644 index 0000000..7a56692 --- /dev/null +++ b/assets/css/style.css @@ -0,0 +1,2622 @@ +/* ========================================================= + 暖橙陪诊 · 官网样式 + 视觉方向:Delex 风格的结构与节奏,暖橙品牌色 + ========================================================= */ + +@font-face { + font-family: 'Inter'; + src: url('../fonts/inter-latin.woff2') format('woff2'); + font-style: normal; + font-weight: 100 900; + font-display: swap; +} + +@font-face { + font-family: 'Teko'; + src: url('../fonts/teko-latin.woff2') format('woff2'); + font-style: normal; + font-weight: 300 700; + font-display: swap; +} + +:root { + --brand: #B8520A; + --brand-dark: #9B4508; + --brand-line: #FFE0C2; + --brand-soft: #FFF4E8; + --ink: #2B2521; + --ink-2: #4A4038; + --muted: #6F655C; + --paper: #FAF8F5; + --line: #ECE3D6; + --sep: #E5DACC; + --white: #FFFFFF; + --dark: #191410; + --font-body: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; + --font-display: 'Teko', 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif; + --radius: 18px; + --shadow-card: 0 18px 50px rgba(63, 43, 25, .08); + --shadow-card-hover: 0 24px 60px rgba(63, 43, 25, .13); + --header-height: 76px; + --ease: cubic-bezier(.2, .7, .2, 1); +} + +/* ---------- 基础 ---------- */ + +*, +*::before, +*::after { + box-sizing: border-box; +} + +html { + scroll-behavior: smooth; + -webkit-text-size-adjust: 100%; +} + +body { + margin: 0; + font-family: var(--font-body); + font-size: 16px; + line-height: 1.7; + color: var(--ink-2); + background: var(--white); + overflow-x: hidden; +} + +body.is-locked { + overflow: hidden; +} + +img { + display: block; + max-width: 100%; +} + +a { + color: inherit; + text-decoration: none; +} + +button { + font: inherit; + color: inherit; + cursor: pointer; +} + +ul, +ol { + margin: 0; + padding: 0; + list-style: none; +} + +h1, +h2, +h3, +h4, +p { + margin: 0; +} + +h1, +h2, +h3, +h4 { + color: var(--ink); + line-height: 1.25; +} + +::selection { + background: var(--brand-line); + color: var(--brand-dark); +} + +:focus-visible { + outline: 3px solid rgba(184, 82, 10, .45); + outline-offset: 3px; +} + +.hero :focus-visible, +.contact :focus-visible { + outline-color: rgba(255, 255, 255, .9); +} + +section[id] { + scroll-margin-top: calc(var(--header-height) + 12px); +} + +.icon-sprite { + position: absolute; + width: 0; + height: 0; + overflow: hidden; +} + +.icon { + width: 24px; + height: 24px; + flex: none; + fill: none; + stroke: currentColor; + stroke-width: 1.8; + stroke-linecap: round; + stroke-linejoin: round; + vertical-align: middle; +} + +.skip-link { + position: fixed; + top: -100px; + left: 16px; + z-index: 999; + padding: 10px 18px; + border-radius: 8px; + background: var(--ink); + color: var(--white); + font-size: 14px; + transition: top .2s; +} + +.skip-link:focus { + top: 16px; +} + +.container { + width: min(1240px, calc(100% - 48px)); + margin-inline: auto; +} + +/* ---------- 通用标题 ---------- */ + +.eyebrow { + display: flex; + align-items: center; + gap: 12px; + color: var(--brand); + font-size: 12px; + font-weight: 600; + line-height: 1.4; + letter-spacing: .18em; + text-transform: uppercase; +} + +.eyebrow > span:first-child { + width: 32px; + height: 2px; + background: currentColor; + flex: none; +} + +.eyebrow-light { + color: #F6CFA8; +} + +.section { + padding: 112px 0; +} + +.section-head { + position: relative; + max-width: 780px; + margin-bottom: 54px; +} + +.section-head--center { + margin-inline: auto; + text-align: center; +} + +.section-head--center .eyebrow { + justify-content: center; +} + +.section-title { + position: relative; + margin-top: 16px; + padding-bottom: 26px; + color: var(--ink); + font-size: clamp(32px, 4.2vw, 52px); + font-weight: 700; + line-height: 1.24; + letter-spacing: -.02em; + text-wrap: balance; +} + +.section-title::after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + width: 150px; + height: 4px; + border-radius: 2px; + background: var(--brand); +} + +.section-title::before { + content: ''; + position: absolute; + left: 0; + bottom: 0; + z-index: 1; + width: 6px; + height: 4px; + background: var(--white); + animation: title-dot 5s linear infinite; +} + +.section-head--center .section-title::after { + left: 50%; + margin-left: -75px; +} + +.section-head--center .section-title::before { + animation: title-dot-center 5s linear infinite; +} + +@keyframes title-dot { + 0%, 100% { left: 0; } + 50% { left: 144px; } +} + +@keyframes title-dot-center { + 0%, 100% { left: calc(50% - 75px); } + 50% { left: calc(50% + 69px); } +} + +.section-sub { + max-width: 660px; + margin-top: 16px; + color: var(--muted); + font-size: 15px; + line-height: 1.8; +} + +.br-mobile { + display: none; +} + +.section-head--center .section-sub { + margin-inline: auto; +} + +/* ---------- 按钮 ---------- */ + +.btn { + display: inline-flex; + align-items: center; + justify-content: center; + gap: 10px; + min-height: 48px; + padding: 13px 26px; + border: 1px solid transparent; + border-radius: 10px; + font-size: 14px; + font-weight: 600; + line-height: 1; + white-space: nowrap; + transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s; +} + +.btn .icon { + width: 18px; + height: 18px; +} + +.btn-primary { + background: var(--brand); + color: var(--white); +} + +.btn-primary:hover { + background: var(--brand-dark); + transform: translateY(-2px); + box-shadow: 0 12px 26px rgba(184, 82, 10, .24); +} + +.btn-outline { + border-color: rgba(255, 255, 255, .42); + color: var(--white); + background: transparent; +} + +.btn-outline:hover { + background: var(--white); + border-color: var(--white); + color: var(--ink); +} + +.btn-dark { + background: var(--ink); + color: var(--white); +} + +.btn-dark:hover { + background: #000; + transform: translateY(-2px); +} + +.btn-ghost { + border-color: rgba(255, 255, 255, .34); + color: var(--white); + background: rgba(255, 255, 255, .08); +} + +.btn-ghost:hover { + background: var(--white); + border-color: var(--white); + color: var(--brand-dark); +} + +.btn-outline-dark { + border-color: var(--line); + color: var(--ink); + background: var(--white); +} + +.btn-outline-dark:hover { + border-color: var(--brand-line); + background: var(--brand-soft); + color: var(--brand-dark); +} + +.btn-lg { + min-height: 54px; + padding: 16px 30px; + font-size: 15px; +} + +/* ---------- 头部导航 ---------- */ + +.site-header { + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 100; + padding: 14px 0; + transition: background .35s, box-shadow .35s, padding .35s, backdrop-filter .35s; +} + +.header-inner { + display: flex; + align-items: center; + gap: 28px; +} + +.brand { + display: flex; + align-items: center; + gap: 12px; + color: var(--white); + flex: none; +} + +.brand-mark { + display: grid; + place-items: center; + width: 46px; + height: 46px; + border-radius: 13px; + background: var(--brand); + overflow: hidden; + transition: width .3s, height .3s; +} + +.brand-mark img { + width: 34px; + height: 34px; + object-fit: contain; +} + +.brand-text { + display: flex; + flex-direction: column; + line-height: 1.1; +} + +.brand-text strong { + font-size: 19px; + font-weight: 700; + letter-spacing: .02em; +} + +.brand-text small { + margin-top: 5px; + color: rgba(255, 255, 255, .62); + font-size: 8px; + font-weight: 500; + letter-spacing: .2em; + white-space: nowrap; + transition: color .3s; +} + +.nav { + display: flex; + align-items: center; + gap: 26px; + margin-left: auto; +} + +.nav-link { + position: relative; + padding: 8px 0; + color: rgba(255, 255, 255, .76); + font-size: 14px; + font-weight: 500; + letter-spacing: .02em; + transition: color .2s; +} + +.nav-link::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + height: 2px; + background: var(--brand-line); + transform: scaleX(0); + transform-origin: left; + transition: transform .3s var(--ease); +} + +.site-header.is-scrolled .nav-link::after { + background: var(--brand); +} + +.nav-link:hover, +.nav-link.is-active { + color: var(--white); +} + +.nav-link.is-active::after { + transform: scaleX(1); +} + +.header-cta { + min-height: 42px; + padding: 10px 20px; + flex: none; +} + +.nav-toggle { + display: none; + place-items: center; + width: 44px; + height: 44px; + margin-left: auto; + border: 1px solid rgba(255, 255, 255, .25); + border-radius: 10px; + background: rgba(255, 255, 255, .08); + color: var(--white); +} + +.nav-toggle .icon { + width: 22px; + height: 22px; +} + +.nav-toggle .icon-close { + display: none; +} + +.nav-toggle[aria-expanded='true'] .icon-menu { + display: none; +} + +.nav-toggle[aria-expanded='true'] .icon-close { + display: block; +} + +/* 滚动态 */ + +.site-header.is-scrolled { + padding: 8px 0; + background: rgba(250, 248, 245, .95); + box-shadow: 0 10px 34px rgba(63, 43, 25, .08); + backdrop-filter: blur(14px); +} + +.site-header.is-scrolled .brand { + color: var(--ink); +} + +.site-header.is-scrolled .brand-mark { + width: 42px; + height: 42px; +} + +.site-header.is-scrolled .brand-mark img { + width: 31px; + height: 31px; +} + +.site-header.is-scrolled .brand-text small { + color: var(--muted); +} + +.site-header.is-scrolled .nav-link { + color: var(--muted); +} + +.site-header.is-scrolled .nav-link:hover, +.site-header.is-scrolled .nav-link.is-active { + color: var(--brand); +} + +.site-header.is-scrolled .nav-toggle { + border-color: var(--line); + background: var(--white); + color: var(--ink); +} + +/* ---------- Hero ---------- */ + +.hero { + position: relative; + display: flex; + align-items: center; + min-height: 100vh; + min-height: 760px; + padding: 154px 0 214px; + background: var(--dark); + overflow: hidden; +} + +.hero-bg { + position: absolute; + inset: 0; + background: url('../images/hero.jpg') center right / cover no-repeat; + animation: hero-zoom 16s var(--ease) forwards; +} + +.hero::before { + content: ''; + position: absolute; + inset: 0; + z-index: 1; + background: linear-gradient(90deg, rgba(20, 14, 10, .92) 0%, rgba(20, 14, 10, .76) 38%, rgba(20, 14, 10, .28) 70%, rgba(20, 14, 10, .08) 100%); +} + +.hero::after { + content: ''; + position: absolute; + left: 0; + right: 0; + bottom: 0; + z-index: 1; + height: 160px; + background: linear-gradient(180deg, rgba(20, 14, 10, 0) 0%, rgba(20, 14, 10, .32) 100%); +} + +@keyframes hero-zoom { + from { transform: scale(1.06); } + to { transform: scale(1); } +} + +.hero-inner { + position: relative; + z-index: 2; +} + +.hero-content { + max-width: 700px; + text-shadow: 0 2px 16px rgba(0, 0, 0, .35); +} + +.hero .btn-outline { + background: rgba(20, 14, 10, .3); + backdrop-filter: blur(6px); +} + +.hero .btn-outline:hover { + background: var(--white); + color: var(--ink); +} + +.hero-title { + margin: 22px 0 24px; + color: var(--white); + font-size: clamp(44px, 6.2vw, 84px); + font-weight: 700; + line-height: 1.12; + letter-spacing: -.03em; +} + +.hero-title em { + color: var(--brand-line); + font-style: normal; +} + +.hero-lead { + max-width: 560px; + color: rgba(255, 255, 255, .78); + font-size: 17px; + line-height: 1.85; +} + +.hero-actions { + display: flex; + flex-wrap: wrap; + gap: 14px; + margin-top: 34px; +} + +.hero-trust { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: 12px 22px; + margin-top: 38px; +} + +.hero-trust li { + display: flex; + align-items: center; + gap: 8px; + color: rgba(255, 255, 255, .72); + font-size: 13px; + line-height: 1.4; +} + +.hero-trust li + li { + padding-left: 22px; + border-left: 1px solid rgba(255, 255, 255, .22); +} + +.hero-trust .icon { + width: 16px; + height: 16px; + color: #F6CFA8; +} + +.hero-scroll { + position: absolute; + left: 50%; + bottom: 116px; + z-index: 3; + display: flex; + justify-content: center; + width: 26px; + height: 42px; + padding-top: 8px; + border: 2px solid rgba(255, 255, 255, .32); + border-radius: 999px; + transform: translateX(-50%); +} + +.hero-scroll span { + width: 4px; + height: 8px; + border-radius: 2px; + background: var(--white); + animation: scroll-dot 1.8s ease-in-out infinite; +} + +@keyframes scroll-dot { + 0%, 100% { transform: translateY(0); opacity: .4; } + 50% { transform: translateY(10px); opacity: 1; } +} + +/* ---------- 数据条 ---------- */ + +.facts { + position: relative; + z-index: 5; + margin-top: -80px; +} + +.facts-grid { + display: grid; + grid-template-columns: repeat(4, 1fr); + overflow: hidden; + border-radius: var(--radius); + box-shadow: 0 26px 70px rgba(63, 43, 25, .14); +} + +.fact { + display: flex; + align-items: center; + gap: 18px; + min-height: 142px; + padding: 26px 30px; + background: var(--white); + border-right: 1px solid var(--line); +} + +.fact:last-child { + border-right: 0; +} + +.fact--brand { + background: var(--brand); + border-color: transparent; +} + +.fact-icon { + display: grid; + place-items: center; + width: 56px; + height: 56px; + border-radius: 14px; + background: var(--brand-soft); + color: var(--brand); + flex: none; +} + +.fact-icon .icon { + width: 26px; + height: 26px; +} + +.fact--brand .fact-icon { + background: rgba(255, 255, 255, .16); + color: var(--white); +} + +.fact-label { + margin-bottom: 2px; + color: var(--muted); + font-size: 12px; + line-height: 1.4; +} + +.fact-number { + display: flex; + align-items: baseline; + gap: 4px; + color: var(--ink); + font-family: var(--font-display); + font-size: 48px; + font-weight: 600; + line-height: 1; +} + +.fact-number small { + font-family: var(--font-body); + color: var(--muted); + font-size: 13px; + font-weight: 500; +} + +.fact-number--text { + font-family: var(--font-body); + font-size: 28px; + font-weight: 700; +} + +.fact--brand .fact-label { + color: rgba(255, 255, 255, .92); +} + +.fact--brand .fact-number, +.fact--brand .fact-number small { + color: var(--white); +} + +.fact--brand .fact-number small { + color: rgba(255, 255, 255, .9); +} + +/* ---------- 关于我们 ---------- */ + +.about-grid { + display: grid; + grid-template-columns: 1.05fr .95fr; + gap: 76px; + align-items: center; +} + +.about-content .lead { + color: var(--ink-2); + font-size: 17px; + line-height: 1.85; +} + +.about-content > p { + margin-top: 16px; + color: var(--muted); + font-size: 15px; + line-height: 1.85; +} + +.about-points { + display: grid; + grid-template-columns: 1fr 1fr; + gap: 14px 24px; + margin: 30px 0; +} + +.about-point { + display: flex; + align-items: center; + gap: 10px; + color: var(--ink-2); + font-size: 14px; + font-weight: 500; +} + +.about-point .icon { + width: 20px; + height: 20px; + color: var(--brand); +} + +.phone-card { + display: flex; + align-items: center; + gap: 16px; + margin: 10px 0 28px; + padding: 16px 18px; + border: 1px solid var(--brand-line); + border-radius: 14px; + background: var(--brand-soft); +} + +.phone-icon { + display: grid; + place-items: center; + width: 48px; + height: 48px; + border-radius: 12px; + background: var(--brand); + color: var(--white); + flex: none; +} + +.phone-icon .icon { + width: 22px; + height: 22px; +} + +.phone-card p { + color: var(--muted); + font-size: 12px; + line-height: 1.5; +} + +.phone-card a { + display: inline-block; + margin-top: 2px; + color: var(--brand-dark); + font-family: var(--font-display); + font-size: 25px; + font-weight: 600; + line-height: 1.2; + letter-spacing: .02em; +} + +.about-media { + position: relative; +} + +.about-media img { + width: 100%; + aspect-ratio: 4 / 5; + object-fit: cover; + border-radius: 22px; +} + +.about-badge { + position: absolute; + left: -28px; + bottom: 34px; + display: flex; + align-items: center; + gap: 12px; + max-width: 300px; + padding: 15px 20px; + border-radius: 14px; + background: var(--white); + box-shadow: var(--shadow-card); +} + +.about-badge .icon { + width: 24px; + height: 24px; + color: var(--brand); +} + +.about-badge strong { + display: block; + color: var(--ink); + font-size: 13px; + line-height: 1.4; +} + +.about-badge span { + display: block; + margin-top: 2px; + color: var(--muted); + font-size: 11px; +} + +/* ---------- 服务项目 ---------- */ + +.services { + background: var(--paper); +} + +.service-grid { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 18px; +} + +.service-card { + display: flex; + flex-direction: column; + align-items: center; + padding: 34px 22px 22px; + border: 1px solid var(--line); + border-radius: var(--radius); + background: var(--white); + text-align: center; + transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; +} + +.service-card:hover { + transform: translateY(-6px); + border-color: var(--brand-line); + box-shadow: var(--shadow-card-hover); +} + +.service-icon { + display: grid; + place-items: center; + width: 56px; + height: 56px; + margin-bottom: 28px; + border-radius: 14px; + background: var(--brand); + color: var(--white); + transform: rotate(-45deg); +} + +.service-icon .icon { + width: 27px; + height: 27px; + transform: rotate(45deg); +} + +.service-card h3 { + font-size: 19px; + font-weight: 700; +} + +.service-card > p { + min-height: 48px; + margin-top: 9px; + color: var(--muted); + font-size: 13px; + line-height: 1.7; +} + +.service-meta { + display: flex; + align-items: center; + justify-content: space-between; + gap: 8px; + width: 100%; + margin-top: auto; + padding-top: 18px; + border-top: 1px solid var(--line); +} + +.service-price { + display: flex; + align-items: baseline; + gap: 2px; + color: var(--brand-dark); + font-family: var(--font-display); + font-size: 31px; + font-weight: 600; + line-height: 1; +} + +.service-price small { + font-family: var(--font-body); + font-size: 12px; + font-weight: 600; +} + +.service-price em { + margin-left: 3px; + color: var(--muted); + font-family: var(--font-body); + font-size: 10px; + font-style: normal; + font-weight: 500; + white-space: nowrap; +} + +.service-more { + display: inline-flex; + align-items: center; + gap: 3px; + padding: 6px 0; + border: 0; + background: transparent; + color: var(--brand); + font-size: 12px; + font-weight: 600; + white-space: nowrap; +} + +.service-more .icon { + width: 14px; + height: 14px; + transition: transform .2s; +} + +.service-more:hover .icon { + transform: translateX(3px); +} + +.service-note { + display: flex; + align-items: center; + justify-content: space-between; + gap: 24px; + margin-top: 24px; + padding: 28px 32px; + border-radius: var(--radius); + background: var(--brand); + color: var(--white); +} + +.service-note strong { + font-size: 19px; + font-weight: 700; +} + +.service-note p { + margin-top: 4px; + color: rgba(255, 255, 255, .9); + font-size: 13px; +} + +.service-note .btn { + background: var(--white); + color: var(--brand-dark); + flex: none; +} + +.service-note .btn:hover { + background: var(--brand-soft); + transform: translateY(-2px); +} + +/* ---------- 服务保障 ---------- */ + +.features-grid { + display: grid; + grid-template-columns: 1fr .86fr 1fr; + gap: 52px; + align-items: center; +} + +.feature-col { + display: flex; + flex-direction: column; + gap: 50px; +} + +.feature-col:first-child { + align-items: flex-end; + text-align: right; +} + +.feature { + max-width: 300px; +} + +.feature-icon { + display: grid; + place-items: center; + width: 54px; + height: 54px; + margin-bottom: 18px; + border-radius: 14px; + background: var(--brand); + color: var(--white); +} + +.feature-col:first-child .feature-icon { + margin-left: auto; +} + +.feature-icon .icon { + width: 25px; + height: 25px; +} + +.feature h3 { + margin-bottom: 8px; + font-size: 19px; + font-weight: 700; +} + +.feature p { + color: var(--muted); + font-size: 14px; + line-height: 1.75; +} + +.feature-media img { + width: 100%; + aspect-ratio: 3 / 4; + object-fit: cover; + border-radius: 22px; + box-shadow: var(--shadow-card); +} + +/* ---------- 服务流程 ---------- */ + +.process { + background: var(--paper); +} + +.process-list { + position: relative; + display: grid; + grid-template-columns: repeat(6, 1fr); + gap: 20px; + margin-top: 16px; +} + +.process-list::before { + content: ''; + position: absolute; + top: 28px; + left: 5%; + right: 5%; + height: 1px; + background: var(--brand-line); +} + +.process-step { + position: relative; +} + +.process-num { + position: relative; + z-index: 1; + display: grid; + place-items: center; + width: 56px; + height: 56px; + margin-bottom: 18px; + border: 2px solid var(--brand-line); + border-radius: 50%; + background: var(--white); + color: var(--brand); + font-family: var(--font-display); + font-size: 25px; + font-weight: 600; + line-height: 1; +} + +.process-step:first-child .process-num { + border-color: var(--brand); + background: var(--brand); + color: var(--white); +} + +.process-step h3 { + margin-bottom: 6px; + font-size: 16px; + font-weight: 700; +} + +.process-step p { + color: var(--muted); + font-size: 13px; + line-height: 1.7; +} + +.process-note { + margin-top: 44px; + padding: 15px 20px; + border: 1px solid var(--line); + border-radius: 12px; + background: var(--white); + color: var(--muted); + font-size: 13px; + line-height: 1.7; +} + +/* ---------- 适合人群 ---------- */ + +.scenario-grid { + display: grid; + grid-template-columns: repeat(4, 1fr); + gap: 18px; +} + +.scenario-card { + padding: 28px 24px; + border: 1px solid var(--line); + border-radius: 16px; + background: var(--paper); + transition: background .3s, border-color .3s, transform .3s; +} + +.scenario-card:hover { + background: var(--brand-soft); + border-color: var(--brand-line); + transform: translateY(-4px); +} + +.scenario-icon { + display: grid; + place-items: center; + width: 46px; + height: 46px; + margin-bottom: 18px; + border: 1px solid var(--line); + border-radius: 12px; + background: var(--white); + color: var(--brand); +} + +.scenario-icon .icon { + width: 22px; + height: 22px; +} + +.scenario-card h3 { + font-size: 17px; + font-weight: 700; +} + +.scenario-card p { + margin-top: 8px; + color: var(--muted); + font-size: 13px; + line-height: 1.75; +} + +/* ---------- 常见问题 ---------- */ + +.faq-grid { + display: grid; + grid-template-columns: .85fr 1.15fr; + gap: 80px; + align-items: start; +} + +.faq-aside { + position: sticky; + top: 110px; +} + +.faq-aside > p:not(.eyebrow) { + margin-top: 18px; + color: var(--muted); + font-size: 14px; + line-height: 1.8; +} + +.faq-phone { + display: inline-flex; + align-items: center; + gap: 10px; + margin-top: 26px; + color: var(--brand-dark); + font-family: var(--font-display); + font-size: 27px; + font-weight: 600; + line-height: 1.2; +} + +.faq-phone .icon { + width: 21px; + height: 21px; +} + +.faq-list { + border-top: 1px solid var(--line); +} + +.faq-item { + border-bottom: 1px solid var(--line); +} + +.faq-item summary { + display: flex; + align-items: center; + justify-content: space-between; + gap: 20px; + padding: 22px 0; + color: var(--ink); + font-size: 16px; + font-weight: 600; + line-height: 1.6; + list-style: none; + cursor: pointer; +} + +.faq-item summary::-webkit-details-marker { + display: none; +} + +.faq-item summary .icon { + width: 18px; + height: 18px; + color: var(--brand); + transition: transform .25s; +} + +.faq-item[open] summary .icon { + transform: rotate(45deg); +} + +.faq-item > p { + padding: 0 40px 22px 0; + color: var(--muted); + font-size: 14px; + line-height: 1.85; +} + +/* ---------- 联系我们 ---------- */ + +.contact { + padding: 100px 0; + background: var(--brand); + color: var(--white); +} + +.contact .eyebrow { + color: var(--white); +} + +.contact-grid { + display: grid; + grid-template-columns: 1.05fr .95fr; + gap: 72px; + align-items: center; +} + +.contact-title { + margin-top: 18px; + color: var(--white); + font-size: clamp(36px, 4.4vw, 56px); + font-weight: 700; + line-height: 1.2; + letter-spacing: -.02em; + text-wrap: balance; +} + +.contact-lead { + max-width: 500px; + margin-top: 18px; + color: rgba(255, 255, 255, .9); + font-size: 15px; + line-height: 1.85; +} + +.contact-phone { + display: inline-flex; + align-items: center; + gap: 14px; + margin-top: 28px; + color: var(--white); + font-family: var(--font-display); + font-size: clamp(38px, 4.2vw, 58px); + font-weight: 600; + line-height: 1; + letter-spacing: .02em; +} + +.contact-phone .icon { + width: 27px; + height: 27px; + opacity: .85; +} + +.contact-phone:hover .icon { + transform: rotate(-12deg); + transition: transform .25s; +} + +.contact-rows { + display: flex; + flex-direction: column; + gap: 13px; + margin-top: 32px; +} + +.contact-row { + display: flex; + align-items: center; + gap: 12px; + min-height: 24px; + color: rgba(255, 255, 255, .8); + font-size: 14px; +} + +.contact-row > .icon { + width: 18px; + height: 18px; + color: #F6CFA8; +} + +.contact-row .label { + width: 60px; + color: rgba(255, 255, 255, .9); + font-size: 13px; + flex: none; +} + +.contact-row a, +.contact-row p, +.contact-row button { + margin: 0; + padding: 0; + border: 0; + background: none; + color: var(--white); + font-size: 14px; + font-weight: 500; + line-height: 1.6; + text-align: left; +} + +.contact-row button { + display: inline-flex; + align-items: center; + gap: 7px; + padding-bottom: 2px; + border-bottom: 1px dashed rgba(255, 255, 255, .42); +} + +.contact-row button .icon { + width: 14px; + height: 14px; + opacity: .75; +} + +.contact-row a:hover, +.contact-row button:hover { + color: var(--brand-line); +} + +.contact-actions { + display: flex; + flex-wrap: wrap; + gap: 14px; + margin-top: 34px; +} + +.qr-panel { + justify-self: end; + width: 100%; + max-width: 460px; + padding: 30px; + border-radius: 22px; + background: var(--white); + color: var(--ink-2); + box-shadow: 0 30px 80px rgba(63, 43, 25, .2); +} + +.qr-head { + display: flex; + align-items: center; + gap: 13px; + padding-bottom: 20px; + border-bottom: 1px solid var(--line); +} + +.qr-logo { + width: 46px; + height: 46px; + padding: 6px; + border-radius: 12px; + background: var(--brand); + object-fit: contain; + flex: none; +} + +.qr-head strong { + display: block; + color: var(--ink); + font-size: 17px; + font-weight: 700; + line-height: 1.4; +} + +.qr-head span { + display: block; + margin-top: 2px; + color: var(--muted); + font-size: 12px; +} + +.qr-feature { + padding: 22px 0 8px; + text-align: center; +} + +.qr-feature img { + width: 218px; + height: 218px; + margin-inline: auto; + border-radius: 12px; + object-fit: contain; +} + +.qr-feature p { + margin-top: 10px; + color: var(--muted); + font-size: 12px; +} + +.qr-divider { + display: flex; + align-items: center; + gap: 12px; + margin: 14px 0; + color: var(--muted); + font-size: 11px; +} + +.qr-divider::before, +.qr-divider::after { + content: ''; + flex: 1; + height: 1px; + background: var(--line); +} + +.qr-secondary { + display: flex; + align-items: center; + gap: 16px; + padding: 13px; + border: 1px solid var(--line); + border-radius: 14px; + background: var(--paper); +} + +.qr-secondary img { + width: 96px; + height: 96px; + border-radius: 8px; + background: var(--white); + object-fit: contain; + flex: none; +} + +.qr-secondary strong { + display: block; + color: var(--ink); + font-size: 14px; + font-weight: 700; +} + +.qr-secondary p { + margin-top: 4px; + color: var(--muted); + font-size: 12px; + line-height: 1.6; +} + +/* ---------- 页脚 ---------- */ + +.footer { + padding: 72px 0 0; + background: var(--dark); + color: rgba(255, 255, 255, .64); +} + +.footer-grid { + display: grid; + grid-template-columns: 1.4fr .7fr .8fr 1fr; + gap: 40px; + padding-bottom: 56px; +} + +.footer-brand { + padding: 32px; + border-radius: var(--radius); + background: var(--brand); + color: var(--white); +} + +.footer-brand .brand { + color: var(--white); +} + +.footer-brand .brand-text small { + color: rgba(255, 255, 255, .8); +} + +.footer-brand > p { + margin-top: 18px; + color: rgba(255, 255, 255, .9); + font-size: 13px; + line-height: 1.8; +} + +.footer-qr { + display: flex; + align-items: center; + gap: 12px; + margin-top: 22px; + padding: 10px; + border-radius: 12px; + background: rgba(255, 255, 255, .13); +} + +.footer-qr img { + width: 80px; + height: 80px; + padding: 2px; + border-radius: 8px; + background: var(--white); + object-fit: contain; + flex: none; +} + +.footer-qr strong { + display: block; + color: var(--white); + font-size: 13px; + font-weight: 600; +} + +.footer-qr span { + display: block; + margin-top: 2px; + color: rgba(255, 255, 255, .85); + font-size: 11px; +} + +.footer-col h3 { + margin-bottom: 18px; + color: var(--white); + font-size: 15px; + font-weight: 600; +} + +.footer-col ul { + display: flex; + flex-direction: column; + gap: 10px; +} + +.footer-col a, +.footer-col p { + display: inline-flex; + align-items: center; + gap: 7px; + color: rgba(255, 255, 255, .62); + font-size: 13px; + line-height: 1.6; + transition: color .2s; +} + +.footer-col a .icon, +.footer-col p .icon { + width: 13px; + height: 13px; + color: var(--brand); +} + +.footer-col a:hover { + color: var(--brand-line); +} + +.footer-contact li { + display: block; +} + +.footer-bottom { + padding: 20px 0; + border-top: 1px solid rgba(255, 255, 255, .1); +} + +.footer-bottom .container { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + gap: 8px 20px; + color: rgba(255, 255, 255, .58); + font-size: 12px; + line-height: 1.6; +} + +.footer-bottom a { + color: rgba(255, 255, 255, .68); +} + +.footer-bottom a:hover { + color: var(--brand-line); +} + +/* ---------- 浮动按钮 ---------- */ + +.back-to-top { + position: fixed; + right: 24px; + bottom: 24px; + z-index: 90; + display: grid; + place-items: center; + width: 46px; + height: 46px; + border-radius: 12px; + background: var(--brand); + color: var(--white); + box-shadow: 0 8px 24px rgba(0, 0, 0, .18); + opacity: 0; + visibility: hidden; + transform: translateY(10px); + transition: opacity .3s, visibility .3s, transform .3s, background .2s; +} + +.back-to-top.is-visible { + opacity: 1; + visibility: visible; + transform: none; +} + +.back-to-top:hover { + background: var(--brand-dark); +} + +.back-to-top .icon { + width: 20px; + height: 20px; +} + +/* ---------- 服务说明弹窗 ---------- */ + +.service-dialog { + display: none; + width: min(620px, calc(100% - 32px)); + max-height: 90vh; + margin: auto; + padding: 30px; + border: 0; + border-radius: 20px; + background: var(--white); + color: var(--ink-2); + box-shadow: 0 40px 100px rgba(0, 0, 0, .3); + overflow-y: auto; +} + +.service-dialog[open] { + display: block; + animation: dialog-in .25s var(--ease); +} + +.service-dialog::backdrop { + background: rgba(20, 14, 10, .62); + backdrop-filter: blur(4px); +} + +@keyframes dialog-in { + from { opacity: 0; transform: translateY(12px) scale(.98); } + to { opacity: 1; transform: none; } +} + +.dialog-head { + display: flex; + align-items: flex-start; + justify-content: space-between; + margin-bottom: 14px; +} + +.dialog-icon { + display: grid; + place-items: center; + width: 56px; + height: 56px; + border-radius: 14px; + background: var(--brand); + color: var(--white); +} + +.dialog-icon .icon { + width: 28px; + height: 28px; +} + +.dialog-close { + display: grid; + place-items: center; + width: 36px; + height: 36px; + border: 1px solid var(--line); + border-radius: 50%; + background: var(--white); + color: var(--muted); +} + +.dialog-close:hover { + border-color: var(--brand-line); + background: var(--brand-soft); + color: var(--brand); +} + +.dialog-close .icon { + width: 18px; + height: 18px; +} + +.dialog-tag { + color: var(--brand); + font-size: 11px; + font-weight: 600; + letter-spacing: .12em; + text-transform: uppercase; +} + +.service-dialog h3 { + margin-top: 4px; + font-size: 27px; + font-weight: 700; +} + +.dialog-desc { + margin-top: 10px; + color: var(--muted); + font-size: 14px; + line-height: 1.8; +} + +.dialog-price { + display: flex; + align-items: baseline; + gap: 5px; + margin: 18px 0; + padding: 15px 18px; + border: 1px solid var(--brand-line); + border-radius: 12px; + background: var(--brand-soft); + color: var(--brand-dark); + font-family: var(--font-display); + font-size: 35px; + font-weight: 600; + line-height: 1; +} + +.dialog-price small { + font-family: var(--font-body); + font-size: 13px; + font-weight: 600; +} + +.dialog-price em { + margin-left: 2px; + color: var(--muted); + font-family: var(--font-body); + font-size: 12px; + font-style: normal; + font-weight: 500; +} + +.dialog-block { + margin-top: 18px; +} + +.dialog-block h4 { + margin-bottom: 8px; + font-size: 14px; + font-weight: 700; +} + +.dialog-block ul { + display: flex; + flex-direction: column; + gap: 6px; +} + +.dialog-block li { + position: relative; + padding-left: 15px; + color: var(--muted); + font-size: 13px; + line-height: 1.75; +} + +.dialog-block li::before { + content: ''; + position: absolute; + left: 0; + top: .68em; + width: 5px; + height: 5px; + border-radius: 50%; + background: var(--brand); +} + +.dialog-actions { + display: flex; + gap: 12px; + margin-top: 26px; +} + +.dialog-actions .btn { + flex: 1; +} + +/* ---------- 提示条 ---------- */ + +.toast { + position: fixed; + left: 50%; + bottom: 30px; + z-index: 300; + max-width: calc(100% - 40px); + padding: 12px 20px; + border-radius: 999px; + background: var(--ink); + color: var(--white); + font-size: 13px; + line-height: 1.5; + white-space: nowrap; + opacity: 0; + pointer-events: none; + transform: translate(-50%, 16px); + transition: opacity .25s, transform .25s; +} + +.toast.is-visible { + opacity: 1; + transform: translate(-50%, 0); +} + +.qr-panel.is-highlight { + animation: qr-highlight 1.4s ease; +} + +@keyframes qr-highlight { + 0%, 100% { box-shadow: 0 30px 80px rgba(63, 43, 25, .2); } + 30% { box-shadow: 0 0 0 8px rgba(255, 224, 194, .6), 0 30px 80px rgba(63, 43, 25, .2); } +} + +/* ---------- 滚动进入 ---------- */ + +.js [data-reveal] { + opacity: 0; + transform: translateY(24px); + transition: opacity .7s var(--ease), transform .7s var(--ease); +} + +.js [data-reveal].is-visible { + opacity: 1; + transform: none; +} + +/* ---------- 响应式 ---------- */ + +@media (max-width: 1180px) { + .service-grid { + grid-template-columns: repeat(2, 1fr); + } + + .features-grid { + gap: 40px; + } + + .about-grid, + .contact-grid { + gap: 52px; + } +} + +@media (max-width: 1024px) { + :root { + --header-height: 72px; + } + + .site-header { + padding: 10px 0; + } + + .header-inner { + gap: 16px; + } + + .nav { + position: absolute; + top: calc(100% + 8px); + left: 16px; + right: 16px; + z-index: 120; + display: flex; + flex-direction: column; + align-items: stretch; + gap: 2px; + padding: 14px; + border: 1px solid var(--line); + border-radius: 18px; + background: var(--white); + box-shadow: 0 24px 60px rgba(63, 43, 25, .16); + opacity: 0; + visibility: hidden; + transform: translateY(-8px); + transition: opacity .25s, visibility .25s, transform .25s; + } + + .nav.is-open { + opacity: 1; + visibility: visible; + transform: none; + } + + .nav-link { + padding: 12px 14px; + border-radius: 10px; + color: var(--ink-2); + font-size: 15px; + } + + .nav-link::after { + display: none; + } + + .nav-link.is-active { + background: var(--brand-soft); + color: var(--brand-dark); + } + + .header-cta { + display: inline-flex; + width: 44px; + height: 44px; + min-height: 44px; + margin-left: auto; + padding: 0; + } + + .header-cta-text { + display: none; + } + + .header-cta .icon { + width: 20px; + height: 20px; + } + + .nav-toggle { + display: grid; + margin-left: 0; + } + + .hero { + min-height: 720px; + padding-top: 136px; + padding-bottom: 180px; + } + + .hero-scroll { + display: none; + } + + .facts { + margin-top: -64px; + } + + .facts-grid { + grid-template-columns: repeat(2, 1fr); + gap: 12px; + overflow: visible; + border-radius: 0; + box-shadow: none; + } + + .fact { + min-height: 124px; + padding: 22px 24px; + border: 1px solid var(--line); + border-radius: 14px; + box-shadow: var(--shadow-card); + } + + .fact--brand { + border-color: var(--brand); + } + + .section { + padding: 88px 0; + } + + .about-grid { + grid-template-columns: 1fr; + } + + .about-content { + max-width: 720px; + } + + .about-media { + max-width: 560px; + } + + .about-badge { + left: 18px; + bottom: 18px; + } + + .features-grid { + grid-template-columns: 1fr 1fr; + gap: 36px 48px; + } + + .feature-media { + grid-column: 1 / -1; + order: -1; + max-width: 760px; + margin-inline: auto; + width: 100%; + } + + .feature-media img { + aspect-ratio: 16 / 10; + } + + .feature-col:first-child { + align-items: flex-start; + text-align: left; + } + + .feature-col:first-child .feature-icon { + margin-left: 0; + } + + .process-list { + grid-template-columns: repeat(3, 1fr); + row-gap: 40px; + } + + .process-list::before { + display: none; + } + + .scenario-grid { + grid-template-columns: repeat(2, 1fr); + } + + .faq-grid { + grid-template-columns: 1fr; + gap: 40px; + } + + .faq-aside { + position: static; + max-width: 680px; + } + + .contact-grid { + grid-template-columns: 1fr; + } + + .contact-content { + max-width: 720px; + } + + .qr-panel { + justify-self: stretch; + max-width: 520px; + margin-inline: auto; + } + + .footer-grid { + grid-template-columns: 1fr 1fr; + gap: 32px; + } + + .footer-brand { + grid-column: span 2; + } +} + +@media (max-width: 720px) { + .container { + width: calc(100% - 40px); + } + + .site-header { + padding: 8px 0; + } + + .brand-mark { + width: 42px; + height: 42px; + } + + .brand-mark img { + width: 31px; + height: 31px; + } + + .brand-text strong { + font-size: 17px; + } + + .brand-text small { + font-size: 7px; + } + + .hero { + min-height: 0; + padding: 124px 0 154px; + } + + .eyebrow-en { + display: none; + } + + .hero-bg { + background-image: url('../images/hero-mobile.jpg'); + background-size: auto 112%; + background-position: 62% bottom; + } + + .hero::before { + background: linear-gradient(180deg, rgba(20, 14, 10, .92) 0%, rgba(20, 14, 10, .7) 48%, rgba(20, 14, 10, .26) 100%); + } + + .hero-title { + font-size: clamp(38px, 11.4vw, 52px); + margin: 18px 0 20px; + } + + .hero-lead { + font-size: 15px; + line-height: 1.8; + } + + .hero-actions { + margin-top: 28px; + } + + .hero-actions .btn { + flex: 1 1 100%; + } + + .hero-trust { + gap: 10px 16px; + margin-top: 28px; + } + + .hero-trust li + li { + padding-left: 0; + border-left: 0; + } + + .facts { + margin-top: -48px; + } + + .fact { + gap: 13px; + min-height: 110px; + padding: 18px; + } + + .fact-icon { + width: 44px; + height: 44px; + border-radius: 11px; + } + + .fact-icon .icon { + width: 21px; + height: 21px; + } + + .fact-label { + font-size: 11px; + } + + .fact-number { + font-size: 38px; + } + + .fact-number--text { + font-size: 22px; + } + + .section { + padding: 68px 0; + } + + .section-head { + margin-bottom: 38px; + } + + .section-title { + font-size: clamp(29px, 8vw, 40px); + padding-bottom: 22px; + } + + .section-title::after { + width: 110px; + } + + .section-title::before { + animation: none; + left: 0; + width: 5px; + } + + .section-head--center .section-title::after { + margin-left: -55px; + } + + .section-head--center .section-title::before { + left: calc(50% - 55px); + animation: none; + } + + .section-sub { + font-size: 14px; + } + + .br-mobile { + display: inline; + } + + .service-grid { + grid-template-columns: 1fr; + } + + .service-card { + padding: 28px 24px 22px; + } + + .service-card > p { + min-height: 0; + } + + .service-note { + flex-direction: column; + align-items: flex-start; + padding: 24px; + } + + .service-note .btn { + width: 100%; + } + + .features-grid { + grid-template-columns: 1fr; + gap: 32px; + } + + .feature-media { + order: -1; + } + + .feature-media img { + aspect-ratio: 4 / 3; + } + + .feature-col { + gap: 32px; + } + + .process-list { + grid-template-columns: repeat(2, 1fr); + gap: 28px 20px; + } + + .process-note { + margin-top: 32px; + } + + .scenario-grid { + grid-template-columns: 1fr; + } + + .faq-item summary { + font-size: 15px; + } + + .faq-item > p { + padding-right: 0; + } + + .contact { + padding: 72px 0; + } + + .contact-title { + font-size: clamp(32px, 9vw, 44px); + } + + .contact-phone { + font-size: clamp(34px, 10vw, 46px); + } + + .contact-rows { + gap: 11px; + } + + .qr-panel { + padding: 22px; + } + + .qr-feature img { + width: 190px; + height: 190px; + } + + .footer { + padding-top: 56px; + } + + .footer-grid { + grid-template-columns: 1fr; + gap: 32px; + padding-bottom: 40px; + } + + .footer-brand { + grid-column: span 1; + } + + .footer-bottom .container { + flex-direction: column; + gap: 6px; + } + + .back-to-top { + right: 18px; + bottom: 18px; + width: 44px; + height: 44px; + } + + .toast { + bottom: 86px; + } + + .service-dialog { + padding: 22px; + } + + .service-dialog h3 { + font-size: 24px; + } + + .dialog-actions { + flex-direction: column; + } +} + +@media (max-width: 480px) { + .brand-text small { + display: none; + } + + .hero-title { + font-size: 38px; + } + + .hero-trust li { + font-size: 12px; + } + + .fact { + flex-direction: column; + align-items: flex-start; + gap: 8px; + } + + .fact-number { + font-size: 34px; + } + + .about-badge { + left: 12px; + right: 12px; + bottom: 12px; + max-width: none; + } + + .about-badge strong { + font-size: 12px; + } + + .qr-secondary { + align-items: flex-start; + } + + .qr-secondary img { + width: 84px; + height: 84px; + } + + .qr-feature img { + width: 170px; + height: 170px; + } + + .contact-row { + flex-wrap: wrap; + gap: 4px 10px; + } + + .contact-row .label { + width: 52px; + } +} + +/* ---------- 减少动态 ---------- */ + +@media (prefers-reduced-motion: reduce) { + html { + scroll-behavior: auto; + } + + *, + *::before, + *::after { + animation-duration: .001ms !important; + animation-iteration-count: 1 !important; + transition-duration: .001ms !important; + } + + .js [data-reveal] { + opacity: 1; + transform: none; + } + + .section-title::before, + .hero-scroll span { + display: none; + } + + .hero-bg { + animation: none; + } +} + +/* ---------- 打印 ---------- */ + +@media print { + .site-header, + .hero-scroll, + .back-to-top, + .qr-panel, + .toast, + .service-dialog { + display: none !important; + } + + .hero { + min-height: auto; + padding: 40px 0; + } + + .hero-bg { + display: none; + } + + .hero::before, + .hero::after { + display: none; + } + + .hero-title, + .hero-lead, + .hero-trust li { + color: #000; + } + + .section { + padding: 32px 0; + } + + .facts { + margin-top: 0; + } +} diff --git a/assets/favicon.svg b/assets/favicon.svg new file mode 100644 index 0000000..f98a836 --- /dev/null +++ b/assets/favicon.svg @@ -0,0 +1,4 @@ + diff --git a/assets/fonts/inter-latin.woff2 b/assets/fonts/inter-latin.woff2 new file mode 100644 index 0000000..d15208d Binary files /dev/null and b/assets/fonts/inter-latin.woff2 differ diff --git a/assets/fonts/teko-latin.woff2 b/assets/fonts/teko-latin.woff2 new file mode 100644 index 0000000..275fa72 Binary files /dev/null and b/assets/fonts/teko-latin.woff2 differ diff --git a/assets/images/about.jpg b/assets/images/about.jpg new file mode 100644 index 0000000..26b5c28 Binary files /dev/null and b/assets/images/about.jpg differ diff --git a/assets/images/brand-mark.png b/assets/images/brand-mark.png new file mode 100644 index 0000000..f6e7d99 Binary files /dev/null and b/assets/images/brand-mark.png differ diff --git a/assets/images/feature.jpg b/assets/images/feature.jpg new file mode 100644 index 0000000..c8e46aa Binary files /dev/null and b/assets/images/feature.jpg differ diff --git a/assets/images/hero-mobile.jpg b/assets/images/hero-mobile.jpg new file mode 100644 index 0000000..a5cec15 Binary files /dev/null and b/assets/images/hero-mobile.jpg differ diff --git a/assets/images/hero.jpg b/assets/images/hero.jpg new file mode 100644 index 0000000..7eac36a Binary files /dev/null and b/assets/images/hero.jpg differ diff --git a/assets/images/miniprogram-code.jpg b/assets/images/miniprogram-code.jpg new file mode 100644 index 0000000..eda921f Binary files /dev/null and b/assets/images/miniprogram-code.jpg differ diff --git a/assets/images/wechat-service.jpg b/assets/images/wechat-service.jpg new file mode 100644 index 0000000..0a615f9 Binary files /dev/null and b/assets/images/wechat-service.jpg differ diff --git a/assets/js/main.js b/assets/js/main.js new file mode 100644 index 0000000..2b6b98c --- /dev/null +++ b/assets/js/main.js @@ -0,0 +1,520 @@ +/* ========================================================= + 暖橙陪诊 · 官网交互 + ========================================================= */ + +(function () { + 'use strict'; + + document.documentElement.classList.add('js'); + + var reduceMotion = window.matchMedia('(prefers-reduced-motion: reduce)').matches; + + /* ---------- 服务说明数据 ---------- */ + + var serviceData = { + 1: { + title: '全天陪诊', + icon: 'sun', + tag: '陪同就医 · 8小时/次', + price: '498', + unit: '8小时/次', + desc: '八小时服务(早8点—中午12点、下午1点—晚上5点),专业陪诊师全程陪同就医。适合就诊项目较多、耗时较长,或行动、认知、沟通不便及异地就医的用户。', + includes: [ + '协助取号、缴费、就诊、检查、取药', + '全程陪同当日就诊流程', + '清点病历、检查报告与药品', + '提醒复诊时间与注意事项' + ], + notes: [ + '请提前1天预约', + '服务时长8小时,超出按80元/小时计费', + '服务费不含挂号费、检查费、药费等医疗费用', + '不提供医疗建议,不代签具有法律效力的医疗文书' + ] + }, + 2: { + title: '半天陪诊', + icon: 'clock', + tag: '陪同就医 · 4小时/次', + price: '298', + unit: '4小时/次', + desc: '四小时服务(上午8点—中午12点 或 下午1点—晚上5点),专业陪诊师全程陪同就医。适合就诊项目较少、预计半天内完成的情况。', + includes: [ + '协助取号、缴费、就诊、检查、取药', + '全程陪同当日就诊流程', + '清点病历、检查报告与药品', + '提醒复诊时间与注意事项' + ], + notes: [ + '请提前1天预约,紧急订单请联系客服确认', + '服务时长4小时,超出按80元/小时计费', + '服务费不含挂号费、检查费、药费等医疗费用', + '不提供医疗建议,不代签具有法律效力的医疗文书' + ] + }, + 3: { + title: '夜间陪诊', + icon: 'moon', + tag: '陪同就医 · 夜间时段', + price: '568', + unit: '4小时/次', + desc: '四小时夜间陪诊,适合夜间就诊、不便独自前往或家属不便陪同的情况。陪诊师按约定时间在医院指定地点会合,协助完成就诊流程。', + includes: [ + '夜间时段医院集合', + '协助取号、就诊、检查、取药', + '全程陪同并协助沟通', + '清点材料,提醒后续安排' + ], + notes: [ + '夜间就诊请提前1天预约', + '服务时长4小时,超出按100元/小时计费', + '服务费不含挂号费、检查费、药费等医疗费用', + '不提供医疗建议,不代签具有法律效力的医疗文书' + ] + }, + 4: { + title: '代问诊', + icon: 'chat', + tag: '就医代办 · 本人可不到场', + price: '280', + unit: '次', + desc: '经您同意并授权后,陪诊师携带病历资料,代您向医生陈述病情、转达就诊诉求,如实记录医嘱并完整转达。涉及检查、用药与治疗方案的选择,由医生直接与您或家人沟通。', + includes: [ + '代您向医生陈述病情与就诊诉求', + '如实记录医嘱并完整转达', + '需要时协助安排电话沟通', + '检查、取药可另行预约对应服务' + ], + notes: [ + '请提前1天预约', + '需经您同意并授权后,陪诊师方可代您与医生沟通', + '陪诊师不提供医疗建议,不代为选择检查、用药或治疗方案', + '部分医院要求患者本人到场,请提前确认' + ] + }, + 5: { + title: '检查预约', + icon: 'calendar', + tag: '就医代办 · 检查预约', + price: '199', + unit: '次', + desc: '陪诊师代为联系医院预约磁共振(MRI)、CT、彩超等检查时间,并把预约到的具体时间通知您,交代检查前准备与注意事项。', + includes: [ + '确认检查项目与期望时间', + '代为联系医院预约检查', + '通知具体检查时间', + '交代检查前准备与注意事项' + ], + notes: [ + '请提前1天预约', + '检查申请单需由医生开具,尚未开单的请先挂号', + '服务费不含挂号费、检查费用', + '检查知情同意书需本人或家属签署,陪诊师不代签' + ] + }, + 6: { + title: '出入院代办', + icon: 'building', + tag: '就医代办 · 出入院手续', + price: '258', + unit: '次', + desc: '经您授权同意后,陪诊师代您办理入院登记、医保手续、出院结算等出入院手续,并将办理结果、出院小结及相关单据交付给您。', + includes: [ + '入院登记、医保手续代办', + '出院结算手续代办', + '办理结果与单据交付', + '确认本次代办完成' + ], + notes: [ + '请提前1天预约', + '需经您授权同意,并提供身份证、医保卡等证件', + '入院代办需提前确认医院床位情况', + '服务费不含住院押金和医疗费用', + '具有法律效力的医疗文书需本人或家属签署' + ] + }, + 7: { + title: '跑腿服务', + icon: 'route', + tag: '就医代办 · 1小时/次', + price: '148', + unit: '1小时/次', + desc: '适合工作繁忙不便请假或行动不便的用户。可代办代排队、代取药品、代取报告、样本送检等医院相关事项,本人不必到场。', + includes: [ + '代排队、送资料', + '代取药品、代取报告', + '样本送检', + '结果或物品交付' + ], + notes: [ + '请提前1天预约', + '服务时长1小时,超出按80元/小时计费', + '需经您同意并授权后,陪诊师方可持您的证件和材料代办', + '服务费不含药品费、检查费等医疗费用' + ] + }, + 8: { + title: '取药快递', + icon: 'pill', + tag: '就医代办 · 代取药品', + price: '180', + unit: '次', + desc: '经您同意并授权后,陪诊师携带您的取药凭证代取药品,核对药品名称与数量,妥善包装后通过快递寄送到家。', + includes: [ + '确认取药医院或药店与药品信息', + '持取药凭证代取药品', + '核对药品名称与数量', + '妥善包装并快递寄出' + ], + notes: [ + '请提前1天预约', + '需提供就诊卡、处方或取药单等取药凭证', + '服务费不含药品费用,快递费按实际收取', + '寄出前会与您确认快递费用' + ] + } + }; + + /* ---------- 工具 ---------- */ + + function $(selector, scope) { + return (scope || document).querySelector(selector); + } + + function $all(selector, scope) { + return Array.prototype.slice.call((scope || document).querySelectorAll(selector)); + } + + function closestTarget(event, selector) { + var target = event.target; + if (!target || typeof target.closest !== 'function') return null; + return target.closest(selector); + } + + var toastTimer = null; + + function showToast(message) { + var toast = $('#toast'); + if (!toast) return; + toast.textContent = message; + toast.classList.add('is-visible'); + window.clearTimeout(toastTimer); + toastTimer = window.setTimeout(function () { + toast.classList.remove('is-visible'); + }, 2300); + } + + async function copyText(text) { + if (navigator.clipboard && window.isSecureContext) { + try { + await navigator.clipboard.writeText(text); + return true; + } catch (error) { + /* 继续使用兜底方案 */ + } + } + + var input = document.createElement('textarea'); + input.value = text; + input.setAttribute('readonly', ''); + input.style.position = 'fixed'; + input.style.opacity = '0'; + input.style.top = '0'; + document.body.appendChild(input); + input.select(); + + var copied = false; + try { + copied = document.execCommand('copy'); + } catch (error) { + copied = false; + } + input.remove(); + return copied; + } + + /* ---------- 头部滚动状态 ---------- */ + + var header = $('#siteHeader'); + var backToTop = $('#backToTop'); + + function updateScrollState() { + var y = window.scrollY || window.pageYOffset; + if (header) header.classList.toggle('is-scrolled', y > 30); + if (backToTop) backToTop.classList.toggle('is-visible', y > 620); + } + + updateScrollState(); + window.addEventListener('scroll', updateScrollState, { passive: true }); + + /* ---------- 移动端导航 ---------- */ + + var nav = $('#siteNav'); + var navToggle = $('#navToggle'); + + function setNav(open) { + if (!nav || !navToggle) return; + nav.classList.toggle('is-open', open); + navToggle.setAttribute('aria-expanded', open ? 'true' : 'false'); + navToggle.setAttribute('aria-label', open ? '关闭菜单' : '打开菜单'); + } + + function closeNav() { + setNav(false); + } + + if (navToggle && nav) { + navToggle.addEventListener('click', function (event) { + event.stopPropagation(); + setNav(!nav.classList.contains('is-open')); + }); + + $all('.nav-link', nav).forEach(function (link) { + link.addEventListener('click', closeNav); + }); + + document.addEventListener('click', function (event) { + if (!nav.classList.contains('is-open')) return; + if (nav.contains(event.target) || navToggle.contains(event.target)) return; + closeNav(); + }); + + document.addEventListener('keydown', function (event) { + if (event.key === 'Escape') closeNav(); + }); + + window.addEventListener('resize', function () { + if (window.innerWidth > 1024) closeNav(); + }); + } + + /* ---------- 导航高亮 ---------- */ + + var navLinks = $all('.nav-link'); + var sections = $all('main section[id]'); + + if ('IntersectionObserver' in window && navLinks.length && sections.length) { + var navObserver = new IntersectionObserver(function (entries) { + entries.forEach(function (entry) { + if (!entry.isIntersecting) return; + var id = '#' + entry.target.id; + navLinks.forEach(function (link) { + link.classList.toggle('is-active', link.getAttribute('href') === id); + }); + }); + }, { rootMargin: '-42% 0px -52% 0px', threshold: 0 }); + + sections.forEach(function (section) { + navObserver.observe(section); + }); + } + + /* ---------- 滚动进入动画 ---------- */ + + var revealItems = $all('[data-reveal]'); + + if (!('IntersectionObserver' in window) || reduceMotion) { + revealItems.forEach(function (item) { + item.classList.add('is-visible'); + }); + } else { + var revealObserver = new IntersectionObserver(function (entries) { + entries.forEach(function (entry) { + if (!entry.isIntersecting) return; + entry.target.classList.add('is-visible'); + revealObserver.unobserve(entry.target); + }); + }, { rootMargin: '0px 0px -8% 0px', threshold: 0.1 }); + + revealItems.forEach(function (item) { + revealObserver.observe(item); + }); + } + + /* ---------- 数字滚动 ---------- */ + + function animateCount(element) { + if (!element || element.dataset.counted === 'true') return; + element.dataset.counted = 'true'; + + var target = Number(element.dataset.count || 0); + if (!Number.isFinite(target)) return; + + if (reduceMotion) { + element.textContent = String(target); + return; + } + + var duration = 1100; + var start = null; + + function step(timestamp) { + if (!start) start = timestamp; + var progress = Math.min((timestamp - start) / duration, 1); + var eased = 1 - Math.pow(1 - progress, 3); + element.textContent = String(Math.round(target * eased)); + if (progress < 1) window.requestAnimationFrame(step); + } + + window.requestAnimationFrame(step); + } + + var counters = $all('[data-count]'); + if ('IntersectionObserver' in window) { + var countObserver = new IntersectionObserver(function (entries) { + entries.forEach(function (entry) { + if (entry.isIntersecting) { + animateCount(entry.target); + countObserver.unobserve(entry.target); + } + }); + }, { threshold: 0.4 }); + + counters.forEach(function (counter) { + countObserver.observe(counter); + }); + } else { + counters.forEach(animateCount); + } + + /* ---------- 服务说明弹窗 ---------- */ + + var dialog = $('#serviceDialog'); + var dialogTitle = $('#serviceDialogTitle'); + var dialogTag = $('#dialogTag'); + var dialogDesc = $('#dialogDesc'); + var dialogPrice = $('#dialogPrice'); + var dialogIncludes = $('#dialogIncludes'); + var dialogNotes = $('#dialogNotes'); + var dialogIconUse = dialog ? $('.dialog-icon use', dialog) : null; + + function fillList(list, items) { + if (!list) return; + list.innerHTML = ''; + items.forEach(function (item) { + var li = document.createElement('li'); + li.textContent = item; + list.appendChild(li); + }); + } + + function openService(id) { + var service = serviceData[id]; + if (!service || !dialog) return; + + if (dialogTitle) dialogTitle.textContent = service.title; + if (dialogTag) dialogTag.textContent = service.tag; + if (dialogDesc) dialogDesc.textContent = service.desc; + if (dialogPrice) { + dialogPrice.innerHTML = '¥' + service.price + '/' + service.unit + ''; + } + fillList(dialogIncludes, service.includes); + fillList(dialogNotes, service.notes); + + if (dialogIconUse) { + dialogIconUse.setAttribute('href', '#i-' + service.icon); + } + + if (typeof dialog.showModal === 'function') { + if (!dialog.open) dialog.showModal(); + } else { + dialog.setAttribute('open', ''); + } + document.body.classList.add('is-locked'); + var closeButton = $('#dialogClose'); + if (closeButton) closeButton.focus(); + } + + function closeService() { + if (!dialog) return; + if (typeof dialog.close === 'function' && dialog.open) { + dialog.close(); + } else { + dialog.removeAttribute('open'); + document.body.classList.remove('is-locked'); + } + } + + document.addEventListener('click', function (event) { + var trigger = closestTarget(event, '[data-service]'); + if (!trigger) return; + event.preventDefault(); + openService(trigger.getAttribute('data-service')); + }); + + if (dialog) { + var dialogClose = $('#dialogClose'); + if (dialogClose) { + dialogClose.addEventListener('click', closeService); + } + + dialog.addEventListener('close', function () { + document.body.classList.remove('is-locked'); + }); + + dialog.addEventListener('click', function (event) { + if (event.target !== dialog) return; + var rect = dialog.getBoundingClientRect(); + var inside = event.clientX >= rect.left && event.clientX <= rect.right && + event.clientY >= rect.top && event.clientY <= rect.bottom; + if (!inside) closeService(); + }); + + var dialogQr = $('#dialogQr'); + if (dialogQr) { + dialogQr.addEventListener('click', function () { + closeService(); + var contact = $('#contact'); + var qrPanel = $('#qrPanel'); + if (contact) { + contact.scrollIntoView({ behavior: reduceMotion ? 'auto' : 'smooth', block: 'start' }); + } + if (qrPanel) { + qrPanel.classList.remove('is-highlight'); + void qrPanel.offsetWidth; + qrPanel.classList.add('is-highlight'); + window.setTimeout(function () { + qrPanel.classList.remove('is-highlight'); + }, 1600); + } + }); + } + } + + /* ---------- 复制微信号 ---------- */ + + document.addEventListener('click', async function (event) { + var button = closestTarget(event, '[data-copy]'); + if (!button) return; + var value = button.getAttribute('data-copy'); + if (!value) return; + var copied = await copyText(value); + if (copied) { + showToast('微信号已复制:' + value); + } else { + showToast('复制失败,请手动复制:' + value); + } + }); + + /* ---------- 返回顶部 / 电话按钮 ---------- */ + + if (backToTop) { + backToTop.addEventListener('click', function (event) { + event.preventDefault(); + window.scrollTo({ top: 0, behavior: reduceMotion ? 'auto' : 'smooth' }); + }); + } + + /* ---------- 常见问题:一次只展开一项 ---------- */ + + var faqItems = $all('.faq-item'); + faqItems.forEach(function (item) { + item.addEventListener('toggle', function () { + if (!item.open) return; + faqItems.forEach(function (other) { + if (other !== item) other.open = false; + }); + }); + }); + +})(); diff --git a/index.html b/index.html new file mode 100644 index 0000000..da6a733 --- /dev/null +++ b/index.html @@ -0,0 +1,651 @@ + + +
+ + +WARM ORANGE ESCORT · 专业陪同就医服务
+暖橙陪诊提供全天、半天、夜间陪诊,以及代问诊、检查预约、出入院代办等服务。从取号到取药,陪诊师全程协助,让家人少奔波。
+服务城市
+4座
+服务项目
+8项
+每日服务时间
+12小时
+服务方式
+1 对 1陪诊
+关于暖橙
+暖橙陪诊由北京奕华盛科技运营,面向行动不便、认知或沟通不便、异地就医、家属无暇陪同的人群,提供陪同就医与就医代办服务。
+服务涵盖协助取号、陪同就诊、检查陪护、代取药品与检查报告、出入院代办等就医陪伴环节。服务前确认医院、时间与就诊人情况;服务结束后清点材料、转达医嘱,让每一次就医都有清晰的交接。
+ +需要先聊聊就诊安排?
+ 186 1816 2956 +
+ 服务项目
+所有服务需提前预约;服务费不含挂号费、检查费、药费等医疗费用。点击「了解详情」可查看服务说明。
+八小时服务,专业陪诊师全程陪同就医。
+ +四小时服务,适合半天内完成的就诊安排。
+ +夜间时段专业陪同,适合不便独自前往的情况。
+ +代您向医生陈述病情、记录并转达医嘱。
+ +磁共振、CT、彩超等检查的预约协助。
+ +入院登记、医保手续、出院结算代为办理。
+ +送资料、代排队、取药、取报告等。
+ +代取药品,快递寄送到家。
+ +告诉我们医院、时间和就诊人情况,客服帮您判断。
+服务保障
+陪诊是协助就医,不替代医疗判断。我们把能做什么、不能做什么,提前说清楚。
+陪诊师实名入驻,服务前会与您确认医院、时间与就诊人情况。
+确认医院、时间、就诊人情况、行动能力与特殊需求,避免到场后才发现遗漏。
+
+ 协助取号、就诊、检查、取药,服务结束后清点病历、报告与药品。
+不提供医疗建议,不代替选择治疗方案,不代签具有法律效力的医疗文书。
+服务流程
+从预约到服务完成,每一步都提前确认,就诊当天按约定执行。
+小程序、电话或微信提交预约。
+确认医院、时间、就诊人情况与特殊需求。
+客服协助确认费用并完成支付。
+身份证、就诊卡、检查报告与问诊诉求。
+协助取号、就诊、检查、取药。
+清点资料,提醒复诊与注意事项。
+如需改期或取消,请至少提前 4 小时联系客服。超出服务时长按对应标准计费,具体以订单公示为准。
+适合人群
+子女不在身边,对挂号、检查、取药流程不熟悉。
+不熟悉医院布局和就诊流程,需要有人带路、协助沟通。
+工作或照护安排冲突,需要可靠的人陪同就诊。
+行动不便、听力或语言沟通困难,需要全程协助。
+包括协助取号、陪同就诊、检查陪护、代取药品与检查报告、出入院代办等就医陪伴环节。具体以所选服务页面为准;服务费不包含挂号费、检查费、药费等医疗费用。
+建议至少提前 1 天预约。部分服务需要提前确认医院号源或床位,紧急情况请先联系客服确认。
+目前已开通北京、上海、天津、西安。其他城市可先联系客服确认。
+不会。具有法律效力的医疗文书(手术、麻醉、特殊检查知情同意书等)需您本人或家属签署,陪诊师不代签。
+部分事项可以。代问诊、检查预约、出入院代办、跑腿服务、取药快递等支持本人不到场,需经您同意并授权。部分医院要求患者本人到场,请提前确认。
+可以。请至少提前 4 小时联系客服办理改期或取消。
+全天、半天陪诊超出时长按 80 元/小时计费;夜间陪诊按 100 元/小时计费;跑腿服务按 80 元/小时计费。具体以订单公示为准。
+联系我们
+电话、微信或小程序都可以预约。服务时间 08:00—20:00,周一至周日。
+ + + 186 1816 2956 + + + +周一至周日 08:00—20:00
+北京 · 上海 · 天津 · 西安
+
+ 微信扫一扫 · 进入暖橙陪诊小程序
+
+ 长按或扫码添加客服,确认医院、时间与就诊人情况。
+