zzzz
2024-03-27 71d9414eea8a2aa2f1bb9cc8f23f0a69973269f5
src/page/user/recharge-sure.vue
@@ -3,54 +3,56 @@
    <van-nav-bar
      :placeholder="true"
      :safe-area-inset-top="true"
      title="提款"
      :title="$t('提款')"
      left-arrow
      @click-left="onClickLeft"
    />
    <main>
      <div class="main-title">請選擇提款账户</div>
      <div class="main-title">{{ $t("請選擇提款账户") }}</div>
      <van-cell
        is-link
        :title="rechargeAccountData.name || '請選擇'"
        :title="rechargeAccountData.name || $t('請選擇')"
        @click="rechargeAccountShow = true"
      />
      <van-action-sheet
        v-model="rechargeAccountShow"
        :actions="rechargeAccountActions"
        cancel-text="取消"
        :cancel-text="$t('hj106')"
        close-on-click-action
        @select="rechargeAccountSelect"
      />
      <div class="main-title">支持得提款渠道</div>
      <div class="main-title">{{ $t("支持得提款渠道") }}</div>
      <van-cell
        is-link
        :title="rechargeSelect.name || '請選擇'"
        :title="rechargeSelect.name || $t('請選擇')"
        @click="show = true"
      />
      <van-action-sheet
        v-model="show"
        :actions="actions"
        cancel-text="取消"
        :cancel-text="$t('hj106')"
        close-on-click-action
        @select="select"
      />
      <div v-if="rechargeSelect.key !== undefined">
        <div class="main-title">請選擇銀行卡</div>
        <van-cell is-link :title="bankCard.bankNo || '請選擇'" />
        <div class="main-title">{{ $t("請選擇銀行卡") }}</div>
        <van-cell is-link :title="bankCard.bankNo || $t('請選擇')" />
        <!-- @click="show = true" -->
        <!-- <van-action-sheet
          v-model="show"
          :actions="actions"
          cancel-text="取消"
          :cancel-text="$t('hj106')"
          close-on-click-action
          @select="select"
        /> -->
      </div>
      <div class="main-title">請選擇充值金額</div>
      <div class="main-title">{{ $t("請選擇充值金額") }}</div>
      <div class="white-input">
        <input type="number" :value="value" @input="inputValue" />
        <span class="myr" @click="value = availableBalanceUSD">最大</span>
        <span class="myr" @click="value = availableBalanceUSD">{{
          $t("最大")
        }}</span>
      </div>
      <div>
        <div class="dz-title" v-if="rechargeAccountData.key !== undefined">
@@ -72,7 +74,7 @@
        type="primary"
        style="margin-top: 1.04rem; margin-bottom: 1.04rem"
        @click="setOutMoney"
        >提款</van-button
        >{{ $t("提款") }}</van-button
      >
    </main>
  </div>
@@ -103,15 +105,15 @@
      rechargeAccountData: {},
      rechargeAccountActions: [
        {
          name: "美股賬戶",
          name: this.$t("US"),
          key: "US",
        },
        {
          name: "印股帳戶",
            name: this.$t("IN"),
          key: "IN",
        },
        {
          name: "馬股賬戶",
          name: this.$t("MAS"),
          key: "MAS",
        },
      ],
@@ -133,7 +135,7 @@
        assetsType: this.accectType,
      });
      if (res.status === 0) {
        Notify({ type: "success", message: "提款成功,等待审核" });
        Notify({ type: "success", message: this.$t('提款成功,等待审核') });
        setTimeout(() => {
          this.onClickLeft();
        }, 500);