dcc
2024-05-15 ff3f0c6141fdbe0ab7832fb3d8d1695015cbbf06
提款更改
9 files modified
105 ■■■■ changed files
src/locales/en.json 7 ●●●● patch | view | raw | blame | history
src/locales/hanyu.json 7 ●●●● patch | view | raw | blame | history
src/locales/india.json 7 ●●●● patch | view | raw | blame | history
src/locales/riyu.json 7 ●●●● patch | view | raw | blame | history
src/locales/taiyu.json 7 ●●●● patch | view | raw | blame | history
src/locales/tw.json 7 ●●●● patch | view | raw | blame | history
src/locales/zh.json 7 ●●●● patch | view | raw | blame | history
src/page/user/recharge-sure.vue 50 ●●●● patch | view | raw | blame | history
src/page/user/recharge.vue 6 ●●●● patch | view | raw | blame | history
src/locales/en.json
@@ -555,5 +555,10 @@
  "请登录": "please sign in",
  "请输入邮箱号": "Please enter your email number",
  "获取验证码": "get verification code",
  "银行帐号" : "Bank account"
  "银行帐号" : "Bank account",
  "请将银行账户设置为": "Please set your bank account to",
  "请设置银行名称": "Please set bank name",
  "姓名": "Name",
  "请将姓名设置为": "Please set name to",
  "请设置ifsc": "Please set ifsc"
}
src/locales/hanyu.json
@@ -544,5 +544,10 @@
  "请登录": "로그인 해주세요",
  "请输入邮箱号": "이메일 번호를 입력해주세요",
  "获取验证码": "인증 코드 받기",
  "银行帐号" : "은행 계좌"
  "银行帐号" : "은행 계좌",
  "请将银行账户设置为": "은행 계좌를 다음으로 설정하세요.",
  "请设置银行名称": "은행명을 설정해주세요",
  "姓名": "이름",
  "请将姓名设置为": "이름을 다음으로 설정하세요.",
  "请设置ifsc": "ifsc를 설정해주세요"
}
src/locales/india.json
@@ -555,5 +555,10 @@
  "请登录": "साइन इन करें",
  "请输入邮箱号": "कृपया अपना ईमेल नंबर दर्ज करें",
  "获取验证码": "सत्यापन कोड प्राप्त करें",
  "银行帐号" : "बैंक खाता"
  "银行帐号" : "बैंक खाता",
  "请将银行账户设置为": "कृपया अपना बैंक खाता यहां सेट करें",
  "请设置银行名称": "कृपया बैंक का नाम निर्धारित करें",
  "姓名": "नाम",
  "请将姓名设置为": "कृपया नाम सेट करें",
  "请设置ifsc": "कृपया ifsc सेट करें"
}
src/locales/riyu.json
@@ -544,5 +544,10 @@
  "请登录": "サインインしてください",
  "请输入邮箱号": "メール番号を入力してください",
  "获取验证码": "確認コードを取得する",
  "银行帐号" : "銀行口座"
  "银行帐号" : "銀行口座",
  "请将银行账户设置为": "銀行口座を次のように設定してください",
  "请设置银行名称": "銀行名を設定してください",
  "姓名": "名前",
  "请将姓名设置为": "名前を次のように設定してください",
  "请设置ifsc": "ifscを設定してください"
}
src/locales/taiyu.json
@@ -544,5 +544,10 @@
  "请登录": "กรุณาเข้าสู่ระบบ",
  "请输入邮箱号": "กรุณากรอกหมายเลขอีเมล์ของคุณ",
  "获取验证码": "รับรหัสยืนยัน",
  "银行帐号" : "บัญชีธนาคาร"
  "银行帐号" : "บัญชีธนาคาร",
  "请将银行账户设置为": "กรุณาตั้งค่าบัญชีธนาคารของคุณเป็น",
  "请设置银行名称": "กรุณาตั้งชื่อธนาคาร",
  "姓名": "ชื่อ",
  "请将姓名设置为": "กรุณาตั้งชื่อเป็น",
  "请设置ifsc": "โปรดตั้งค่า ifsc"
}
src/locales/tw.json
@@ -549,5 +549,10 @@
  "请登录": "請登入",
  "请输入邮箱号": "請輸入郵件號碼",
  "获取验证码": "取得驗證碼",
  "银行帐号" : "銀行帳號"
  "银行帐号" : "銀行帳號",
  "请将银行账户设置为": "請將銀行帳戶設定為",
  "请设置银行名称": "請設定銀行名稱",
  "姓名": "姓名",
  "请将姓名设置为": "請將姓名設定為",
  "请设置ifsc": "請設定ifsc"
}
src/locales/zh.json
@@ -544,5 +544,10 @@
  "请登录": "请登录",
  "请输入邮箱号": "请输入邮箱号",
  "获取验证码": "获取验证码",
  "银行帐号" : "获取验证码"
  "银行帐号" : "银行帐号",
  "请将银行账户设置为": "请将银行账户设置为",
  "请设置银行名称": "请设置银行名称",
  "姓名": "姓名",
  "请将姓名设置为": "请将姓名设置为",
  "请设置ifsc": "请设置ifsc"
}
src/page/user/recharge-sure.vue
@@ -16,10 +16,24 @@
      </template>
    </van-nav-bar>
    <main>
      <div class="main-title">{{ $t("請選擇提款账户") }}</div>
      <div class="main-title">IFSC</div>
      <van-cell
        is-link
        :title="rechargeAccountData.name || $t('請選擇')"
        :title="paymentSelectData.channelAccount || $t('请设置ifsc')"
        @click="paymentShow = true"
      />
      <!-- paymentSelectData.channelMinLimit -->
      <van-action-sheet
        v-model="paymentShow"
        :actions="paymentActions"
        :cancel-text="$t('qx')"
        close-on-click-action
        @select="paymentSelect"
      />
      <div class="main-title">{{ $t("银行帐号") }}</div>
      <van-cell
        is-link
        :title="rechargeAccountData.name || $t('请将银行账户设置为')"
        @click="rechargeAccountShow = true"
      />
      <van-action-sheet
@@ -29,8 +43,11 @@
        close-on-click-action
        @select="rechargeAccountSelect"
      />
      <div class="main-title">{{ $t("支持得提款渠道") }}</div>
      <div class="main-title">{{ $t("hj213") }}</div>
      <van-cell is-link :title="bankCard.bankName || $t('请设置银行名称')" />
      <div class="main-title">{{ $t("姓名") }}</div>
      <van-cell is-link :title="paymentSelectData.channelName || $t('请将姓名设置为')" />
<!--      <div class="main-title">{{ $t("支持得提款渠道") }}</div>
      <van-cell
        is-link
        :title="rechargeSelect.name || $t('請選擇')"
@@ -46,7 +63,7 @@
      <div v-if="rechargeSelect.key !== undefined">
        <div class="main-title">{{ $t("請選擇銀行卡") }}</div>
        <van-cell is-link :title="bankCard.bankNo || $t('請選擇')" />
      </div>
      </div>-->
      <div class="main-title">{{ $t("請選擇充值金額") }}</div>
      <div class="white-input">
        <input type="number" :value="value" @input="inputValue" />
@@ -80,7 +97,7 @@
<script>
import { ActionSheet, Notify,Cell, CellGroup } from "vant";
import ClipboardJS from "clipboard";
import { getBankCard, getMoney, outMoney } from "../../axios/api";
import {getBankCard, getMoney, outMoney, siteGetPayInfo} from "../../axios/api";
export default {
  components: {
@@ -92,7 +109,7 @@
  data() {
    return {
      value: 0,
      paymentActions: [],
      paymentSelectData: "US",
      show: false,
@@ -134,8 +151,20 @@
  mounted() {
    this.getykh();
    this.getMoneys();
    this.getPayInfos();
  },
  methods: {
    async getPayInfos() {
      const res = await siteGetPayInfo();
      if (res.status === 0) {
        res.data.map((item) => {
          item.name = item.channelType;
        });
        this.paymentActions = res.data;
        console.log(this.paymentActions)
      }
      console.log(res);
    },
    async setOutMoney() {
      const res = await outMoney({
        amt: this.value,
@@ -207,8 +236,13 @@
      });
    },
    paymentSelect(e) {
      this.paymentSelectData = e.name;
      this.paymentSelectData = e;
      console.log(e);
      this.rechargeAccountActions.map((item) => {
        if (item.key === e.assetsType) {
          this.rechargeAccountData = item;
        }
      });
    },
  },
};
src/page/user/recharge.vue
@@ -53,14 +53,14 @@
              @click="(e) => copyText(e, paymentSelectData.bankNumber)"
            ></i>
          </div>
          <div class="main-title">{{ $t("收款卡號") }}</div>
<!--          <div class="main-title">{{ $t("收款卡號") }}</div>
          <div class="white-input">
            <span>{{ paymentSelectData.channelAccount }}</span>
            <i
              class="iconfont icon-fuzhi fuzhi"
              @click="(e) => copyText(e, paymentSelectData.channelAccount)"
            ></i>
          </div>
          </div>-->
          <div class="main-title">{{ $t("收款銀行") }}</div>
          <div class="white-input">
            <span>{{ paymentSelectData.channelDesc }}</span>
@@ -206,7 +206,7 @@
      const res = await siteGetPayInfo();
      if (res.status === 0) {
        res.data.map((item) => {
          item.name = item.channelAccount;
          item.name = item.channelType;
        });
        this.paymentActions = res.data;
        console.log(this.paymentActions)