234 lines
5.5 KiB
Vue
234 lines
5.5 KiB
Vue
<script setup lang="ts">
|
|
import { casesContentBundle } from '~/data/cases-content'
|
|
|
|
const content = useLocalized(casesContentBundle)
|
|
const { locale } = useSiteLocale()
|
|
|
|
const isZh = computed(() => locale.value === 'zh')
|
|
|
|
usePageSeo({
|
|
title: () =>
|
|
formatPageTitle(
|
|
isZh.value
|
|
? '患者成功案例 | 中国医疗旅游导航'
|
|
: 'Patient Success Stories | Navigating Medical Tourism in China',
|
|
isZh.value ? 'zh' : 'en'
|
|
),
|
|
description: () =>
|
|
isZh.value
|
|
? '优医患者成功案例与病例研究——跨境医疗服务、专家协调及中国领先医院的先进治疗路径。'
|
|
: 'Patient success stories and case studies from UMedGlobal — expert cross-border medical concierge support, specialist coordination, and advanced care pathways at leading Chinese hospitals.',
|
|
ogImage: () => content.value.casesPageHero.background
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div class="cases-page">
|
|
<section class="cases-hero" aria-label="Patient Success Stories introduction">
|
|
<img
|
|
class="cases-hero__bg"
|
|
:src="content.casesPageHero.background"
|
|
:alt="content.casesPageHero.backgroundAlt"
|
|
fetchpriority="high"
|
|
/>
|
|
<div class="cases-hero__overlay">
|
|
<div class="cases-hero__box">
|
|
<h1
|
|
v-if="content.casesPageHero.titleLine1 || content.casesPageHero.titleLine2"
|
|
class="cases-hero__title"
|
|
>
|
|
{{ content.casesPageHero.titleLine1 }}<br />
|
|
{{ content.casesPageHero.titleLine2 }}
|
|
</h1>
|
|
<p v-if="content.casesPageHero.subtitle" class="cases-hero__subtitle">
|
|
{{ content.casesPageHero.subtitle }}
|
|
</p>
|
|
<p
|
|
v-for="(para, i) in content.casesPageHero.introParagraphs"
|
|
:key="i"
|
|
class="cases-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="cases-hero__link"
|
|
>
|
|
{{ part.label }}
|
|
</NuxtLink>
|
|
<template v-else>{{ part.value }}</template>
|
|
</template>
|
|
</template>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="section cstory-section">
|
|
<div class="container">
|
|
<CaseCard
|
|
v-for="(story, i) in content.successStoryCases"
|
|
:key="story.title"
|
|
:story="story"
|
|
:reverse="i % 2 === 1"
|
|
:read-full-label="content.readFullCaseStudyLabel"
|
|
/>
|
|
</div>
|
|
</section>
|
|
|
|
<section class="cases-close-block" aria-label="Request assessment">
|
|
<div class="container cases-close-block__inner">
|
|
<h2 class="cases-close-block__title">{{ content.casesClosing.title }}</h2>
|
|
<p class="cases-close-block__text">{{ content.casesClosing.text }}</p>
|
|
<NuxtLink :to="content.casesClosing.ctaTo" class="btn btn--white">
|
|
{{ content.casesClosing.ctaLabel }}
|
|
</NuxtLink>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.cases-page {
|
|
--cases-overlay: rgba(72, 164, 252, 0.92);
|
|
--cases-bar: #48a4fc;
|
|
}
|
|
|
|
.cases-hero {
|
|
position: relative;
|
|
width: 100%;
|
|
min-height: 320px;
|
|
overflow: hidden;
|
|
background: #2a5570;
|
|
}
|
|
|
|
.cases-hero__bg {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
width: auto;
|
|
height: auto;
|
|
max-width: none;
|
|
object-fit: cover;
|
|
object-position: center center;
|
|
filter: blur(1px);
|
|
transform: translate(-50%, -50%) scale(1.08);
|
|
}
|
|
|
|
.cases-hero__overlay {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 320px;
|
|
padding: 48px 32px;
|
|
}
|
|
|
|
.cases-hero__box {
|
|
max-width: 920px;
|
|
width: 100%;
|
|
background: var(--cases-overlay);
|
|
padding: 36px 40px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cases-hero__title {
|
|
font-size: clamp(24px, 3vw, 32px);
|
|
font-weight: 700;
|
|
color: #fff;
|
|
line-height: 1.35;
|
|
margin: 0 0 12px;
|
|
}
|
|
|
|
.cases-hero__subtitle {
|
|
font-size: clamp(17px, 2vw, 20px);
|
|
font-weight: 600;
|
|
color: #fff;
|
|
line-height: 1.4;
|
|
margin: 0 0 20px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cases-hero__intro {
|
|
font-size: 15px;
|
|
line-height: 1.75;
|
|
color: #fff;
|
|
text-align: left;
|
|
margin: 0 0 14px;
|
|
}
|
|
|
|
.cases-hero__intro:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.cases-hero__link {
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
text-underline-offset: 3px;
|
|
}
|
|
|
|
.cases-hero__link:hover {
|
|
color: var(--blue);
|
|
}
|
|
|
|
.cstory-section {
|
|
padding-top: 24px;
|
|
padding-bottom: 64px;
|
|
}
|
|
|
|
.cases-close-block {
|
|
background: var(--cases-bar);
|
|
padding: 40px 0 48px;
|
|
}
|
|
.cases-close-block__inner {
|
|
max-width: 920px;
|
|
margin: 0 auto;
|
|
text-align: center;
|
|
padding: 0 32px;
|
|
}
|
|
.cases-close-block__title {
|
|
margin: 0 0 20px;
|
|
font-size: clamp(20px, 2.4vw, 26px);
|
|
font-weight: 700;
|
|
color: #fff;
|
|
line-height: 1.35;
|
|
}
|
|
.cases-close-block__text {
|
|
margin: 0 0 28px;
|
|
font-size: 15.5px;
|
|
line-height: 1.75;
|
|
color: #fff;
|
|
text-align: left;
|
|
}
|
|
.cases-close-block .btn--white {
|
|
background: #fff;
|
|
color: var(--cases-bar);
|
|
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
|
|
}
|
|
.cases-close-block .btn--white:hover {
|
|
background: #f5fbff;
|
|
color: #3a7aad;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.cases-hero__overlay {
|
|
min-height: 280px;
|
|
padding: 32px 18px;
|
|
}
|
|
|
|
.cases-hero__box {
|
|
padding: 28px 22px;
|
|
}
|
|
|
|
.cases-close-block__inner {
|
|
padding: 0 20px;
|
|
}
|
|
}
|
|
</style>
|