From c2388e139668568f8de52d4ed18a9af0dc21b1ef Mon Sep 17 00:00:00 2001 From: 15233722133 <15233722133@163.com> Date: Mon, 1 Jun 2026 15:50:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=85=A8=E5=B1=80=E6=9B=B4=E6=94=B9tab?= =?UTF-8?q?bar=E3=80=81=E9=A6=96=E9=A1=B5=E3=80=81=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E9=A1=B5UI=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 14 +- components/card_navbar/card_navbar.vue | 4 +- components/card_tabber/card_tabber.vue | 266 ++++++- components/goods/goods.vue | 13 +- pages.json | 26 +- pages/AI/member.vue | 9 +- .../goods/components/detail/detail-tabbar.vue | 3 + pages/home/share.vue | 168 ++--- pages/index/aiStore.vue | 2 +- pages/index/category.vue | 2 +- pages/index/index.vue | 673 +++++++++++------- pages/index/user.vue | 5 +- sheep/components/s-layout/s-layout.vue | 92 ++- sheep/components/s-pages/s-pages.vue | 11 +- sheep/router/index.js | 3 + static/icon/ notice.png | Bin 0 -> 3161 bytes static/index/index_bg.png | Bin 0 -> 3456158 bytes static/index/jinzhongzi.png | Bin 0 -> 4367 bytes static/share_bg.png | Bin 0 -> 555249 bytes .../mp-html/components/mp-html/mp-html.vue | 7 +- .../mp-html/components/mp-html/node/node.vue | 9 +- .../uni-list-item/uni-list-item.vue | 6 +- 22 files changed, 852 insertions(+), 461 deletions(-) create mode 100644 static/icon/ notice.png create mode 100644 static/index/index_bg.png create mode 100644 static/index/jinzhongzi.png create mode 100644 static/share_bg.png diff --git a/App.vue b/App.vue index a001e45..caa39d9 100644 --- a/App.vue +++ b/App.vue @@ -182,10 +182,11 @@ // socket() }); onLaunch(() => { - // 隐藏原生导航栏 使用自定义底部导航 - // uni.hideTabBar({ - // fail: () => {}, - // }); + try { + uni.hideTabBar({ + fail: () => {}, + }); + } catch (e) {} // globalData.value.statusBarHeight = uni.getSystemInfoSync()?.statusBarHeight; // globalData.value.windowHeight = uni.getSystemInfoSync()?.windowHeight; // 获取微信胶囊的位置信息 width,height,top,right,left,bottom @@ -208,6 +209,11 @@ }); onShow(() => { + try { + uni.hideTabBar({ + fail: () => {}, + }); + } catch (e) {} // #ifdef APP-PLUS // 获取urlSchemes参数 const args = diff --git a/components/card_navbar/card_navbar.vue b/components/card_navbar/card_navbar.vue index c6525fa..55266e5 100644 --- a/components/card_navbar/card_navbar.vue +++ b/components/card_navbar/card_navbar.vue @@ -1,5 +1,5 @@ - \ No newline at end of file + diff --git a/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue b/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue index fa2ab6f..8a65384 100644 --- a/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue +++ b/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue @@ -271,7 +271,11 @@ export default { uni.reLaunch(callback); break; case 'switchTab': - uni.switchTab(callback); + uni.switchTab(Object.assign({}, callback, { + fail: () => { + uni.reLaunch(callback); + } + })); break; default: uni.navigateTo(callback);