diff --git a/web/.env.example b/web/.env.example index 389db1e..216ee79 100644 --- a/web/.env.example +++ b/web/.env.example @@ -4,7 +4,7 @@ NUXT_PUBLIC_SITE_URL=https://umedglobal.com.cn # MySQL 数据库 NUXT_MYSQL_HOST=127.0.0.1 -NUXT_MYSQL_PORT=3306 +NUXT_MYSQL_PORT=13306 NUXT_MYSQL_USER=umedglobal NUXT_MYSQL_PASSWORD=your_mysql_password NUXT_MYSQL_DATABASE=umedglobal diff --git a/web/.gitignore b/web/.gitignore index e574267..753ec1a 100644 --- a/web/.gitignore +++ b/web/.gitignore @@ -5,6 +5,8 @@ node_modules .cache .output .env +.env.production.deploy +deploy-pack.tar.gz dist data/*.db .DS_Store diff --git a/web/README.md b/web/README.md index 2ec4d83..6c90ffb 100644 --- a/web/README.md +++ b/web/README.md @@ -46,3 +46,16 @@ npm run generate ## 资源 原型图片已统一复制并重命名至 `public/images/`。 + +## 调整记录 + +### 2026-10-13 + +| 调整文件 | 调整内容 | +| --- | --- | +| `public/images/home-promo-banner.png` | 新增首页广交会宣传横幅图(已替换) | +| `public/images/home-promo-banner.jpg` | 以高清 `00.jpg`(3300×1200)替换原模糊横幅 | +| `pages/index.vue` | 在顶部导航下方新增横幅区块(`.promo-banner`);与页面 `.container` 同宽对齐;图片源改为 `.jpg` | +| `data/home-content.ts` | 新增 `promoBanner.imageAlt`(en/zh/ar/ru)供横幅 alt 使用 | +| `data/social-links.ts` | WhatsApp 链接由群邀请改为官方频道 `https://whatsapp.com/channel/0029Vb7tTJ22v1Ip9tTdY53E` | +| 线上部署 | 已构建并上传 `deploy-pack.tar.gz`,远程解压后 `pm2 restart umed-web`,进程 online | diff --git a/web/data/home-content.ts b/web/data/home-content.ts index 40d352a..555eb38 100644 --- a/web/data/home-content.ts +++ b/web/data/home-content.ts @@ -24,6 +24,10 @@ export type HomeContent = { ogTitle: string ogDescription: string } + /** 首页导航下方满宽宣传横幅 */ + promoBanner: { + imageAlt: string + } hero: { welcome: string title: string @@ -90,6 +94,10 @@ const homeContentEn: HomeContent = { ogTitle: 'UMedGlobal | Medical Tourism China', ogDescription: 'Fast-Track Access to Advanced Specialized Care in China for international patients.' }, + promoBanner: { + imageAlt: + 'UMedGlobal Canton Fair banner: Here for the Fair? Stay for Your Health. One-stop cross-border care for international patients in China' + }, hero: { welcome: 'Welcome to UMedGlobal', title: 'Medical Tourism China: Fast-Track Access to Advanced Specialized Care', @@ -204,6 +212,9 @@ const homeContentZh: HomeContent = { ogTitle: '优医 | 中国医疗旅游', ogDescription: '为国际患者提供快速对接中国先进专科诊疗的服务。' }, + promoBanner: { + imageAlt: '优医广交会宣传横幅:来广交会,也别忘了关心自己的健康;为在华国际患者提供一站式跨境医疗服务' + }, hero: { welcome: '欢迎访问优医', title: '中国医疗旅游:快速对接先进专科诊疗', @@ -314,6 +325,10 @@ const homeContentAr: HomeContent = { ogTitle: 'UMedGlobal | السياحة العلاجية في الصين', ogDescription: 'وصول سريع إلى رعاية متخصصة متقدمة في الصين للمرضى الدوليين.' }, + promoBanner: { + imageAlt: + 'لافتة UMedGlobal لمعرض كانتون: هنا للمعرض؟ ابقَ من أجل صحتك. رعاية عابرة للحدود شاملة للمرضى الدوليين في الصين' + }, hero: { welcome: 'مرحبًا بكم في UMedGlobal', title: 'السياحة العلاجية في الصين: وصول سريع إلى رعاية متخصصة متقدمة', @@ -428,6 +443,10 @@ const homeContentRu: HomeContent = { ogTitle: 'UMedGlobal | Медицинский туризм в Китае', ogDescription: 'Ускоренный доступ к передовой специализированной помощи в Китае для иностранных пациентов.' }, + promoBanner: { + imageAlt: + 'Баннер UMedGlobal к Кантонской ярмарке: Здесь на ярмарку? Оставайтесь ради здоровья. Комплексная трансграничная помощь для иностранных пациентов в Китае' + }, hero: { welcome: 'Добро пожаловать в UMedGlobal', title: 'Медицинский туризм в Китае: ускоренный доступ к передовой специализированной помощи', diff --git a/web/data/social-links.ts b/web/data/social-links.ts index 73f5a0f..ed95f2d 100644 --- a/web/data/social-links.ts +++ b/web/data/social-links.ts @@ -2,7 +2,7 @@ export const officialSocialLinks = { tiktok: 'https://www.tiktok.com/@umedglobal?is_from_webapp=1&sender_device=pc', youtube: 'https://youtube.com/channel/UCEGze8SIhuNeuYdyfhpYqew?si=kquh12FoLw7iGPsU', xiaohongshu: 'https://xhslink.com/m/3pa7JK9DUjo', - whatsapp: 'https://chat.whatsapp.com/IbeVoh4zY6RK1nN9ogKHfJ?mode=gi_t', + whatsapp: 'https://whatsapp.com/channel/0029Vb7tTJ22v1Ip9tTdY53E', telegram: 'https://t.me/FFEELEE' } as const diff --git a/web/pages/index.vue b/web/pages/index.vue index 911924a..08899a3 100644 --- a/web/pages/index.vue +++ b/web/pages/index.vue @@ -50,6 +50,20 @@ const showAssessmentModal = ref(false)