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