From 42c4efd5bef5d25560561b9473ab985a66a731a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Tue, 1 Apr 2025 18:50:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=94=80=E5=94=AE=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E8=BD=AE=E6=92=AD=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/page.css | 4 ++-- components/diy/diy.vue | 3 +++ components/diy/goods-list.vue | 2 +- components/diy/header.vue | 4 ++-- components/diy/modules/image-empty.vue | 9 ++++++++- 5 files changed, 16 insertions(+), 6 deletions(-) diff --git a/common/css/page.css b/common/css/page.css index 6d58ee38..8867a3f9 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -842,7 +842,7 @@ button[disabled].bg-grey { /* 添加标准属性以增加兼容性 */ line-clamp: 1; -webkit-box-orient: vertical; - word-break: break-word; + word-break: break-all; overflow-wrap: break-word; word-wrap: break-word; } @@ -854,7 +854,7 @@ button[disabled].bg-grey { /* 添加标准属性以增加兼容性 */ line-clamp: 2; -webkit-box-orient: vertical; - word-break: break-word; + word-break: break-all; overflow-wrap: break-word; word-wrap: break-word; } diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 06cdd7e0..7ce5c69b 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -45,6 +45,7 @@ + @@ -137,6 +138,7 @@ import componentDiyAsk from '@/components/diy/ask'; import componentDiyAskTabs from '@/components/diy/ask-tabs'; import componentDiyActivity from '@/components/diy/activity'; + import componentDiySalerecords from '@/components/diy/salerecords' import componentDiyTabsCarousel from '@/components/diy/tabs-carousel'; import componentDataTabs from '@/components/diy/data-tabs'; import componentGoodsList from '@/components/goods-list/goods-list'; @@ -202,6 +204,7 @@ componentDiyAsk, componentDiyAskTabs, componentDiyActivity, + componentDiySalerecords, componentDiyTabsCarousel, componentDataTabs, componentGoodsList, diff --git a/components/diy/goods-list.vue b/components/diy/goods-list.vue index 31436d89..55a9191f 100644 --- a/components/diy/goods-list.vue +++ b/components/diy/goods-list.vue @@ -217,7 +217,7 @@ }, propNewList: { type: Array, - default: [] + default: () => ([]) }, propIsUseAuto: { type: Boolean, diff --git a/components/diy/header.vue b/components/diy/header.vue index dad3919d..0eb3f057 100644 --- a/components/diy/header.vue +++ b/components/diy/header.vue @@ -24,7 +24,7 @@ - {{ form.content.title }} + {{ form.content.title }}