luyisha 3 years ago
parent
commit
4a92814302
  1. 1
      api/serve/index.js
  2. 2
      i18n/index.js
  3. 2
      i18n/lang/de.json
  4. 2
      i18n/lang/fra.json
  5. 2
      i18n/lang/it.json
  6. 2
      i18n/lang/jp.json
  7. 2
      i18n/lang/kor.json
  8. 2
      i18n/lang/pt.json
  9. 2
      i18n/lang/spa.json
  10. 2
      i18n/lang/tr.json
  11. 14
      pages/auth/primary.vue
  12. 9
      store/index.js

1
api/serve/index.js

@ -86,6 +86,7 @@ x.fn = x.prototype = {
if(Cache.get(newMsg).data){
if(newMsg!='_user_walletImage'&& newMsg!='_user_getAuthInfo' && newMsg!='_user_withdrawalBalance'
&& newMsg!='_wallet_getBalance' && newMsg!='_contract_getMarketInfo'&& newMsg!='_contract_openNum'
&& newMsg!='_user_primaryAuth'
&& newMsg!='_indexList'&& newMsg!='_user_subscribe'&& newMsg!='_contract_getSymbolDetail' && newMsg!='_user_withdrawalRecord'){
resolve(Cache.get(newMsg).data);

2
i18n/index.js

@ -20,7 +20,7 @@ requireComponent.keys().forEach(fileName => {
// 语言注入
let i18n = new VueI18n({
locale: uni.getStorageSync('language')||'en',
locale:'en',
// locale:'en',// 这个会导致每次刷新页面都是英文
messages: messages
})
export default i18n;

2
i18n/lang/de.json

@ -218,6 +218,8 @@
"c2": "Bitte laden Sie das Foto auf der Rückseite des Zertifikats hoch",
"c3": "Bitte laden Sie das Foto Ihrer Personalausweise hoch",
"c4": "Upload erfolgreich, bitte warten Sie auf das Audit",
"c6": "Art des Zertifikats",
"d5": "bitte auswählen",
"e0": "Nicht realisierte Authentifizierung",
"e1": "Authentifiziert durch echten Namen",
"e2": "Advanced Certified"

2
i18n/lang/fra.json

@ -218,6 +218,8 @@
"c2": "Veuillez télécharger la photo de retour du certificat",
"c3": "Veuillez télécharger la photo de face du certificat",
"c4": "Téléchargement réussi, veuillez attendre l'approbation",
"c6": "type de certificat",
"d5": "Choisissez s'il vous plaît",
"e0": "Certifié sans nom réel",
"e1": "Certifié par nom réel",
"e2": "Déjà certifié avancé"

2
i18n/lang/it.json

@ -218,6 +218,8 @@
"c2": "Si prega di caricare la foto sul retro del certificato",
"c3": "Si prega di caricare la foto anteriore della carta d'identità",
"c4": "Upload di successo, si prega di attendere il audit",
"c6": "tipo di certificato",
"d5": "si prega di scegliere",
"e0": "Autenticazione non realizzata",
"e1": "Autenticato con nome reale",
"e2": "Certificato avanzato"

2
i18n/lang/jp.json

@ -218,6 +218,8 @@
"c2": "証明書の裏写真をアップロードしてください。",
"c3": "証明書の正面写真をアップロードしてください。",
"c4": "アップロードが成功しました。審査を待ってください。",
"c6": "証明書の種類",
"d5": "選んでください",
"e0": "実名認証なし",
"e1": "実名認証済み",
"e2": "高度な資格認定"

2
i18n/lang/kor.json

@ -218,6 +218,8 @@
"c2":"증명서 뒷면 사진 을 올 려 주세요.",
"c3":"증명 서 를 정면 사진 으로 올 려 주세요.",
"c4":"업로드 성공, 심사 대기",
"c6": "인증서 유형",
"d5": "선택하십시오",
"e0": "실명인증 없음",
"e1": "실명 인증",
"e2": "고급 인증"

2
i18n/lang/pt.json

@ -218,6 +218,8 @@
"c2":"Por favor, envie a foto Na parte de trás do certificado",
"c3":"Por favor, envie a foto Da Frente do SEU cartão de identificação",
"c4":"Carregar com sucesso, por favor aguarde a auditoria",
"c6": "tipo de certificado",
"d5": "por favor escolha",
"e0": "Autenticação não realizada",
"e1": "Autenticado pelo nome verdadeiro",
"e2": "Certificado Avançado"

2
i18n/lang/spa.json

@ -218,6 +218,8 @@
"c2":"Por favor, suba la foto de atrás del documento.",
"c3":"Por favor, suba la foto frontal del documento.",
"c4":"Carga exitosa, por favor espere a ser auditada",
"c6": "tipo de certificado",
"d5": "por favor elige",
"e0": "Autenticación sin nombre real",
"e1": "Autenticación de nombre real",
"e2": "Certificado avanzado"

2
i18n/lang/tr.json

@ -218,6 +218,8 @@
"c2": "Lütfen kimliğinizin arka yüzünün bir fotoğrafını yükleyin",
"c3": "Lütfen kimliğinizin ön fotoğrafını yükleyin",
"c4": "Başarıyla yüklendi, lütfen inceleme için bekleyin",
"c6": "sertifika türü",
"d5": "lütfen seç",
"e0": "Anlamamış doğrulama",
"e1": "Gerçek isimle doğrulandı",
"e2": "Gelişmiş Kullanılmış"

14
pages/auth/primary.vue

@ -165,11 +165,15 @@ export default {
primaryAuth() {
let data = this.form;
data.country_code = this.activeCountry.country_code;
Profile.primaryAuth(data,{btn:this.$refs.btn}).then(() => {
this.$toast.success(this.$t('auth.b4'));
setTimeout(()=>{
this.$back();
}, 1500)
Profile.primaryAuth(data,{btn:this.$refs.btn}).then((res) => {
console.log(res, '-----');
if(res.code==200){
this.$toast.success(this.$t('auth.b4'));
setTimeout(()=>{
this.$back();
}, 1500)
}
}).catch(()=>{});
},
changeID(e){

9
store/index.js

@ -111,10 +111,11 @@ let store = new Vuex.Store({
label: 'Italiano',
url: require("../assets/img/flag/it.png")
},
// {
// value: 'jp',
// label: '日本語'
// },
{
value: 'jp',
label: '日本語',
url: require("../assets/img/flag/jp.jpg")
},
{
value: 'pt',
label: 'Português',

Loading…
Cancel
Save