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
@@ -440,7 +440,12 @@ export default {
url: href,
fail () {
uni.switchTab({
url: href
url: href,
fail () {
uni.reLaunch({
url: href
})
}
})
}
})
@@ -365,7 +365,12 @@ export default {
fail () {
uni.switchTab({
url: href,
fail () { }
fail () {
uni.reLaunch({
url: href,
fail () { }
})
}
})
}
})
@@ -584,4 +589,4 @@ export default {
height: 225px;
}
/* #endif */
</style>
</style>
@@ -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);