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 }}家 营业时间: