Browse Source

修改密码时候需要提供验证码

master
xyiege 2 years ago
parent
commit
324db2a3bf
  1. 3
      i18n/lang/de.json
  2. 3
      i18n/lang/en.json
  3. 3
      i18n/lang/fra.json
  4. 3
      i18n/lang/it.json
  5. 3
      i18n/lang/jp.json
  6. 3
      i18n/lang/kor.json
  7. 3
      i18n/lang/pt.json
  8. 3
      i18n/lang/spa.json
  9. 3
      i18n/lang/tr.json
  10. 3
      i18n/lang/zh-TW.json
  11. 44
      pages/safe/login-password.vue

3
i18n/lang/de.json

@ -864,6 +864,7 @@
"dd4": "Bei sytcoin sind die Produkte leicht zu verstehen, der Transaktionsprozess bequem und die Blockchain-Asset-Service-Plattform aus einer Hand",
"dd5": "Derivate",
"dd6": "Sie können Verträge auf über 100 Kryptowährungen mit bis zu 150-facher Hebelwirkung handeln und hohe Gewinne erzielen",
"dd7": "Hilfezentrum"
"dd7": "Hilfezentrum",
"ee6": "Grafische Überprüfung"
}
}

3
i18n/lang/en.json

@ -919,6 +919,7 @@
"dd4": "In sytcoin, the products are easy to understand, the transaction process is convenient, and the one-stop blockchain asset service platform",
"dd5": "Derivatives",
"dd6": "You can trade contracts on 100+ cryptocurrencies with up to 150x leverage and earn high profits",
"dd7": "Help Center"
"dd7": "Help Center",
"ee6": "Graphical verification"
}
}

3
i18n/lang/fra.json

@ -864,6 +864,7 @@
"dd4": "Dans sytcoin, les produits sont faciles à comprendre, le processus de transaction est pratique et la plateforme unique de services d'actifs blockchain",
"dd5": "Dérivés",
"dd6": "Vous pouvez négocier des contrats sur plus de 100 crypto-monnaies avec un effet de levier jusqu'à 150x et réaliser des bénéfices élevés",
"dd7": "Centre d'aide"
"dd7": "Centre d'aide",
"ee6": "Vérification graphique",
}
}

3
i18n/lang/it.json

@ -864,6 +864,7 @@
"dd4": "In sytcoin, i prodotti sono facili da comprendere, il processo di transazione è conveniente e la piattaforma di servizi asset blockchain unica",
"dd5": "Derivati",
"dd6": "Puoi scambiare contratti su oltre 100 criptovalute con una leva fino a 150x e ottenere profitti elevati",
"dd7": "Centro assistenza"
"dd7": "Centro assistenza",
"ee6": "Verifica grafica"
}
}

3
i18n/lang/jp.json

@ -864,6 +864,7 @@
"dd4": "sytcoin では、製品が理解しやすく、取引プロセスが便利で、ワンストップのブロックチェーン資産サービス プラットフォームを提供します",
"dd5": "デリバティブ",
"dd6": "最大 150 倍のレバレッジで 100 以上の暗号通貨の契約を取引し、高い利益を得ることができます",
"dd7": "ヘルプセンター"
"dd7": "ヘルプセンター",
"ee6": "グラフィカルな検証"
}
}

3
i18n/lang/kor.json

@ -864,6 +864,7 @@
"dd4": "sytcoin에서는 상품을 이해하기 쉽고, 거래 과정이 편리하며, 원스톱 블록체인 자산 서비스 플랫폼입니다.",
"dd5": "파생상품",
"dd6": "최대 150배의 레버리지로 100개 이상의 암호화폐 계약을 거래하고 높은 수익을 올릴 수 있습니다",
"dd7": "지원 센터"
"dd7": "지원 센터",
"ee6": "그래픽 검증"
}
}

3
i18n/lang/pt.json

@ -862,6 +862,7 @@
"dd4": "Em sytcoin, os produtos são fáceis de entender, o processo de transação é conveniente e a plataforma completa de serviços de ativos blockchain",
"dd5": "Derivados",
"dd6": "Você pode negociar contratos em mais de 100 criptomoedas com alavancagem de até 150x e obter lucros elevados",
"dd7": "Centro de ajuda"
"dd7": "Centro de ajuda",
"ee6": "Verificação gráfica"
}
}

3
i18n/lang/spa.json

@ -864,6 +864,7 @@
"dd4": "En sytcoin, los productos son fáciles de entender, el proceso de transacción es conveniente y la plataforma integral de servicios de activos blockchain",
"dd5": "Derivados",
"dd6": "Puede negociar contratos en más de 100 criptomonedas con un apalancamiento de hasta 150x y obtener grandes ganancias",
"dd7": "Centro de ayuda"
"dd7": "Centro de ayuda",
"ee6": "Verificación gráfica"
}
}

3
i18n/lang/tr.json

@ -862,6 +862,7 @@
"dd4": "sytcoin'te ürünlerin anlaşılması kolaydır, işlem süreci uygundur ve tek noktadan blockchain varlık hizmeti platformu",
"dd5": "Türevler",
"dd6": "100'den fazla kripto para birimindeki sözleşmelerle 150 katına kadar kaldıraçla işlem yapabilir ve yüksek kar elde edebilirsiniz",
"dd7": "Yardım Merkezi"
"dd7": "Yardım Merkezi",
"ee6": "Grafiksel doğrulama"
}
}

3
i18n/lang/zh-TW.json

@ -916,6 +916,7 @@
"dd4": "在sytcoin,產品簡單易懂、交易流程便捷,一站式區塊鏈資產服務平台",
"dd5": "衍生性商品",
"dd6": "您可以高達150倍的槓桿率交易100+加密貨幣的合約,賺取高額收益",
"dd7": "幫助中心"
"dd7": "幫助中心",
"ee6": "圖形驗證"
}
}

44
pages/safe/login-password.vue

@ -14,6 +14,16 @@
<v-input type="password" v-model="form.password_confirmation" :placeholder="$t('safe.b6')"></v-input>
</view>
</view>
<!--图形验证码-->
<view class="form-item border-b m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('homeNewText.ee6')}}</view>
<v-input class="color-light" v-model="form.gr_code" :placeholder="$t('homeNewText.ee6')">
<template #right>
<img :src="Graph_che" @click="gett_gc_code" v-if="!hideImg">
</template>
</v-input>
</view>
<view class="form-item border-b p-md" v-if="user.phone_status==1">
<view class="label m-b-xs">SMS{{$t('safe.a7')}}</view>
<view class="input color-light">
@ -50,6 +60,7 @@
</v-page>
</template>
<script>
import Member from "@/api/member";
import { mapState } from "vuex";
import Setting from "@/api/setting";
export default {
@ -62,6 +73,8 @@ export default {
email_code: "",
google_code: "",
},
Graph_che:'',
gc_key:'', // tuxiangyanzheng key
};
},
computed: {
@ -69,7 +82,38 @@ export default {
user: "user",
}),
},
mounted() {
this.gett_gc_code();
},
methods: {
//
refreshCaptcha() {
axios.get('/register/Graph_che')
.then(response => {
//
})
.catch(error => {
console.log(error);
});
},
//
reGetGraphChe(){
this.hideImg = true;
this.gett_gc_code();
},
gett_gc_code(){
Member.Graph_che().then((res)=>{
if(res.code==200){
this.hideImg = false;
}
console.log("gc",res.data.img)
this.Graph_che = res.data.img;
this.gc_key= res.data.key;
});
//this.Graph_che = gc
},
setPassword() {
let data = this.form;
Setting.updatePassword(data, { btn: this.$refs.btn })

Loading…
Cancel
Save