From 88f01ce2e40677b906dac00687e13885173c1cc4 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, 27 Feb 2025 14:59:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=96=87=E6=9C=AC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=9A=84=E6=9C=80=E5=A4=A7=E9=AB=98=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 4 ++-- common/css/page.css | 12 ++++++++++++ components/diy/modules/custom/model-text.vue | 4 +++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/App.vue b/App.vue index 63d1a1a2..735adbbd 100644 --- a/App.vue +++ b/App.vue @@ -7,10 +7,10 @@ data: { // 基础配置 // 数据接口请求地址 - request_url:'https://new.shopxo.vip/', + request_url:'http://shopxo.com/', // 静态资源地址(如系统根目录不在public目录下面请在静态地址后面加public目录、如:https://d1.shopxo.vip/public/) - static_url:'https://new.shopxo.vip/', + static_url:'http://shopxo.com/', // 系统类型(默认default、如额外独立小程序、可与程序分身插件实现不同主体小程序及支付独立) system_type: 'default', diff --git a/common/css/page.css b/common/css/page.css index 36d63efe..6d58ee38 100644 --- a/common/css/page.css +++ b/common/css/page.css @@ -858,6 +858,18 @@ button[disabled].bg-grey { overflow-wrap: break-word; word-wrap: break-word; } +.text-line-3 { + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 3; + /* 添加标准属性以增加兼容性 */ + line-clamp: 3; + -webkit-box-orient: vertical; + word-break: break-word; + overflow-wrap: break-word; + word-wrap: break-word; +} /** * 文字超出部分换行 */ diff --git a/components/diy/modules/custom/model-text.vue b/components/diy/modules/custom/model-text.vue index 58e4481d..bb93ff7e 100644 --- a/components/diy/modules/custom/model-text.vue +++ b/components/diy/modules/custom/model-text.vue @@ -1,6 +1,6 @@