|
@@ -30,7 +30,7 @@ export default defineComponent({
|
|
|
console.log('加载完成', state.platform)
|
|
|
})
|
|
|
watch(() => headTopData.modeType, (val) => {
|
|
|
- console.log(val)
|
|
|
+ console.log(val, 'headTopData.modeType')
|
|
|
})
|
|
|
return () => (<>
|
|
|
{
|
|
@@ -40,14 +40,14 @@ export default defineComponent({
|
|
|
<img id='aiTeacher-2' onClick={() => headTopData.handleChangeModeType("follow")} src={icons.icon_2} />
|
|
|
<img id='aiTeacher-3' onClick={() => headTopData.handleChangeModeType("evaluating")} src={icons.icon_3} />
|
|
|
</div>
|
|
|
- {showPC.value ? <TeacherBootom></TeacherBootom> : null}
|
|
|
+ {showPC.value && headTopData.modeType === 'init' ? <TeacherBootom></TeacherBootom> : null}
|
|
|
</div> : <div class={[styles.wrap, headTopData.modeType === 'init' ? '' : styles.hidden]}>
|
|
|
<div class={[styles.infoWrap, headTopData.modeType === 'init' ? '' : styles.hidden]} >
|
|
|
<img id='studentB-0' onClick={() => headTopData.handleChangeModeType("practise")} src={icons.icon_1} />
|
|
|
<img id='studentB-1' onClick={() => headTopData.handleChangeModeType("follow")} src={icons.icon_2} />
|
|
|
<img id='studentB-2' onClick={() => headTopData.handleChangeModeType("evaluating")} src={icons.icon_3} />
|
|
|
</div>
|
|
|
- {showStudent.value ? <StudentBottom></StudentBottom> : null}
|
|
|
+ {showStudent.value && headTopData.modeType === 'init' ? <StudentBottom></StudentBottom> : null}
|
|
|
</div>
|
|
|
}
|
|
|
|