开发钱包相关页面,调试提现接口
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
// 提交提现申请
|
||||
|
||||
Reference in New Issue
Block a user