1
PC-20250623MANY\Administrator
2025-09-16 c69ff22bf0f30cf0421e1a38c8619c520861564c
src/page/user/recharge-sure.vue
@@ -1,72 +1,31 @@
<template>
  <div>
    <van-nav-bar
      :placeholder="true"
      :safe-area-inset-top="true"
      :title="$t('提款')"
      left-arrow
      @click-left="onClickLeft"
    >
    <van-nav-bar :placeholder="true" :safe-area-inset-top="true" :title="$t('提款')" left-arrow @click-left="onClickLeft">
      <template #right>
        <van-icon
          @click="$router.push('/cashlist')"
          name="orders-o"
          size="20"
        />
        <van-icon @click="$router.push('/cashlist')" name="orders-o" size="20" />
      </template>
    </van-nav-bar>
    <main>
      <div class="main-title">{{ $t("請選擇提款账户") }}</div>
      <van-cell
        is-link
        :title="rechargeAccountData.name || $t('請選擇')"
        @click="rechargeAccountShow = true"
      />
      <van-action-sheet
        v-model="rechargeAccountShow"
        :actions="rechargeAccountActions"
        :cancel-text="$t('hj106')"
        close-on-click-action
        @select="rechargeAccountSelect"
      />
      <van-cell is-link :title="rechargeAccountData.name || $t('請選擇')" @click="rechargeAccountShow = true" />
      <van-action-sheet v-model="rechargeAccountShow" :actions="rechargeAccountActions" :cancel-text="$t('hj106')"
        close-on-click-action @select="rechargeAccountSelect" />
      <div class="main-title">{{ $t("支持得提款渠道") }}</div>
      <van-cell
        is-link
        :title="rechargeSelect.name || $t('請選擇')"
        @click="show = true"
      />
      <van-action-sheet
        v-model="show"
        :actions="actions"
        :cancel-text="$t('hj106')"
        close-on-click-action
        @select="select"
      />
      <van-cell is-link :title="rechargeSelect.name || $t('請選擇')" @click="show = true" />
      <van-action-sheet v-model="show" :actions="actions" :cancel-text="$t('hj106')" close-on-click-action
        @select="select" />
      <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="yhkrechargeSelect.bankName || $t('請選擇')" @click="yhkshow = true" />
        <van-action-sheet v-model="yhkshow" :actions="yhkactions" :cancel-text="$t('hj106')" close-on-click-action
          @select="yhkselect" />
      </div>
      <div class="main-title">{{ $t("请选择提现金额") }}</div>
      <div class="white-input">
        <input type="number" :value="value" @input="inputValue" />
        <span
          class="myr"
          @click="value = Math.floor(availableBalanceUSD * 100) / 100"
          >{{ $t("最大") }}</span
        >
        <span class="myr" @click="value = Math.floor(availableBalanceUSD * 100) / 100">{{ $t("最大") }}</span>
      </div>
      <div>
        <div class="dz-title" v-if="rechargeAccountData.key !== undefined">
@@ -77,14 +36,8 @@
          </div>
        </div>
      </div>
      <van-button
        class="but"
        type="primary"
        style="margin-top: 1.04rem; margin-bottom: 1.04rem"
        @click="setOutMoney"
        :disabled="isclick"
        >{{ $t("提款") }}</van-button
      >
      <van-button class="but" type="primary" style="margin-top: 1.04rem; margin-bottom: 1.04rem" @click="setOutMoney"
        :disabled="isclick">{{ $t("提款") }}</van-button>
    </main>
  </div>
</template>
@@ -184,6 +137,8 @@
      if (res.status === 0) {
        this.getMoneyList = res.data;
        res.data.map(item => {
          console.log(1111111, item.accectType, this.rechargeAccountData.key, item.availableBalance);
          if (item.accectType === this.rechargeAccountData.key) {
            this.availableBalanceUSD = item.availableBalance;
            this.symbolCode = item.symbolCode;
@@ -240,6 +195,7 @@
<style lang="less" scoped>
@green: #287dff;
.but {
  width: 100%;
  color: #ffffff;
@@ -249,12 +205,14 @@
  height: 66px;
  font-size: 22px;
}
.bottom-text {
  width: 100%;
  background-color: #fff;
  padding: 0.26667rem 0.37333rem;
  box-sizing: border-box;
  margin-top: 0.26667rem;
  // margin-bottom: 80px;
  .balance {
    display: flex;
@@ -265,6 +223,7 @@
    font-style: normal;
    font-weight: 500;
    box-sizing: border-box;
    .balance-text {
      color: #181818;
      font-family: PingFang SC;
@@ -275,6 +234,7 @@
      margin-bottom: 0.37333rem;
    }
  }
  .division {
    width: 100%;
    height: 0.02667rem;
@@ -282,6 +242,7 @@
    background-color: #e5e8ed;
    margin: 0.37333rem 0;
  }
  .upload-text {
    color: #181818;
    font-family: PingFang SC;
@@ -290,6 +251,7 @@
    font-weight: 500;
  }
}
/deep/ .van-nav-bar__content {
  height: 65px;
}
@@ -312,10 +274,12 @@
  margin-top: 0.26667rem;
  box-shadow: 0 0.16rem 0.32rem #eaeaea99;
}
main {
  padding: 0 0.4rem 0.53333rem;
  box-sizing: border-box;
}
.main-title {
  font-style: normal;
  font-weight: 400;
@@ -325,6 +289,7 @@
}
.white-input {
  color: #333;
  width: 100%;
  background: #fff;
  border-radius: 0.10667rem;
@@ -344,14 +309,17 @@
  display: flex;
  justify-content: space-between;
}
.fuzhi {
  font-size: 28px;
  cursor: pointer;
}
.myr {
  color: @green;
  cursor: pointer;
}
.dz-title {
  display: flex;
  justify-content: space-between;
@@ -362,6 +330,7 @@
  margin-top: 0.31333rem;
  padding: 0 0.13333rem;
  box-sizing: border-box;
  .balance-text {
    font-style: normal;
    font-weight: 500;