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 == ",," ? "" : "营业时间:" }}