From 0af5876c4e807785ceaf254b7fad0c97589ec8aa Mon Sep 17 00:00:00 2001 From: weiwei Date: Sat, 29 Mar 2025 21:23:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=83=E5=B1=80=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/shop/brandDetail.vue | 153 +++++++++++++++--------------- src/pages/tabbar/coopMerchant.vue | 47 +++++---- 2 files changed, 101 insertions(+), 99 deletions(-) diff --git a/src/pages/shop/brandDetail.vue b/src/pages/shop/brandDetail.vue index edd1b4d..2b3caf6 100644 --- a/src/pages/shop/brandDetail.vue +++ b/src/pages/shop/brandDetail.vue @@ -45,6 +45,7 @@ onShow(async () => { } finally { uni.hideLoading() } + uni.setNavigationBarTitle({ title: state.detail.name }) }) const getDetail = async () => { @@ -61,84 +62,86 @@ const toDetail = async (v: any) => { diff --git a/src/pages/tabbar/coopMerchant.vue b/src/pages/tabbar/coopMerchant.vue index 5c7e5a4..2413d3f 100644 --- a/src/pages/tabbar/coopMerchant.vue +++ b/src/pages/tabbar/coopMerchant.vue @@ -31,7 +31,7 @@ const toDetail = async (v: any) => { if (isLogin) { if (v.supType && v.supType == "10") return router.jump("/pages/shop/brandDetail", { parentId: v.id }) if (v.supType && v.supType == "20") return router.jump("/pages/shop/detail", { id: v.id }) - uni.showToast({ title: "合作商户类型未知", icon: "none" }) + uni.showToast({ title: "合作商家类型未知", icon: "none" }) } } @@ -57,32 +57,31 @@ const toDetail = async (v: any) => { - - {{ v.name.length > 7 ? v.name.substring(0, 6) + "..." : v.name }} - 共{{ v.mchCount }}家店铺 - - + {{ v.name.length > 7 ? v.name.substring(0, 6) + "..." : v.name }} {{ v.deptName.length > 5 ? v.deptName.substring(0, 5) + "..." : v.deptName }} - - - - - {{ v.phone }} + + + + + + {{ v.phone }} + + 共{{ v.mchCount }}家 营业时间: