fix(detail): implement proper recharge navigation

replace placeholder toast with actual recharge page navigation, and add a failure callback to show error toast on navigation fail
This commit is contained in:
duanshuwen
2026-07-16 22:32:41 +08:00
parent 7ff5fa6933
commit cf723e5b93

View File

@@ -229,7 +229,10 @@ const handleBack = () => {
};
const handleRecharge = () => {
showPlaceholderToast("积分充值");
uni.navigateTo({
url: "/pages-aigc/recharge/recharge",
fail: () => showPlaceholderToast("打开充值页面失败"),
});
};
const downloadMedia = (url) =>