update:护照认证字段
This commit is contained in:
parent
0f5ad9c638
commit
5df0380110
@ -818,5 +818,14 @@ Page({
|
||||
path: id ? `/pages/detail/detail?id=${id}` : '/pages/detail/detail',
|
||||
imageUrl: heroImage || ''
|
||||
};
|
||||
},
|
||||
|
||||
onShareTimeline() {
|
||||
const { id, eventTitle, heroImage } = this.data;
|
||||
return {
|
||||
title: eventTitle || '赛事详情',
|
||||
query: id ? `id=${id}` : '',
|
||||
imageUrl: heroImage || ''
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
@ -128,6 +128,7 @@ Page({
|
||||
passportNumber: '', nationality: '', issueDate: '', expiryDate: '',
|
||||
idCardImageUrl: '', idCardBackImageUrl: '', passportImageUrl: '', householdImageUrl: ''
|
||||
});
|
||||
this.loadAuth();
|
||||
},
|
||||
|
||||
loadAuth() {
|
||||
@ -155,10 +156,11 @@ Page({
|
||||
const canSubmit = canSubmitAuth(authStatus);
|
||||
const submitBtnText = submitAuthButtonText(authStatus);
|
||||
const authStatusTextVal = authStatusText(authStatus);
|
||||
const activeTab = Number(d.authType) && Number(d.authType) > 0 ? Number(d.authType) : 1;
|
||||
|
||||
const activeTab = Number(d.authType) && Number(d.authType) > 0 ? Number(d.authType) : this.data.activeTab;
|
||||
const passportNumber = d.passportNumber || d.passportNo || '';
|
||||
this.setData({
|
||||
activeTab,
|
||||
passportNumber,
|
||||
name, mobile, idCardNumber,
|
||||
idCardImageUrl, idCardBackImageUrl, passportImageUrl, householdImageUrl,
|
||||
birthDate, genderIndex, ocrDone,
|
||||
@ -391,7 +393,7 @@ Page({
|
||||
gender: genderValue,
|
||||
birthDate,
|
||||
passportPhotoUrl: passportImageUrl,
|
||||
idCardNumber: passportNumber
|
||||
passportNumber: passportNumber
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user