feat: 全局更改tabbar、首页、分享页UI重构
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user