From e13a74816c1dce72e35def4fe505748ab2a4c040 Mon Sep 17 00:00:00 2001 From: linmianxun <634841751@qq.com> Date: Thu, 29 Oct 2026 11:20:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=A6=96=E9=A1=B5=E5=B9=BF?= =?UTF-8?q?=E4=BA=A4=E4=BC=9A=E5=AE=A3=E4=BC=A0=E6=A8=AA=E5=B9=85=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E8=B0=83=E6=95=B4=20WhatsApp=20=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E9=A2=91=E9=81=93=E9=93=BE=E6=8E=A5=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Cursor --- web/.env.example | 2 +- web/.gitignore | 2 ++ web/README.md | 13 ++++++++++ web/data/home-content.ts | 19 +++++++++++++++ web/data/social-links.ts | 2 +- web/pages/index.vue | 30 ++++++++++++++++++++++++ web/public/images/home-promo-banner.jpg | Bin 0 -> 2757300 bytes 7 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 web/public/images/home-promo-banner.jpg 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)