From 4c8a466f75bf9eca29e9b5c9ad15db5757e5035d Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Wed, 28 Aug 2024 16:26:10 +0800
Subject: [PATCH] 首次提交

---
 src/page/user/recharge-sure.vue |   39 +++++++--------------------------------
 1 files changed, 7 insertions(+), 32 deletions(-)

diff --git a/src/page/user/recharge-sure.vue b/src/page/user/recharge-sure.vue
index 6ca9144..68c13a1 100644
--- a/src/page/user/recharge-sure.vue
+++ b/src/page/user/recharge-sure.vue
@@ -45,19 +45,7 @@
       />
       <div v-if="rechargeSelect.key !== undefined">
         <div class="main-title">{{ $t("請選擇銀行卡") }}</div>
-        <!-- <van-cell is-link :title="bankCard.bankName || $t('請選擇')" /> -->
-        <van-cell
-          is-link
-           :title="yhkrechargeSelect.bankName || $t('請選擇')"
-          @click="yhkshow = true"
-        />
-        <van-action-sheet
-          v-model="yhkshow"
-          :actions="yhkactions"
-          :cancel-text="$t('hj106')"
-          close-on-click-action
-          @select="yhkselect"
-        />
+        <van-cell is-link :title="bankCard.bankNo || $t('請選擇')" />
       </div>
       <div class="main-title">{{ $t("请选择提现金额") }}</div>
       <div class="white-input">
@@ -102,12 +90,10 @@
       paymentSelectData: "IN",
 
       show: false,
-      yhkshow:false,
+
       // 提款聚到
       rechargeSelect: {},
-      yhkrechargeSelect: {},
       actions: [{ name: this.$t("hj215"), key: "YHK" }],
-      yhkactions: [],
       paymentShow: false,
 
       rechargeAccountShow: false,
@@ -122,18 +108,17 @@
         //   name: this.$t("MAS"),
         //   key: "MAS",
         // },
-        // {
-        //   name: this.$t("HK"),
-        //   key: "HK",
-        // },
+        {
+          name: this.$t("US"),
+          key: "US",
+        },
       ],
 
-      bankCard: [],
+      bankCard: {},
       availableBalanceUSD: "0.0000",
       getMoneyList: [],
       assetsType: "",
       symbolCode: "",
-      yhkid:'',
     };
   },
   mounted() {
@@ -145,7 +130,6 @@
       const res = await outMoney({
         amt: this.value,
         assetsType: this.accectType,
-        bankId:this.yhkid
       });
       if (res.status === 0) {
         Notify({ type: "success", message: this.$t("hj182") });
@@ -164,10 +148,6 @@
       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
-        }
       }
     },
     async getMoneys() {
@@ -201,11 +181,6 @@
     },
     onClickLeft() {
       this.$router.push("/user");
-    },
-    yhkselect(e) {
-      this.yhkrechargeSelect = e;
-      this.yhkid = e.id
-      console.log(e);
     },
     select(e) {
       this.rechargeSelect = e;

--
Gitblit v1.9.3