jhzh
2024-09-04 be54a44884517beddf4eb88fa81763ab14e8757f
9.4问题处理
15 files modified
48 ■■■■■ changed files
src/i18n/ara.json 1 ●●●● patch | view | raw | blame | history
src/i18n/cht.json 1 ●●●● patch | view | raw | blame | history
src/i18n/de.json 1 ●●●● patch | view | raw | blame | history
src/i18n/en.json 1 ●●●● patch | view | raw | blame | history
src/i18n/fra.json 1 ●●●● patch | view | raw | blame | history
src/i18n/id.json 1 ●●●● patch | view | raw | blame | history
src/i18n/index.js 2 ●●● patch | view | raw | blame | history
src/i18n/it.json 1 ●●●● patch | view | raw | blame | history
src/i18n/jp.json 1 ●●●● patch | view | raw | blame | history
src/i18n/kor.json 1 ●●●● patch | view | raw | blame | history
src/i18n/spa.json 1 ●●●● patch | view | raw | blame | history
src/i18n/th.json 1 ●●●● patch | view | raw | blame | history
src/i18n/vie.json 1 ●●●● patch | view | raw | blame | history
src/i18n/zh.json 1 ●●●● patch | view | raw | blame | history
src/page/register/index.vue 33 ●●●● patch | view | raw | blame | history
src/i18n/ara.json
@@ -1,4 +1,5 @@
{
    "个性号码":"رقم شخصي",
  "3": "3",
  "期权合约":"عقد الخيار",
  "当前有待处理提现订单,请稍后提现!": "يوجد حاليًا أمر سحب معلق ، يرجى السحب لاحقًا!",
src/i18n/cht.json
@@ -1,4 +1,5 @@
{
    "个性号码":"個性號碼",
  "3": "3",
  "期权合约":"期權合約",
  "请输入止盈金额": "請輸入止盈金額",
src/i18n/de.json
@@ -1,4 +1,5 @@
{
    "个性号码":"Personalisierte Nummer",
  "3": "3",
  "期权合约":"Optionsvertrag",
  "请输入止盈金额": "Bitte geben Sie den Take-Profit-Betrag ein",
src/i18n/en.json
@@ -1,4 +1,5 @@
{
    "个性号码":"Personalized number",
  "3": "three",
  "期权合约":"Options",
  "请输入止盈金额": "take profit amount",
src/i18n/fra.json
@@ -1,4 +1,5 @@
{
    "个性号码":"Numéro personnalisé",
  "3": "3",
  "期权合约":"Contrats d'options",
  "请输入止盈金额": "Prendre le montant du profit",
src/i18n/id.json
@@ -1,4 +1,5 @@
{
    "个性号码":"Nomor yang dipersonalisasi",
  "3": "3",
  "期权合约":"Kontrak opsi",
  "请输入止盈金额": "Ambil jumlah keuntungan",
src/i18n/index.js
@@ -24,7 +24,7 @@
Vue.use(VueI18n);
// 获取当前语言(初始化时localStorage里没有存语言,默认为浏览器当前的语言)
const lang = getStorage("lang") || "en";
const lang = getStorage("lang") || "zh-CN";
//const lang = 'zh-CN'
// 组合element ui 和 项目自身的文案文件
src/i18n/it.json
@@ -1,4 +1,5 @@
{
    "个性号码":"Numero personale",
  "3": "tre",
  "期权合约":"Contratto di opzione",
  "请输入止盈金额": "Prendi l importo del profitto",
src/i18n/jp.json
@@ -1,4 +1,5 @@
{
    "个性号码":"個人番号",
  "3": "3",
  "期权合约":"オプション契約",
  "请输入止盈金额": "利食い金額",
src/i18n/kor.json
@@ -1,4 +1,5 @@
{
    "个性号码":"개인 코드",
  "3": "3 ",
  "期权合约":"옵션 계약",
  "请输入止盈金额": "이익실현 금액",
src/i18n/spa.json
@@ -1,4 +1,5 @@
{
    "个性号码":"código privado",
  "3": "3",
  "期权合约":"Contrato de opción",
  "请输入止盈金额": "Tomar cantidad de ganancias",
src/i18n/th.json
@@ -1,4 +1,5 @@
{
    "个性号码":"รหัสส่วนตัว",
    "期权合约":"สัญญาออปชั่น",
  "3": "3",
  "请输入止盈金额": "ขายทำกำไรจำนวน",
src/i18n/vie.json
@@ -1,4 +1,5 @@
{
    "个性号码":"Mã số cá nhân",
    "期权合约":"Hợp đồng quyền chọn",
  "3": "3",
  "请输入止盈金额": "Lấy số tiền lãi",
src/i18n/zh.json
@@ -1,4 +1,5 @@
{
  "个性号码":"个性号码",
  "期权合约":"期权合约",
  "3": "3",
  "中签结果": "中签结果",
src/page/register/index.vue
@@ -6,7 +6,7 @@
        <div class="title textColor">{{ $t('注册') }}</div>
        <div class="flex re-tab">
<!--            <div class="textColor1" :class="activeIndex == 0 ? 'active' : ''" @click="changeIndex(0)">{{ $t('账号') }}</div>-->
            <div class="textColor1" :class="activeIndex == 1 ? 'active' : ''" @click="changeIndex(1)">{{ $t('邮箱') }}</div>
            <div class="textColor1" :class="activeIndex == 1 ? 'active' : ''" @click="changeIndex(1)">{{ $t('个性号码') }}</div>
             <!-- <div class="textColor1" :class="activeIndex == 2 ? 'active' : ''" @click="changeIndex(2)">{{ $t('手机号') }}</div> -->
        </div>
        <ExInput :label="getRegType(activeIndex, true)" :placeholderText="getRegType(activeIndex, false)" v-model.trim="username"
@@ -14,7 +14,7 @@
        <ExInput :label="$t('设置密码')" :placeholderText="$t('密码(6-12个字符)')" v-model="password" typeText="password" />
        <ExInput :label="$t('确认密码')" :placeholderText="$t('请确认密码')" v-model="repassword" typeText="password" />
        <ExInput :label="$t('邀请码(选填)')" :placeholderText="$t('请输入邀请码')" v-model="invitCode" :clearBtn="false" />
        <!-- <ExInput :label="$t('邀请码(选填)')" :placeholderText="$t('请输入邀请码')" v-model="invitCode" :clearBtn="false" /> -->
        <div class="protocol textColor">
            <i @click="agreeProt">
                <img v-show="agree" src="../../assets/image/login/prot2.png" alt="" />
@@ -96,7 +96,7 @@
                case 0:
                    return bFlag ? this.$t('账号') : this.$t('请输入账号');
                case 1:
                    return bFlag ? this.$t('邮箱') : this.$t('请输入邮箱');
                    return bFlag ? this.$t('个性号码') : this.$t('个性号码');
                case 2:
                    return bFlag ? this.$t('手机号') : this.$t('请输入手机号');
            }
@@ -143,10 +143,10 @@
            //         return
            //     }
            // }
            if(this.invitCode ==''){
                this.$toast(this.$t('请输入邀请码'));
                        return
            }
            // if(this.invitCode ==''){
            //     this.$toast(this.$t('请输入邀请码'));
            //             return
            // }
            switch (this.activeIndex) {
                case 0:
                    {
@@ -161,14 +161,14 @@
                        break;
                    }
                case 1:
                    {
                        let match = this.username.search(/@/);
                        if (this.username == '' || match == -1) {
                            this.$toast(this.$t('请输入正确的邮箱地址'));
                            return;
                        }
                        break;
                    }
                    // {
                    //     let match = this.username.search(/@/);
                    //     if (this.username == '' || match == -1) {
                    //         this.$toast(this.$t('请输入正确的邮箱地址'));
                    //         return;
                    //     }
                    //     break;
                    // }
                case 2:
                    {
                        if (this.username == '') {
@@ -242,7 +242,8 @@
                    this.$router.push('/setFond')
                }
                else  {
                    this.$router.push({ name: 'verify', query: { type: this.activeIndex, account: this.activeIndex == 1 ? this.username : `${this.username}` } })
                    this.$router.push({ name: 'login' })
                    // this.$router.push({ name: 'verify', query: { type: this.activeIndex, account: this.activeIndex == 1 ? this.username : `${this.username}` } })
                }
            }).catch((error) => {
                if (error.code === 'ECONNABORTED') { this.$toast(this.$t('网络超时!')); }