569 lines
14 KiB
Vue
569 lines
14 KiB
Vue
<script setup lang="ts">
|
||
import { servicesContentBundle } from '~/data/services-content'
|
||
|
||
const content = useLocalized(servicesContentBundle)
|
||
const { t } = useSiteLocale()
|
||
|
||
const servicesStagesGrid = computed(() =>
|
||
content.value.servicesProcessStages.filter((s) => s.number <= 5)
|
||
)
|
||
const servicesStagesWide = computed(() =>
|
||
content.value.servicesProcessStages.filter((s) => s.number >= 6)
|
||
)
|
||
|
||
const isZh = computed(() => content.value.servicesHero.pageTitle.startsWith('在华医疗'))
|
||
|
||
usePageSeo({
|
||
title: () =>
|
||
formatPageTitle(
|
||
isZh.value
|
||
? '服务 | 在华医疗治疗协调'
|
||
: 'Services | Medical Treatment Facilitation in China',
|
||
isZh.value ? 'zh' : 'en'
|
||
),
|
||
description: () =>
|
||
isZh.value
|
||
? '优医在中国商业法规标准下协调国际医疗出行:专家匹配、S1/S2 签证支持、医学翻译、住宿安排及治疗后照护。'
|
||
: 'UMedGlobal coordinates international medical travel to China under China business standards: specialist matching, S1/S2 visa support, translation, lodging, and post-treatment care.',
|
||
ogImage: '/images/services-hero.jpg'
|
||
})
|
||
</script>
|
||
|
||
<template>
|
||
<div class="services-page">
|
||
<section class="svc-hero" aria-label="Introduction">
|
||
<div class="container svc-hero__grid">
|
||
<div class="svc-hero__media">
|
||
<img
|
||
:src="content.servicesHero.image"
|
||
:alt="content.servicesHero.imageAlt"
|
||
fetchpriority="high"
|
||
/>
|
||
</div>
|
||
<div class="svc-hero__text">
|
||
<h1 class="svc-hero__title">{{ content.servicesHero.pageTitle }}</h1>
|
||
<p
|
||
v-for="(para, i) in content.servicesHero.introParagraphs"
|
||
:key="i"
|
||
class="svc-hero__intro"
|
||
>
|
||
<template v-if="typeof para === 'string'">{{ para }}</template>
|
||
<template v-else>
|
||
<template v-for="(part, pi) in para.parts" :key="pi">
|
||
<NuxtLink
|
||
v-if="part.kind === 'link'"
|
||
:to="part.to"
|
||
class="svc-hero__link"
|
||
:target="part.newTab ? '_blank' : undefined"
|
||
:rel="part.newTab ? 'noopener noreferrer' : undefined"
|
||
>
|
||
{{ part.label }}
|
||
</NuxtLink>
|
||
<template v-else>{{ part.value }}</template>
|
||
</template>
|
||
</template>
|
||
</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="svc-bar" aria-label="Seven-stage process">
|
||
<div class="container">
|
||
<h2 class="svc-bar__title">{{ content.servicesProcessBanner }}</h2>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="svc-stages" aria-label="Seven-stage process details">
|
||
<div class="container svc-stages__grid">
|
||
<article
|
||
v-for="stage in servicesStagesGrid"
|
||
:key="stage.number"
|
||
class="svc-stage-col"
|
||
:aria-labelledby="`svc-stage-${stage.number}`"
|
||
>
|
||
<div class="svc-stage-col__icon-ring" aria-hidden="true">
|
||
<img
|
||
:src="stage.icon"
|
||
:alt="stage.iconAlt"
|
||
class="svc-stage-col__icon"
|
||
width="120"
|
||
height="120"
|
||
/>
|
||
</div>
|
||
<h2 :id="`svc-stage-${stage.number}`" class="svc-stage-col__label">
|
||
Stage {{ stage.number }}:
|
||
</h2>
|
||
<h3 class="svc-stage-col__title">{{ stage.title }}</h3>
|
||
<p class="svc-stage-col__intro">{{ stage.intro }}</p>
|
||
<ul class="svc-stage-col__list">
|
||
<li v-for="(bullet, bi) in stage.bullets" :key="bi">
|
||
<strong>{{ bullet.label }}</strong>
|
||
{{ bullet.text }}
|
||
</li>
|
||
</ul>
|
||
</article>
|
||
</div>
|
||
|
||
<div class="container svc-stages-wide">
|
||
<article
|
||
v-for="stage in servicesStagesWide"
|
||
:key="stage.number"
|
||
class="svc-stage-row"
|
||
:class="
|
||
stage.number === 6
|
||
? 'svc-stage-row--icon-left'
|
||
: 'svc-stage-row--icon-right'
|
||
"
|
||
:aria-labelledby="`svc-stage-${stage.number}`"
|
||
>
|
||
<div class="svc-stage-row__icon-wrap" aria-hidden="true">
|
||
<div class="svc-stage-row__icon-ring">
|
||
<img
|
||
:src="stage.icon"
|
||
:alt="stage.iconAlt"
|
||
class="svc-stage-row__icon"
|
||
width="160"
|
||
height="160"
|
||
/>
|
||
</div>
|
||
</div>
|
||
<div class="svc-stage-row__body">
|
||
<h2 :id="`svc-stage-${stage.number}`" class="svc-stage-row__heading">
|
||
Stage {{ stage.number }}: {{ stage.title }}
|
||
</h2>
|
||
<p class="svc-stage-row__intro">{{ stage.intro }}</p>
|
||
<ul class="svc-stage-row__list">
|
||
<li v-for="(bullet, bi) in stage.bullets" :key="bi">
|
||
<strong>{{ bullet.label }}</strong>
|
||
{{ bullet.text }}
|
||
</li>
|
||
</ul>
|
||
</div>
|
||
</article>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="svc-bar" aria-label="Frequently asked questions">
|
||
<div class="container">
|
||
<p class="svc-bar__title">{{ t('faqSectionTitle') }}</p>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="svc-section svc-section--faq">
|
||
<div class="container svc-faq">
|
||
<div
|
||
v-for="(item, i) in content.servicesFaq"
|
||
:key="i"
|
||
class="svc-faq__item"
|
||
>
|
||
<h3 class="svc-faq__q">Q: {{ item.q }}</h3>
|
||
<p v-if="item.intro" class="svc-faq__p">{{ item.intro }}</p>
|
||
<ul v-if="item.bullets?.length" class="svc-faq__a">
|
||
<li v-for="(line, li) in item.bullets" :key="li">{{ line }}</li>
|
||
</ul>
|
||
<p v-if="item.a" class="svc-faq__p">{{ item.a }}</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="svc-close-block" aria-label="Request assessment">
|
||
<div class="container svc-close-block__inner">
|
||
<h2 class="svc-close-block__title">{{ content.servicesClosing.title }}</h2>
|
||
<p class="svc-close-block__text">{{ content.servicesClosing.text }}</p>
|
||
<NuxtLink :to="content.servicesClosing.ctaTo" class="btn btn--white">
|
||
{{ content.servicesClosing.ctaLabel }}
|
||
</NuxtLink>
|
||
</div>
|
||
</section>
|
||
</div>
|
||
</template>
|
||
|
||
<style scoped>
|
||
.services-page {
|
||
--svc-bar: #48a4fc;
|
||
--svc-heading: #48a4fc;
|
||
}
|
||
|
||
.svc-hero {
|
||
background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
|
||
padding: 48px 0 56px;
|
||
}
|
||
.svc-hero__grid {
|
||
display: grid;
|
||
grid-template-columns: minmax(280px, 1fr) minmax(0, 1.05fr);
|
||
gap: clamp(28px, 4vw, 48px);
|
||
align-items: center;
|
||
}
|
||
.svc-hero__media img {
|
||
width: 100%;
|
||
height: auto;
|
||
display: block;
|
||
border-radius: 12px;
|
||
box-shadow: 0 8px 28px rgba(15, 45, 85, 0.12);
|
||
object-fit: cover;
|
||
}
|
||
.svc-hero__title {
|
||
font-size: clamp(22px, 2.8vw, 30px);
|
||
font-weight: 700;
|
||
color: #0f2740;
|
||
line-height: 1.35;
|
||
margin: 0 0 20px;
|
||
text-align: left;
|
||
}
|
||
.svc-hero__intro {
|
||
font-size: 15.5px;
|
||
line-height: 1.75;
|
||
color: #2d4055;
|
||
margin: 0 0 14px;
|
||
text-align: left;
|
||
}
|
||
.svc-hero__intro:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
.svc-hero__link {
|
||
color: var(--blue);
|
||
font-weight: 600;
|
||
text-decoration: underline;
|
||
text-underline-offset: 3px;
|
||
}
|
||
.svc-hero__link:hover {
|
||
color: var(--blue-light);
|
||
}
|
||
|
||
.svc-bar {
|
||
background: var(--svc-bar);
|
||
padding: 16px 0;
|
||
}
|
||
.svc-bar__title {
|
||
margin: 0;
|
||
text-align: center;
|
||
font-size: clamp(18px, 2.2vw, 22px);
|
||
font-weight: 700;
|
||
color: #fff;
|
||
line-height: 1.4;
|
||
}
|
||
|
||
/* 7 阶段:双列 + 圆形线稿图标(对齐原型) */
|
||
.svc-stages {
|
||
background: #fff;
|
||
padding: 36px 0 48px;
|
||
}
|
||
/* 行1: Stage1–2 | 行2: Stage3–5 | 行3–4: Stage6、7 各占一行 */
|
||
.svc-stages__grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(6, minmax(0, 1fr));
|
||
gap: 48px 40px;
|
||
align-items: start;
|
||
}
|
||
.svc-stage-col:nth-child(1),
|
||
.svc-stage-col:nth-child(2) {
|
||
grid-column: span 3;
|
||
}
|
||
.svc-stage-col:nth-child(3),
|
||
.svc-stage-col:nth-child(4),
|
||
.svc-stage-col:nth-child(5) {
|
||
grid-column: span 2;
|
||
}
|
||
.svc-stage-col {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
text-align: center;
|
||
padding: 0 12px;
|
||
}
|
||
.svc-stage-col:nth-child(3) .svc-stage-col__title,
|
||
.svc-stage-col:nth-child(4) .svc-stage-col__title,
|
||
.svc-stage-col:nth-child(5) .svc-stage-col__title {
|
||
max-width: 340px;
|
||
}
|
||
.svc-stage-col:nth-child(3) .svc-stage-col__intro,
|
||
.svc-stage-col:nth-child(4) .svc-stage-col__intro,
|
||
.svc-stage-col:nth-child(5) .svc-stage-col__intro,
|
||
.svc-stage-col:nth-child(3) .svc-stage-col__list,
|
||
.svc-stage-col:nth-child(4) .svc-stage-col__list,
|
||
.svc-stage-col:nth-child(5) .svc-stage-col__list {
|
||
max-width: 360px;
|
||
}
|
||
.svc-stage-col__icon-ring {
|
||
width: clamp(140px, 18vw, 168px);
|
||
height: clamp(140px, 18vw, 168px);
|
||
border: 3px solid var(--svc-heading);
|
||
border-radius: 50%;
|
||
display: grid;
|
||
place-items: center;
|
||
margin-bottom: 20px;
|
||
background: #fff;
|
||
flex-shrink: 0;
|
||
}
|
||
.svc-stage-col__icon {
|
||
width: 72%;
|
||
height: 72%;
|
||
object-fit: contain;
|
||
}
|
||
.svc-stage-col__label {
|
||
margin: 0 0 6px;
|
||
font-size: clamp(17px, 2vw, 20px);
|
||
font-weight: 700;
|
||
color: var(--svc-heading);
|
||
line-height: 1.3;
|
||
}
|
||
.svc-stage-col__title {
|
||
margin: 0 0 16px;
|
||
font-size: clamp(16px, 1.8vw, 19px);
|
||
font-weight: 700;
|
||
color: var(--svc-heading);
|
||
line-height: 1.4;
|
||
max-width: 420px;
|
||
}
|
||
.svc-stage-col__intro {
|
||
margin: 0 0 16px;
|
||
font-size: 14.5px;
|
||
line-height: 1.7;
|
||
color: #2d4055;
|
||
text-align: center;
|
||
max-width: 480px;
|
||
}
|
||
.svc-stage-col__list {
|
||
margin: 0;
|
||
padding: 0;
|
||
list-style: none;
|
||
text-align: left;
|
||
width: 100%;
|
||
max-width: 480px;
|
||
}
|
||
.svc-stage-col__list li {
|
||
position: relative;
|
||
padding-left: 18px;
|
||
margin-bottom: 12px;
|
||
font-size: 14px;
|
||
line-height: 1.65;
|
||
color: #2d4055;
|
||
}
|
||
.svc-stage-col__list li:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
.svc-stage-col__list li::before {
|
||
content: '';
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0.55em;
|
||
width: 6px;
|
||
height: 6px;
|
||
background: var(--svc-heading);
|
||
border-radius: 1px;
|
||
transform: translateY(-50%);
|
||
}
|
||
.svc-stage-col__list strong {
|
||
font-weight: 700;
|
||
color: #1e1e1e;
|
||
}
|
||
|
||
/* Stage 6–7:整行左右交替(图标 ↔ 文案) */
|
||
.svc-stages-wide {
|
||
margin-top: 12px;
|
||
}
|
||
.svc-stage-row {
|
||
display: grid;
|
||
grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
|
||
gap: clamp(32px, 5vw, 64px);
|
||
align-items: center;
|
||
padding: 36px 0;
|
||
}
|
||
.svc-stage-row + .svc-stage-row {
|
||
padding-top: 28px;
|
||
}
|
||
.svc-stage-row--icon-right {
|
||
grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
|
||
}
|
||
.svc-stage-row--icon-right .svc-stage-row__icon-wrap {
|
||
order: 2;
|
||
}
|
||
.svc-stage-row--icon-right .svc-stage-row__body {
|
||
order: 1;
|
||
}
|
||
.svc-stage-row__icon-wrap {
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
.svc-stage-row__icon-ring {
|
||
width: clamp(180px, 22vw, 220px);
|
||
height: clamp(180px, 22vw, 220px);
|
||
border: 3px solid var(--svc-heading);
|
||
border-radius: 50%;
|
||
display: grid;
|
||
place-items: center;
|
||
background: #fff;
|
||
flex-shrink: 0;
|
||
}
|
||
.svc-stage-row__icon {
|
||
width: 76%;
|
||
height: 76%;
|
||
object-fit: contain;
|
||
}
|
||
.svc-stage-row__body {
|
||
text-align: left;
|
||
}
|
||
.svc-stage-row__heading {
|
||
margin: 0 0 16px;
|
||
font-size: clamp(18px, 2.2vw, 22px);
|
||
font-weight: 700;
|
||
color: var(--svc-heading);
|
||
line-height: 1.35;
|
||
}
|
||
.svc-stage-row__intro {
|
||
margin: 0 0 16px;
|
||
font-size: 14.5px;
|
||
line-height: 1.7;
|
||
color: #2d4055;
|
||
}
|
||
.svc-stage-row__list {
|
||
margin: 0;
|
||
padding: 0;
|
||
list-style: none;
|
||
}
|
||
.svc-stage-row__list li {
|
||
position: relative;
|
||
padding-left: 18px;
|
||
margin-bottom: 12px;
|
||
font-size: 14px;
|
||
line-height: 1.65;
|
||
color: #2d4055;
|
||
}
|
||
.svc-stage-row__list li:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
.svc-stage-row__list li::before {
|
||
content: '';
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0.55em;
|
||
width: 6px;
|
||
height: 6px;
|
||
background: var(--svc-heading);
|
||
border-radius: 1px;
|
||
transform: translateY(-50%);
|
||
}
|
||
.svc-stage-row__list strong {
|
||
font-weight: 700;
|
||
color: #1e1e1e;
|
||
}
|
||
|
||
.svc-section--faq {
|
||
padding-bottom: 32px;
|
||
}
|
||
.svc-faq {
|
||
max-width: 920px;
|
||
padding: 24px 32px 0;
|
||
}
|
||
.svc-faq__item {
|
||
margin-bottom: 28px;
|
||
}
|
||
.svc-faq__item:last-child {
|
||
margin-bottom: 0;
|
||
}
|
||
.svc-faq__q {
|
||
font-size: 16px;
|
||
font-weight: 700;
|
||
color: #0f2740;
|
||
margin: 0 0 10px;
|
||
line-height: 1.45;
|
||
}
|
||
.svc-faq__p {
|
||
font-size: 14.5px;
|
||
line-height: 1.7;
|
||
color: #2d4055;
|
||
margin: 0 0 10px;
|
||
}
|
||
.svc-faq__a {
|
||
margin: 0 0 10px;
|
||
padding-left: 20px;
|
||
font-size: 14.5px;
|
||
line-height: 1.7;
|
||
color: #2d4055;
|
||
}
|
||
.svc-faq__a li {
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.svc-close-block {
|
||
background: var(--svc-bar);
|
||
padding: 40px 0 48px;
|
||
}
|
||
.svc-close-block__inner {
|
||
max-width: 920px;
|
||
margin: 0 auto;
|
||
text-align: center;
|
||
padding: 0 32px;
|
||
}
|
||
.svc-close-block__title {
|
||
margin: 0 0 20px;
|
||
font-size: clamp(20px, 2.4vw, 26px);
|
||
font-weight: 700;
|
||
color: #fff;
|
||
line-height: 1.35;
|
||
}
|
||
.svc-close-block__text {
|
||
margin: 0 0 28px;
|
||
font-size: 15.5px;
|
||
line-height: 1.75;
|
||
color: #fff;
|
||
text-align: left;
|
||
}
|
||
.svc-close-block .btn--white {
|
||
background: #fff;
|
||
color: var(--svc-bar);
|
||
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
|
||
}
|
||
.svc-close-block .btn--white:hover {
|
||
background: #f5fbff;
|
||
color: #3a7aad;
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.svc-hero__grid {
|
||
grid-template-columns: 1fr;
|
||
gap: 28px;
|
||
}
|
||
.svc-hero__media {
|
||
max-width: 520px;
|
||
margin: 0 auto;
|
||
width: 100%;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.svc-hero {
|
||
padding: 36px 0 40px;
|
||
}
|
||
.svc-stages {
|
||
padding: 28px 0 36px;
|
||
}
|
||
.svc-stages__grid {
|
||
grid-template-columns: 1fr;
|
||
gap: 40px;
|
||
}
|
||
.svc-stage-col:nth-child(n) {
|
||
grid-column: auto;
|
||
max-width: none;
|
||
justify-self: stretch;
|
||
}
|
||
.svc-stage-row,
|
||
.svc-stage-row--icon-right {
|
||
grid-template-columns: 1fr;
|
||
gap: 28px;
|
||
padding: 28px 0;
|
||
}
|
||
.svc-stage-row--icon-right .svc-stage-row__icon-wrap,
|
||
.svc-stage-row--icon-right .svc-stage-row__body {
|
||
order: unset;
|
||
}
|
||
.svc-faq,
|
||
.svc-close-block__inner {
|
||
padding-left: 18px;
|
||
padding-right: 18px;
|
||
}
|
||
}
|
||
</style>
|