diff --git a/src/App.vue b/src/App.vue index 6e9eb31..e7179f0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -28,14 +28,6 @@ const tabbar: TabbarItem[] = [ launchParam: ["selfMerchant"], auth: ["user"], }, - { - pagePath: "pages/tabbar/onlineShop", - text: "在线商城", - iconPath: "/static/tabbar/online-shop.png", - selectedIconPath: "/static/tabbar/online-shop-select.png", - launchParam: ["onlineShop"], - auth: ["user"], - }, { pagePath: "pages/tabbar/coopMerchant", text: "合作商家", @@ -44,6 +36,14 @@ const tabbar: TabbarItem[] = [ launchParam: ["coopMerchant"], auth: ["user"], }, + { + pagePath: "pages/tabbar/onlineShop", + text: "在线商城", + iconPath: "/static/tabbar/online-shop.png", + selectedIconPath: "/static/tabbar/online-shop-select.png", + launchParam: ["onlineShop"], + auth: ["user"], + }, { pagePath: "pages/tabbar/cabinet", text: "智能柜", diff --git a/src/pages/shop/detail.vue b/src/pages/shop/detail.vue index eaae7fb..66bf25f 100644 --- a/src/pages/shop/detail.vue +++ b/src/pages/shop/detail.vue @@ -27,7 +27,7 @@ - {{ state.detail.phone }} + {{ state.detail.phone?.slice(0, 11) }} - + @@ -337,7 +337,7 @@ const doPhone = () => { return } ;(window as any).dd - .callPhone({ phoneNum: state.detail.phone }) + .callPhone({ phoneNum: state.detail.phone.slice(0, 11) }) .then((res) => {}) .catch((err) => {}) } diff --git a/src/pages/tabbar/onlineShop.vue b/src/pages/tabbar/onlineShop.vue index 619f187..e2d2d69 100644 --- a/src/pages/tabbar/onlineShop.vue +++ b/src/pages/tabbar/onlineShop.vue @@ -18,14 +18,15 @@