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',
|
path: id ? `/pages/detail/detail?id=${id}` : '/pages/detail/detail',
|
||||||
imageUrl: heroImage || ''
|
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: '',
|
passportNumber: '', nationality: '', issueDate: '', expiryDate: '',
|
||||||
idCardImageUrl: '', idCardBackImageUrl: '', passportImageUrl: '', householdImageUrl: ''
|
idCardImageUrl: '', idCardBackImageUrl: '', passportImageUrl: '', householdImageUrl: ''
|
||||||
});
|
});
|
||||||
|
this.loadAuth();
|
||||||
},
|
},
|
||||||
|
|
||||||
loadAuth() {
|
loadAuth() {
|
||||||
@ -155,10 +156,11 @@ Page({
|
|||||||
const canSubmit = canSubmitAuth(authStatus);
|
const canSubmit = canSubmitAuth(authStatus);
|
||||||
const submitBtnText = submitAuthButtonText(authStatus);
|
const submitBtnText = submitAuthButtonText(authStatus);
|
||||||
const authStatusTextVal = authStatusText(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({
|
this.setData({
|
||||||
activeTab,
|
activeTab,
|
||||||
|
passportNumber,
|
||||||
name, mobile, idCardNumber,
|
name, mobile, idCardNumber,
|
||||||
idCardImageUrl, idCardBackImageUrl, passportImageUrl, householdImageUrl,
|
idCardImageUrl, idCardBackImageUrl, passportImageUrl, householdImageUrl,
|
||||||
birthDate, genderIndex, ocrDone,
|
birthDate, genderIndex, ocrDone,
|
||||||
@ -391,7 +393,7 @@ Page({
|
|||||||
gender: genderValue,
|
gender: genderValue,
|
||||||
birthDate,
|
birthDate,
|
||||||
passportPhotoUrl: passportImageUrl,
|
passportPhotoUrl: passportImageUrl,
|
||||||
idCardNumber: passportNumber
|
passportNumber: passportNumber
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user