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/components/MeetingTabbar.vue b/src/components/MeetingTabbar.vue new file mode 100644 index 0000000..0537379 --- /dev/null +++ b/src/components/MeetingTabbar.vue @@ -0,0 +1,65 @@ + + + + + diff --git a/src/pages.json b/src/pages.json index 89df648..426bf83 100644 --- a/src/pages.json +++ b/src/pages.json @@ -472,6 +472,12 @@ "style": { "navigationBarTitleText": "预约会议" } + }, + { + "path": "meeting/my-reservations", + "style": { + "navigationBarTitleText": "我的预约" + } } ] } @@ -498,13 +504,13 @@ "selectedIconPath": "" }, { - "pagePath": "pages/tabbar/onlineShop", + "pagePath": "pages/tabbar/coopMerchant", "text": "", "iconPath": "", "selectedIconPath": "" }, { - "pagePath": "pages/tabbar/coopMerchant", + "pagePath": "pages/tabbar/onlineShop", "text": "", "iconPath": "", "selectedIconPath": "" diff --git a/src/pages/integrated/meeting/index.vue b/src/pages/integrated/meeting/index.vue index 0018fcd..aec2f19 100644 --- a/src/pages/integrated/meeting/index.vue +++ b/src/pages/integrated/meeting/index.vue @@ -41,11 +41,13 @@ + + + \ No newline at end of file diff --git a/src/pages/integrated/visitor/myvisitor.vue b/src/pages/integrated/visitor/myvisitor.vue index 3c67402..a5ee811 100644 --- a/src/pages/integrated/visitor/myvisitor.vue +++ b/src/pages/integrated/visitor/myvisitor.vue @@ -59,7 +59,16 @@ 暂无访客记录 - + + + + 首页 + + + + 我的 + + @@ -480,5 +489,37 @@ onMounted(() => { color: #999; font-size: 26rpx; } + + .tabbar { + position: fixed; + left: 0; + right: 0; + bottom: 0; + height: 100rpx; + background: #fff; + display: flex; + border-top: 1px solid #eee; + z-index: 999; + } + + .tabbar-item { + flex: 1; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + color: #888; + font-size: 24rpx; + } + + .tabbar-icon { + width: 48rpx; + height: 48rpx; + margin-bottom: 4rpx; + } + + .tabbar-item.active { + color: #1777FF; + } } 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 @@