From a28ffedef3f6df89b00049de0b19fe8008994a51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 31 Oct 2024 14:03:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B5=E9=9D=A2=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/css/page.css | 7 + components/diy/data-magic.vue | 53 +++-- components/diy/header.vue | 5 +- components/diy/img-magic.vue | 26 +-- .../diy/modules/data-magic/magic-carousel.vue | 57 ++++-- .../modules/data-magic/product-list-show.vue | 192 +++++++++++------- components/diy/title.vue | 5 +- 7 files changed, 215 insertions(+), 130 deletions(-) diff --git a/common/css/page.css b/common/css/page.css index 1f3003a6..470c8542 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -1359,4 +1359,11 @@ button[disabled].bg-grey { /* #ifndef H5 */ padding-top: calc(var(--status-bar-height) + 10rpx); /* #endif */ +} + +/* 数字和文字超出范围不整体换行 */ +.text-word-break { + word-break: break-all; + overflow-wrap: break-word; + word-wrap: break-word; } \ No newline at end of file diff --git a/components/diy/data-magic.vue b/components/diy/data-magic.vue index 7e34532b..8d1b3e63 100644 --- a/components/diy/data-magic.vue +++ b/components/diy/data-magic.vue @@ -9,9 +9,16 @@