From 6f192c3b3e22b8673fb8429b9342cfb4db68f987 Mon Sep 17 00:00:00 2001 From: luyisha Date: Mon, 3 Jul 2023 09:39:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E9=BD=90=E5=8C=BA=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- i18n/lang/de.json | 3 ++- i18n/lang/en.json | 3 ++- i18n/lang/fra.json | 3 ++- i18n/lang/it.json | 3 ++- i18n/lang/jp.json | 3 ++- i18n/lang/kor.json | 3 ++- i18n/lang/pt.json | 3 ++- i18n/lang/spa.json | 3 ++- i18n/lang/tr.json | 3 ++- i18n/lang/zh-TW.json | 3 ++- pages/auth/primary.vue | 33 +++++++++++++++++++-------------- 11 files changed, 39 insertions(+), 24 deletions(-) diff --git a/i18n/lang/de.json b/i18n/lang/de.json index 9314161..8eab6b3 100644 --- a/i18n/lang/de.json +++ b/i18n/lang/de.json @@ -228,7 +228,8 @@ "d10": "Bitte geben Sie die Postleitzahl ein", "d11": "Telefon Nummer", "d12": "Bitte geben Sie die Mobiltelefonnummer ein", - "d13": "Bitte wählen" + "d13": "Bitte wählen", + "SelectAreaCode":"Vorwahl auswählen" }, "exchange": { "a0":"Münzen", diff --git a/i18n/lang/en.json b/i18n/lang/en.json index 9f94a61..854a3f5 100644 --- a/i18n/lang/en.json +++ b/i18n/lang/en.json @@ -231,7 +231,8 @@ "d10": "Please enter the postal code", "d11": "Phone Number", "d12": "Please enter your phone number", - "d13": "Please select" + "d13": "Please select", + "SelectAreaCode":"Select area code" }, "exchange": { "a0": "Spot Trading", diff --git a/i18n/lang/fra.json b/i18n/lang/fra.json index 33690f8..d5a7851 100644 --- a/i18n/lang/fra.json +++ b/i18n/lang/fra.json @@ -228,7 +228,8 @@ "d10": "Veuillez saisir le Code Postal", "d11": "Numéro de téléphone", "d12": "Veuillez saisir le numéro de téléphone", - "d13": "Veuillez sélectionner" + "d13": "Veuillez sélectionner", + "SelectAreaCode":"sélectionner l'indicatif régional" }, "exchange": { "a0":"Monnaie", diff --git a/i18n/lang/it.json b/i18n/lang/it.json index b59083b..bd9aaea 100644 --- a/i18n/lang/it.json +++ b/i18n/lang/it.json @@ -228,7 +228,8 @@ "d10": "Inserisci il codice zip", "d11": "numero di telefono", "d12": "Inserisci il numero di telefono cellulare", - "d13": "Seleziona" + "d13": "Seleziona", + "SelectAreaCode":"selezionare il prefisso" }, "exchange": { "a0":"Monete", diff --git a/i18n/lang/jp.json b/i18n/lang/jp.json index e163b77..6979a85 100644 --- a/i18n/lang/jp.json +++ b/i18n/lang/jp.json @@ -228,7 +228,8 @@ "d10": "郵便番号を入力してください。", "d11": "電話番号", "d12": "携帯の番号を入力してください", - "d13": "選択してください" + "d13": "選択してください", + "SelectAreaCode":"市外局番を選択してください" }, "exchange": { "a0":"貨幣", diff --git a/i18n/lang/kor.json b/i18n/lang/kor.json index ce5edde..27da960 100644 --- a/i18n/lang/kor.json +++ b/i18n/lang/kor.json @@ -228,7 +228,8 @@ "d10": "우편 번호 입력 하 세 요", "d11": "전화 번호", "d12": "핸드폰 번 호 를 입력 하 세 요.", - "d13": "선택 하 세 요." + "d13": "선택 하 세 요.", + "SelectAreaCode":"지역번호 선택" }, "exchange": { "a0":"화폐", diff --git a/i18n/lang/pt.json b/i18n/lang/pt.json index 989867e..a201880 100644 --- a/i18n/lang/pt.json +++ b/i18n/lang/pt.json @@ -228,7 +228,8 @@ "d10": "Por favor, digite o código postal", "d11": "Número de telefone", "d12": "Por favor, digite o número de telefone celular", - "d13": "Por favor, escolha" + "d13": "Por favor, escolha", + "SelectAreaCode":"selecione o código de área" }, "exchange": { "a0":"Moedas", diff --git a/i18n/lang/spa.json b/i18n/lang/spa.json index 7bb5345..efc0fb7 100644 --- a/i18n/lang/spa.json +++ b/i18n/lang/spa.json @@ -228,7 +228,8 @@ "d10": "Introduzca el código postal", "d11": "Número de teléfono", "d12": "Por favor, introduzca el número de teléfono", - "d13": "Por favor, elija" + "d13": "Por favor, elija", + "SelectAreaCode":"seleccionar código de área" }, "exchange": { "a0":"Moneda", diff --git a/i18n/lang/tr.json b/i18n/lang/tr.json index 57fcd10..963f9d3 100644 --- a/i18n/lang/tr.json +++ b/i18n/lang/tr.json @@ -228,7 +228,8 @@ "d10": "Lütfen posta kodunu girin", "d11": "Telefon numarası", "d12": "Lütfen telefon numarasını girin", - "d13": "Lütfen seç" + "d13": "Lütfen seç", + "SelectAreaCode":"alan kodunu seçin" }, "exchange": { "a0": "Madeni Paralar", diff --git a/i18n/lang/zh-TW.json b/i18n/lang/zh-TW.json index c5b75cd..a564ca8 100644 --- a/i18n/lang/zh-TW.json +++ b/i18n/lang/zh-TW.json @@ -230,7 +230,8 @@ "d10": "請輸入郵遞區號", "d11": "電話號碼", "d12": "請輸入手機號", - "d13": "請選擇" + "d13": "請選擇", + "SelectAreaCode":"選擇區號" }, "exchange": { "a0": "幣幣", diff --git a/pages/auth/primary.vue b/pages/auth/primary.vue index 4a49717..8a35008 100644 --- a/pages/auth/primary.vue +++ b/pages/auth/primary.vue @@ -2,19 +2,6 @@
- - - {{$t('auth.a7')}} - - - - - - - - {{$t('auth.a9')}} @@ -78,6 +65,19 @@ + + + + {{$t('auth.SelectAreaCode')}} + + + + + + + @@ -159,7 +159,12 @@ export default { Member.getCountryCode() .then((res) => { console.info(res) - this.countryList = res.data; + this.countryList = res.data.map(item=>{ + return { + ...item, + name2: '+'+item.country_code+'('+item.name+')' + } + }); this.form.country_id = this.countryList[res.data.length-1].id; }) .catch(() => {});