From cd61d385bb1f369d7ce15032a7d547d22c770f3f Mon Sep 17 00:00:00 2001 From: weiwei Date: Fri, 28 Mar 2025 09:20:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shop/detail.vue | 10 +++++++--- src/pages/tabbar/coopShop.vue | 2 +- src/pages/tabbar/shop.vue | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/pages/shop/detail.vue b/src/pages/shop/detail.vue index 737fa5c..dfd5ec6 100644 --- a/src/pages/shop/detail.vue +++ b/src/pages/shop/detail.vue @@ -17,8 +17,12 @@ - {{ state.detail.name }} - {{ state.detail.deptName }} + + {{ state.detail.name.length > 7 ? state.detail.name.substring(0, 7) + "..." : state.detail.name }} + + + {{ state.detail.deptName.length > 5 ? state.detail.deptName.substring(0, 5) + "..." : state.detail.deptName }} + @@ -38,7 +42,7 @@ p-id="2685" > - {{ state.detail.phone }} + {{ state.detail.phone }} {{ state.detail.jobTime == ",," ? "" : "营业时间:" }} diff --git a/src/pages/tabbar/coopShop.vue b/src/pages/tabbar/coopShop.vue index 4bf3356..7439278 100644 --- a/src/pages/tabbar/coopShop.vue +++ b/src/pages/tabbar/coopShop.vue @@ -76,7 +76,7 @@ const toDetail = async (v: any) => { p-id="2685" > - {{ v.phone }} + {{ v.phone }} 营业时间: diff --git a/src/pages/tabbar/shop.vue b/src/pages/tabbar/shop.vue index cbca6ab..8c9c03e 100644 --- a/src/pages/tabbar/shop.vue +++ b/src/pages/tabbar/shop.vue @@ -76,7 +76,7 @@ const toDetail = async (v: any) => { p-id="2685" > - {{ v.phone }} + {{ v.phone }} {{ v.jobTime == ",," ? "" : "营业时间:" }}