更新首页广交会宣传横幅,并调整 WhatsApp 官方频道链接。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
linmianxun
2026-10-29 11:20:25 +08:00
co-authored by Cursor
parent b3c1dfd859
commit e13a74816c
7 changed files with 66 additions and 2 deletions
+1 -1
View File
@@ -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
+2
View File
@@ -5,6 +5,8 @@ node_modules
.cache
.output
.env
.env.production.deploy
deploy-pack.tar.gz
dist
data/*.db
.DS_Store
+13
View File
@@ -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 |
+19
View File
@@ -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: 'Медицинский туризм в Китае: ускоренный доступ к передовой специализированной помощи',
+1 -1
View File
@@ -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
+30
View File
@@ -50,6 +50,20 @@ const showAssessmentModal = ref(false)
<template>
<div>
<!-- ===== 宣传横幅(导航下方,不铺满以免低清图被拉伸发糊) ===== -->
<section class="promo-banner" aria-label="Promo banner">
<div class="container promo-banner__inner">
<img
class="promo-banner__img"
src="/images/home-promo-banner.jpg"
:alt="home.promoBanner.imageAlt"
width="3300"
height="1200"
decoding="async"
/>
</div>
</section>
<!-- ===== Hero ===== -->
<section id="top" class="hero">
<div class="container hero__grid">
@@ -289,6 +303,22 @@ const showAssessmentModal = ref(false)
</template>
<style scoped>
/* 首页导航下方宣传横幅:与下方 .container 内容同宽左右对齐,不铺满视口 */
.promo-banner {
margin: 0;
padding: 20px 0 0;
line-height: 0;
background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
}
.promo-banner__inner {
display: block;
}
.promo-banner__img {
display: block;
width: 100%;
height: auto;
}
/* Hero */
.hero {
background: linear-gradient(180deg, #f3f9ff 0%, #ffffff 100%);
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB