From 02d477d1a741d7798c8b80f1dd388be05e4ef0ce Mon Sep 17 00:00:00 2001 From: Jafeng <2998840497@qq.com> Date: Wed, 6 May 2026 16:14:41 +0800 Subject: [PATCH] =?UTF-8?q?style:=E4=BC=98=E5=8C=96=E6=96=87=E6=A1=88?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HeroSection.vue | 7 ++++++- src/styles/theme.css | 15 ++++++++++++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/src/components/HeroSection.vue b/src/components/HeroSection.vue index 4217048..37336c9 100644 --- a/src/components/HeroSection.vue +++ b/src/components/HeroSection.vue @@ -4,7 +4,12 @@
-

医疗行业患者全周期管理服务
数智化升级服务商

+

+ + 医疗行业患者全周期管理服务 + + 数智化升级服务商 +

专注于医疗服务提质提效增收

diff --git a/src/styles/theme.css b/src/styles/theme.css index f697273..31e5eca 100644 --- a/src/styles/theme.css +++ b/src/styles/theme.css @@ -263,10 +263,17 @@ button { line-height: 1.22; letter-spacing: -0.04em; color: #171b23; + word-break: keep-all; +} + +.hero-title-line { + display: block; } .hero-title-nowrap { white-space: nowrap; + overflow-wrap: normal; + word-break: keep-all; } .hero-badge { @@ -1000,10 +1007,12 @@ button { } .hero-copy h1 { max-width: 100%; - overflow-wrap: break-word; + overflow-wrap: normal; } - .hero-title-nowrap { - white-space: normal; + .hero-title-line--main { + display: flex; + flex-wrap: wrap; + column-gap: 0; } .hero-badge { font-size: 18px;