添加红点修复

This commit is contained in:
张成
2025-11-21 14:50:42 +08:00
parent 27264011a1
commit 1c8b6163bb
17 changed files with 485 additions and 1202 deletions

View File

@@ -47,25 +47,7 @@ const GuideBar = (props) => {
return;
}
// 否则使用路由跳转(兼容模式)
let url = `/pages/${code}/index`;
if (code === "personal") {
url = "/user_pages/myself/index";
}
if (code === "message") {
url = "/other_pages/message/index";
}
if (code === "list") {
url = "/main_pages/index"
}
redirectTo({
url: url,
}).then(() => {
(Taro as any).pageScrollTo({
scrollTop: 0,
duration: 300,
});
});
};
return (