Files
umed/web/pages/privacy-policy.vue
T
2026-07-09 14:35:32 +08:00

185 lines
4.7 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<script setup lang="ts">
import { privacyPolicyContentBundle } from '~/data/privacy-policy-content'
const content = useLocalized(privacyPolicyContentBundle)
const { locale } = useSiteLocale()
usePageSeo({
title: () => formatPageTitle(locale.value === 'zh' ? '隐私政策' : 'Privacy Policy', locale.value),
description: () =>
locale.value === 'zh'
? '优医隐私政策:我们如何收集、使用、保护与共享您的个人及医疗信息,以支持中国跨境医疗协调服务。'
: 'UMedGlobal Privacy Policy: how we collect, use, protect, and share your personal and medical information for cross-border healthcare coordination in China.',
robots: 'noindex,follow'
})
</script>
<template>
<div class="privacy-page">
<section class="privacy-hero" :aria-label="locale === 'zh' ? '隐私政策介绍' : 'Privacy Policy introduction'">
<div class="container privacy-hero__inner">
<h1 class="privacy-hero__title">{{ content.privacyPolicyMeta.pageTitle }}</h1>
<p class="privacy-hero__date">{{ content.privacyPolicyMeta.effectiveDate }}</p>
</div>
</section>
<section class="privacy-body" aria-label="Privacy Policy content">
<div class="container privacy-body__inner">
<article
v-for="section in content.privacyPolicySections"
:id="`section-${section.number}`"
:key="section.number"
class="privacy-section"
>
<h2 class="privacy-section__title">
{{ section.number }}. {{ section.title }}
</h2>
<p
v-for="(para, i) in section.paragraphs"
:key="`p-${i}`"
class="privacy-section__p"
>
<template v-if="section.number === '10'">
<template v-if="locale === 'zh'">
如对本隐私政策或数据处理有任何疑问,请
<NuxtLink to="/#contact" class="privacy-section__link">联系我们</NuxtLink>。
</template>
<template v-else>
If you have any questions or concerns about this Privacy Policy or
our data practices, please
<NuxtLink to="/#contact" class="privacy-section__link">contact us</NuxtLink>.
</template>
</template>
<template v-else>{{ para }}</template>
</p>
<ul v-if="section.listItems?.length" class="privacy-section__list">
<li v-for="(item, i) in section.listItems" :key="i">
<strong>{{ item.label }}</strong> {{ item.text }}
</li>
</ul>
</article>
<p class="privacy-disclaimer">{{ content.privacyPolicyMeta.disclaimer }}</p>
</div>
</section>
</div>
</template>
<style scoped>
.privacy-page {
--privacy-bar: var(--section-bar);
--privacy-heading: var(--blue-light);
}
.privacy-hero {
background: var(--privacy-bar);
padding: 32px 0 36px;
}
.privacy-hero__inner {
max-width: 920px;
}
.privacy-hero__title {
margin: 0 0 10px;
font-size: clamp(22px, 2.8vw, 30px);
font-weight: 700;
color: #fff;
line-height: 1.35;
}
.privacy-hero__date {
margin: 0;
font-size: 15px;
color: #fff;
opacity: 0.92;
}
.privacy-body {
background: #fff;
padding: 40px 0 56px;
}
.privacy-body__inner {
max-width: 920px;
}
.privacy-section {
margin-bottom: 32px;
}
.privacy-section:last-of-type {
margin-bottom: 28px;
}
.privacy-section__title {
margin: 0 0 14px;
font-size: clamp(18px, 2.2vw, 22px);
font-weight: 700;
color: var(--privacy-heading);
line-height: 1.35;
}
.privacy-section__p {
margin: 0 0 12px;
font-size: 15.5px;
line-height: 1.75;
color: #2d4055;
}
.privacy-section__p:last-child {
margin-bottom: 0;
}
.privacy-section__link {
color: var(--blue);
text-decoration: underline;
text-underline-offset: 2px;
}
.privacy-section__link:hover {
opacity: 0.85;
}
.privacy-section__list {
margin: 8px 0 0;
padding: 0;
list-style: none;
}
.privacy-section__list li {
position: relative;
padding-left: 18px;
margin-bottom: 12px;
font-size: 15px;
line-height: 1.7;
color: #2d4055;
}
.privacy-section__list li:last-child {
margin-bottom: 0;
}
.privacy-section__list li::before {
content: '';
position: absolute;
left: 0;
top: 0.55em;
width: 6px;
height: 6px;
background: var(--privacy-heading);
border-radius: 1px;
transform: translateY(-50%);
}
.privacy-section__list strong {
font-weight: 700;
color: #1e1e1e;
}
.privacy-disclaimer {
margin: 0;
padding-top: 24px;
border-top: 1px solid #e2e8f0;
font-size: 14px;
line-height: 1.7;
color: #4a5f72;
}
@media (max-width: 640px) {
.privacy-hero {
padding: 24px 0 28px;
}
.privacy-body {
padding: 28px 0 40px;
}
}
</style>