feat: 全局更改tabbar、首页、分享页UI重构

This commit is contained in:
2026-06-01 15:50:19 +08:00
parent aa0a289f27
commit c2388e1396
22 changed files with 852 additions and 461 deletions
+7 -2
View File
@@ -333,7 +333,12 @@ onShow(async () => {
await loadPageData();
});
const onClickLeft = () => {
uni.switchTab({ url: '/pages/index/index' });
uni.switchTab({
url: '/pages/index/index',
fail: () => {
uni.reLaunch({ url: '/pages/index/index' });
},
});
};
let sysInfo = uni.getSystemInfoSync();
const windowHeight = sysInfo.windowHeight;
@@ -629,4 +634,4 @@ function getProduct(status) {
font-size: 51rpx;
line-height: 66rpx;
}
</style>
</style>