diff --git a/pages/application/onlinexxks/video_study.vue b/pages/application/onlinexxks/video_study.vue index 8583392..03b4b3f 100644 --- a/pages/application/onlinexxks/video_study.vue +++ b/pages/application/onlinexxks/video_study.vue @@ -496,9 +496,21 @@ export default { CHAPTER_ID: this.videoData.CHAPTER_ID, VIDEOCOURSEWARE_ID: this.videoData.VIDEOCOURSEWARE_ID, }) - uni.navigateTo({ - url: '/pages/application/onlinexxks/face/index?params=' + params - }) + const resData = await this.post('/app/user/getUserFace', { + USERNAME: loginUser.NAME, + USER_ID: loginUser.USER_ID, + }); + if (!resData.pd.PORTRAIT) { + uni.showModal({ + title: "温馨提示", + confirmText: "确定", + content: "您当前还未进行人脸认证,请先进行认证", + }); + } else { + uni.navigateTo({ + url: '/pages/application/onlinexxks/face/index?params=' + params + }) + } }, fnNavigationExercises(VIDEOCOURSEWARE_ID) { uni.navigateTo({