From 5720a3ce874adcdb57095b543f1075e65d308176 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Wed, 8 May 2024 09:59:21 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E5=95=86=E5=93=81=E8=AF=A6?= =?UTF-8?q?=E6=83=85=EF=BC=8C=E4=BC=98=E6=83=A0=E5=88=B8=E5=9C=A8=E6=94=AF?= =?UTF-8?q?=E4=BB=98=E5=AE=9D=E5=B0=8F=E7=A8=8B=E5=BA=8F=E6=8D=A2=E8=A1=8C?= =?UTF-8?q?=E9=94=99=E4=BD=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/page.css | 6 ++++++ pages/goods-detail/goods-detail.vue | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/common/css/page.css b/common/css/page.css index 51583011..a551be37 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -907,6 +907,12 @@ button[disabled].bg-grey { .warp { word-break: break-all; } +/** + * 文字不换行 + */ +.nowrap { + white-space: nowrap; +} /** * 基础导航 diff --git a/pages/goods-detail/goods-detail.vue b/pages/goods-detail/goods-detail.vue index 5e86f0d9..7c988f42 100644 --- a/pages/goods-detail/goods-detail.vue +++ b/pages/goods-detail/goods-detail.vue @@ -226,9 +226,9 @@ - - {{ item.desc || item.name }} - {{ item.status_operable_name }} + + {{ item.desc || item.name }} + {{ item.status_operable_name }}