|
@@ -211,7 +211,6 @@ const _sfc_main = {
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
this.fetchQuestions();
|
|
this.fetchQuestions();
|
|
- this.fetchFollowUpQuestions();
|
|
|
|
this.checkAudioPermission();
|
|
this.checkAudioPermission();
|
|
this.initCamera();
|
|
this.initCamera();
|
|
this.checkIOSCameraRecordPermission();
|
|
this.checkIOSCameraRecordPermission();
|
|
@@ -1946,7 +1945,7 @@ const _sfc_main = {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
}
|
|
}
|
|
- }, 2e3);
|
|
|
|
|
|
+ }, 200);
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 修改 handleAnswerButtonClick 方法,确保在切换视频时重置历史时间
|
|
// 修改 handleAnswerButtonClick 方法,确保在切换视频时重置历史时间
|
|
@@ -2613,7 +2612,6 @@ const _sfc_main = {
|
|
console.log("identity-verify页面onShow");
|
|
console.log("identity-verify页面onShow");
|
|
console.log("当前本地存储中的职位信息:", common_vendor.index.getStorageSync("selectedJob"));
|
|
console.log("当前本地存储中的职位信息:", common_vendor.index.getStorageSync("selectedJob"));
|
|
this.fetchQuestions();
|
|
this.fetchQuestions();
|
|
- this.fetchFollowUpQuestions();
|
|
|
|
const systemInfo = common_vendor.index.getSystemInfoSync();
|
|
const systemInfo = common_vendor.index.getSystemInfoSync();
|
|
const isMiniProgram = systemInfo.uniPlatform && systemInfo.uniPlatform.startsWith("mp-");
|
|
const isMiniProgram = systemInfo.uniPlatform && systemInfo.uniPlatform.startsWith("mp-");
|
|
if (isMiniProgram) {
|
|
if (isMiniProgram) {
|
|
@@ -2868,6 +2866,20 @@ const _sfc_main = {
|
|
},
|
|
},
|
|
handlePersonDetectionResult(data) {
|
|
handlePersonDetectionResult(data) {
|
|
if (data.data.identity.status !== "identity_verified") {
|
|
if (data.data.identity.status !== "identity_verified") {
|
|
|
|
+ this.showPageWarning = true;
|
|
|
|
+ common_vendor.index.showToast({
|
|
|
|
+ title: data.data.identity.message,
|
|
|
|
+ icon: "none",
|
|
|
|
+ duration: 3e3
|
|
|
|
+ });
|
|
|
|
+ common_vendor.index.vibrateLong({
|
|
|
|
+ success: function() {
|
|
|
|
+ console.log("Vibration successful");
|
|
|
|
+ },
|
|
|
|
+ fail: function(err) {
|
|
|
|
+ console.error("Vibration failed:", err);
|
|
|
|
+ }
|
|
|
|
+ });
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
this.showPageWarning = false;
|
|
this.showPageWarning = false;
|
|
}, 3e3);
|
|
}, 3e3);
|