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

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

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