开发钱包相关页面,调试提现接口

This commit is contained in:
2025-09-27 23:08:32 +08:00
parent a1be43e02b
commit d6fb08eee4
13 changed files with 972 additions and 207 deletions

View File

@@ -228,14 +228,20 @@ const WalletPage: React.FC = () => {
};
const navigateToSetTransactionPassword = (type: "set" | "reset") => {
let url = ""
if (type === "set") {
url = `/user_pages/setTransactionPassword/index?type=${type}`
} else if (type === "reset") {
url = `/user_pages/validPhone/index`
}
Taro.navigateTo({
url: `/user_pages/setTransactionPassword/index?type=${type}`,
url,
});
};
// 处理提现
const handle_withdraw = () => {
if (!password_status) {
if (password_status) {
navigateToSetTransactionPassword("set");
return;
}
@@ -247,7 +253,10 @@ const WalletPage: React.FC = () => {
});
return;
}
set_show_withdraw_popup(true);
Taro.navigateTo({
url: "/user_pages/withdrawal/index",
});
// set_show_withdraw_popup(true);
};
// 提交提现申请