From 7a61e9c607102dce91e8d21d5530b8b8202d4118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E5=BF=83=E5=AE=87?= Date: Tue, 30 Dec 2025 20:02:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/factory/components/Scene/index.jsx | 2 +- src/factory/components/Scene/index.scss | 4 ++++ src/factory/scene/index.jsx | 2 +- src/factory/scene/index.scss | 4 ++++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/factory/components/Scene/index.jsx b/src/factory/components/Scene/index.jsx index 862cd5d9..fbea24f5 100644 --- a/src/factory/components/Scene/index.jsx +++ b/src/factory/components/Scene/index.jsx @@ -51,7 +51,7 @@ const Scene = ({ zoneId }) => { sceneList.map((scene, index) => { return

{scene.name}

-

{scene.summary}

+

{scene.summary}

查看详情 diff --git a/src/factory/components/Scene/index.scss b/src/factory/components/Scene/index.scss index 2ae6b114..6cb21a5d 100644 --- a/src/factory/components/Scene/index.scss +++ b/src/factory/components/Scene/index.scss @@ -34,6 +34,10 @@ font-family: alibabareg; color: #091221; font-size: 16px; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; } a { diff --git a/src/factory/scene/index.jsx b/src/factory/scene/index.jsx index 04c556fc..4bb1e9fb 100644 --- a/src/factory/scene/index.jsx +++ b/src/factory/scene/index.jsx @@ -54,7 +54,7 @@ function Index(props) {

{detail.name}

-

{detail.summary}

+

{detail.summary}

diff --git a/src/factory/scene/index.scss b/src/factory/scene/index.scss index 209e7c88..81fec2e4 100644 --- a/src/factory/scene/index.scss +++ b/src/factory/scene/index.scss @@ -41,6 +41,10 @@ font-family: alibabareg; color: #091221; font-size: 16px; + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; } .header-img {