feat:首页完成

This commit is contained in:
李伊帆
2026-09-11 08:02:01 +08:00
parent 5b31eac508
commit 173cd6b975
68 changed files with 3181 additions and 112 deletions

View File

@@ -0,0 +1,15 @@
export function navigateBackWithFallback(fallbackUrl: string) {
const pages = getCurrentPages()
if (pages.length > 1) {
uni.navigateBack()
return
}
uni.redirectTo({
url: fallbackUrl,
fail: () => {
uni.reLaunch({ url: fallbackUrl })
},
})
}