From 9ddad348a549154e7b328f9d7dd9517d2abd330c Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Tue, 30 Sep 2025 09:47:25 +0800
Subject: [PATCH] 1

---
 src/page/user/recharge-sure.vue |   66 ++++++++++++++++++---------------
 1 files changed, 36 insertions(+), 30 deletions(-)

diff --git a/src/page/user/recharge-sure.vue b/src/page/user/recharge-sure.vue
index aa8f783..f44e17b 100644
--- a/src/page/user/recharge-sure.vue
+++ b/src/page/user/recharge-sure.vue
@@ -48,7 +48,7 @@
         <!-- <van-cell is-link :title="bankCard.bankName || $t('請選擇')" /> -->
         <van-cell
           is-link
-           :title="yhkrechargeSelect.bankName || $t('請選擇')"
+          :title="yhkrechargeSelect.bankName || $t('請選擇')"
           @click="yhkshow = true"
         />
         <van-action-sheet
@@ -92,7 +92,7 @@
 <script>
 import { ActionSheet, Notify } from "vant";
 import ClipboardJS from "clipboard";
-import _ from 'lodash';
+import _ from "lodash";
 import { getBankCard, getMoney, outMoney } from "../../axios/api";
 
 export default {
@@ -102,9 +102,9 @@
       value: 0,
 
       paymentSelectData: "IN",
-      isclick:false,
+      isclick: false,
       show: false,
-      yhkshow:false,
+      yhkshow: false,
       // 提款聚到
       rechargeSelect: {},
       yhkrechargeSelect: {},
@@ -117,17 +117,21 @@
       rechargeAccountData: {},
       rechargeAccountActions: [
         {
-          name: this.$t("IN"),
-          key: "IN",
+          name: this.$t("US"),
+          key: "US"
         },
-        // {
-        //   name: this.$t("MAS"),
-        //   key: "MAS",
-        // },
-        // {
-        //   name: this.$t("HK"),
-        //   key: "HK",
-        // },
+        {
+          name: this.$t("印股账户"),
+          key: "IN"
+        },
+        {
+          name: this.$t("台股账户"),
+          key: "TW"
+        },
+        {
+          name: this.$t("港股账户"),
+          key: "HK"
+        },
       ],
 
       bankCard: [],
@@ -135,7 +139,7 @@
       getMoneyList: [],
       assetsType: "",
       symbolCode: "",
-      yhkid:'',
+      yhkid: ""
     };
   },
   mounted() {
@@ -145,17 +149,17 @@
   methods: {
     async setOutMoney() {
       if (this.isclick) return;
-      console.log('11111');
+      console.log("11111");
       const res = await outMoney({
         amt: this.value,
         assetsType: this.accectType,
-        bankId:this.yhkid
+        bankId: this.yhkid
       });
       this.isclick = false;
       if (res.status === 0) {
         Notify({ type: "success", message: this.$t("hj182") });
         // setTimeout(() => {
-          this.$router.push("/cashlist");
+        this.$router.push("/cashlist");
         // }, 500);
       } else {
         Notify(res.msg);
@@ -169,9 +173,9 @@
       const res = await getBankCard();
       if (res.status === 0) {
         this.bankCard = res.data;
-        this.yhkactions = res.data
-        for(var i = 0;i<this.yhkactions.length;i++){
-          this.yhkactions[i].name = this.yhkactions[i].bankName
+        this.yhkactions = res.data;
+        for (var i = 0; i < this.yhkactions.length; i++) {
+          this.yhkactions[i].name = this.yhkactions[i].bankName;
         }
       }
     },
@@ -179,7 +183,7 @@
       const res = await getMoney();
       if (res.status === 0) {
         this.getMoneyList = res.data;
-        res.data.map((item) => {
+        res.data.map(item => {
           if (item.accectType === this.rechargeAccountData.key) {
             this.availableBalanceUSD = item.availableBalance;
             this.symbolCode = item.symbolCode;
@@ -194,7 +198,7 @@
     },
     copyText(e, data) {
       var clipboard = new ClipboardJS(".copy-button", {
-        text: () => data,
+        text: () => data
       });
 
       clipboard.on("success", () => {
@@ -205,11 +209,11 @@
       clipboard.onClick(e);
     },
     onClickLeft() {
-      this.$router.push("/user");
+      this.$router.go(-1);
     },
     yhkselect(e) {
       this.yhkrechargeSelect = e;
-      this.yhkid = e.id
+      this.yhkid = e.id;
       console.log(e);
     },
     select(e) {
@@ -218,7 +222,7 @@
     },
     rechargeAccountSelect(e) {
       this.rechargeAccountData = e;
-      (this.getMoneyList || []).map((item) => {
+      (this.getMoneyList || []).map(item => {
         if (item.accectType === this.rechargeAccountData.key) {
           this.availableBalanceUSD = item.availableBalance;
           this.symbolCode = item.symbolCode;
@@ -229,16 +233,18 @@
     paymentSelect(e) {
       this.paymentSelectData = e.name;
       console.log(e);
-    },
-  },
+    }
+  }
 };
 </script>
 
 <style lang="less" scoped>
+@green: #c4d600;
 .but {
   width: 100%;
   color: #ffffff;
-  background-color: #1989fa;
+  background-color: @green;
+  border: none;
   border-radius: 8px;
   height: 66px;
   font-size: 22px;
@@ -354,7 +360,7 @@
   cursor: pointer;
 }
 .myr {
-  color: rgb(5, 106, 239);
+  color: @green;
   cursor: pointer;
 }
 .dz-title {

--
Gitblit v1.9.3