From 42568bdd99cfaadd3f8d9059e5166e2e0b2b26d0 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Tue, 26 Aug 2025 14:37:27 +0800
Subject: [PATCH] 1
---
src/page/user/recharge-sure.vue | 25 +++++++++++++++----------
1 files changed, 15 insertions(+), 10 deletions(-)
diff --git a/src/page/user/recharge-sure.vue b/src/page/user/recharge-sure.vue
index 6ca9144..5617f62 100644
--- a/src/page/user/recharge-sure.vue
+++ b/src/page/user/recharge-sure.vue
@@ -3,7 +3,7 @@
<van-nav-bar
:placeholder="true"
:safe-area-inset-top="true"
- :title="$t('提款')"
+ :title="$t('hj177')"
left-arrow
@click-left="onClickLeft"
>
@@ -72,7 +72,7 @@
<div class="dz-title" v-if="rechargeAccountData.key !== undefined">
<div>{{ $t("可用餘額") }}</div>
<div class="balance-text">
- {{ availableBalanceUSD | _toLocaleString }} {{ symbolCode }}
+ {{ availableBalanceUSD }} {{ symbolCode }}
<!-- {{ symbolCode }} -->
</div>
</div>
@@ -82,7 +82,8 @@
type="primary"
style="margin-top: 1.04rem; margin-bottom: 1.04rem"
@click="setOutMoney"
- >{{ $t("提款") }}</van-button
+ :disabled="isclick"
+ >{{ $t("hj177") }}</van-button
>
</main>
</div>
@@ -91,6 +92,7 @@
<script>
import { ActionSheet, Notify } from "vant";
import ClipboardJS from "clipboard";
+import _ from 'lodash';
import { getBankCard, getMoney, outMoney } from "../../axios/api";
export default {
@@ -99,8 +101,8 @@
return {
value: 0,
- paymentSelectData: "IN",
-
+ paymentSelectData: "JP",
+ isclick:false,
show: false,
yhkshow:false,
// 提款聚到
@@ -115,8 +117,8 @@
rechargeAccountData: {},
rechargeAccountActions: [
{
- name: this.$t("IN"),
- key: "IN",
+ name: this.$t("日股"),
+ key: "JP",
},
// {
// name: this.$t("MAS"),
@@ -142,16 +144,19 @@
},
methods: {
async setOutMoney() {
+ if (this.isclick) return;
+ console.log('11111');
const res = await outMoney({
amt: this.value,
assetsType: this.accectType,
bankId:this.yhkid
});
+ this.isclick = false;
if (res.status === 0) {
Notify({ type: "success", message: this.$t("hj182") });
- setTimeout(() => {
+ // setTimeout(() => {
this.$router.push("/cashlist");
- }, 500);
+ // }, 500);
} else {
Notify(res.msg);
}
@@ -233,7 +238,7 @@
.but {
width: 100%;
color: #ffffff;
- background-color: #1989fa;
+ background-color: #185546;
border-radius: 8px;
height: 66px;
font-size: 22px;
--
Gitblit v1.9.3