Commit 2ad55f8a authored by Smile's avatar Smile Committed by wux

fix:实名认证 法文/英文状态下,弹窗提示内容建议优化

parent 2eab8ea7
......@@ -26,7 +26,7 @@
</view>
<image v-if="params.img2 != ''" src="../../static/img/delete.png" class="delete" @click="setImg('img2')"></image>
</view>
</view>
</view>
<view class="idput">
......@@ -69,7 +69,7 @@
rules: {
cardType: this.$lang.lang.notices.Idtype,
img1: this.$lang.lang.notices.Id1,
img2:this. $lang.lang.notices.Id2,
img2: this. $lang.lang.notices.Id2,
name: this.$lang.lang.notices.name,
cardNumber: this.$lang.lang.notices.Idcode,
},
......@@ -87,7 +87,7 @@
if(res.code==0&&res.data){
this.userInfo = res.data
}
})
},
getIdcard () {
......@@ -98,6 +98,9 @@
})
},
authPost () {
this.rules.img1 = this.typeIndex==0?this.$lang.lang.notices.Id1:this.$lang.lang.notices.Passport1
this.rules.img2 = this.typeIndex==0?this.$lang.lang.notices.Id2:this.$lang.lang.notices.Passport2
console.log('this.rules', this.rules)
if(!this.$request.checkFormData(this.params, this.rules)){
return false
}
......@@ -130,11 +133,11 @@
for(let i in d){
that.typeValue.push(d[i].value)
if(that.$lang.locale=='zh'){
that.typeData.push(d[i].label)
that.typeData.push(d[i].label)
}else{
that.typeData.push(d[i].labelEn)
}
}
that.params.cardType = that.typeValue[that.typeIndex]
}
......
......@@ -6,6 +6,8 @@ export default {
"Idtype": "Idtype",
"Id1": "Id1",
"Id2": "Id2",
"Passport1": "Passport1",
"Passport2": "Passport2",
"success": "Success",
"loading": "Loading......",
"newPhone": "Phone NO",
......
......@@ -6,6 +6,8 @@ export default {
"Idtype": "type d'identité",
"Id1": "ID1",
"Id2": "ID2",
"Passport1": "Passport1",
"Passport2": "Passport2",
"success": "réussi",
"loading": "chargement",
"newPhone": "N° de téléphone",
......
......@@ -6,6 +6,8 @@ export default {
"Idtype": "请选择证件类型",
"Id1": "请上传证件正面照",
"Id2": "请上传证件反面照",
"Passport1": "请上传证件正面照",
"Passport2": "请上传证件反面照",
"success": "提交成功",
"loading": "加载中......",
"newPhone": "请输入您的新手机号",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment