|
@@ -5,7 +5,7 @@
|
|
|
<div class="container-left" :style="leftShow ? { width: 0 } : { width: '240px' }">
|
|
<div class="container-left" :style="leftShow ? { width: 0 } : { width: '240px' }">
|
|
|
<div class="container-left-top" @click="dialogVisible1 = !dialogVisible1">
|
|
<div class="container-left-top" @click="dialogVisible1 = !dialogVisible1">
|
|
|
<span>
|
|
<span>
|
|
|
- <img class="icon-img" :src="img11" alt="AI 应用" />AI 普及课程
|
|
|
|
|
|
|
+ <img class="icon-img" :src="img11" alt="AI 应用" />AI通识课
|
|
|
<img v-if="dialogVisible1" class="up" :src="img3" alt="up" />
|
|
<img v-if="dialogVisible1" class="up" :src="img3" alt="up" />
|
|
|
<img v-else class="up" :src="down" alt="down" />
|
|
<img v-else class="up" :src="down" alt="down" />
|
|
|
</span>
|
|
</span>
|
|
@@ -15,6 +15,10 @@
|
|
|
<div :class="activeIndex == 0 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(0)">
|
|
<div :class="activeIndex == 0 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(0)">
|
|
|
教学中心
|
|
教学中心
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ <!-- v-if="isLogin" -->
|
|
|
|
|
+ <div :class="activeIndex == 9 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(9)">
|
|
|
|
|
+ 创建课程
|
|
|
|
|
+ </div>
|
|
|
<div :class="activeIndex == 5 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(5)">
|
|
<div :class="activeIndex == 5 ? 'container-left-top active' : 'container-left-top'" @click="clickSwitch(5)">
|
|
|
学生评价
|
|
学生评价
|
|
|
</div>
|
|
</div>
|
|
@@ -65,10 +69,10 @@
|
|
|
<AIExperience></AIExperience>
|
|
<AIExperience></AIExperience>
|
|
|
<AIexploration></AIexploration>
|
|
<AIexploration></AIexploration>
|
|
|
<DemoCurourse />
|
|
<DemoCurourse />
|
|
|
- <resource></resource>
|
|
|
|
|
|
|
+ <!-- <resource></resource> -->
|
|
|
<Practice></Practice>
|
|
<Practice></Practice>
|
|
|
<!-- <other v-if="!isupdateCourse"></other> -->
|
|
<!-- <other v-if="!isupdateCourse"></other> -->
|
|
|
- <Edu v-if="isLogin"></Edu>
|
|
|
|
|
|
|
+ <!-- <Edu v-if="isLogin"></Edu> -->
|
|
|
</div>
|
|
</div>
|
|
|
<div class="iframe" :style="leftShow ? { width: '100%' } : ''" v-else-if="activeIndex == 1" v-loading="loading">
|
|
<div class="iframe" :style="leftShow ? { width: '100%' } : ''" v-else-if="activeIndex == 1" v-loading="loading">
|
|
|
<iframe ref="iframeRef1" :src="iframeRef1Url" frameborder="0"></iframe>
|
|
<iframe ref="iframeRef1" :src="iframeRef1Url" frameborder="0"></iframe>
|
|
@@ -240,6 +244,17 @@ const clickSwitch = (index) => {
|
|
|
loading.value = true
|
|
loading.value = true
|
|
|
//pbl.cocorobo.cn/pbl-teacher-table/dist/#/grade?userid=4e748720-5878-11ef-b873-005056b86db5&oid=46034950-39b1-11ef-b873-005056b86db5&org=16ace517-b5c7-4168-a9bb-a9e0035df840
|
|
//pbl.cocorobo.cn/pbl-teacher-table/dist/#/grade?userid=4e748720-5878-11ef-b873-005056b86db5&oid=46034950-39b1-11ef-b873-005056b86db5&org=16ace517-b5c7-4168-a9bb-a9e0035df840
|
|
|
iframeRef1Url4.value = `//app.cocorobo.cn/#/cocobookllm?userid=${user.user.userid}&oid=${user.user.organizeid}&org=${user.user.org}&role=${user.user.role}`
|
|
iframeRef1Url4.value = `//app.cocorobo.cn/#/cocobookllm?userid=${user.user.userid}&oid=${user.user.organizeid}&org=${user.user.org}&role=${user.user.role}`
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
|
+ iframeRef4.value.onload = () => {
|
|
|
|
|
+ loading.value = false
|
|
|
|
|
+ }
|
|
|
|
|
+ loading.value = false
|
|
|
|
|
+ }, 100)
|
|
|
|
|
+ } else if (index == 9 && activeIndex.value != 9) {
|
|
|
|
|
+ loading.value = true
|
|
|
|
|
+ //pbl.cocorobo.cn/pbl-teacher-table/dist/#/grade?userid=4e748720-5878-11ef-b873-005056b86db5&oid=46034950-39b1-11ef-b873-005056b86db5&org=16ace517-b5c7-4168-a9bb-a9e0035df840
|
|
|
|
|
+ iframeRef1Url4.value = `//pbl.cocorobo.cn/pbl-teacher-table/dist/#/course?userid=${user.user.userid}&oid=${user.user.organizeid}&org=${user.user.org}&role=${user.user.role}`
|
|
|
|
|
+
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
iframeRef4.value.onload = () => {
|
|
iframeRef4.value.onload = () => {
|
|
|
loading.value = false
|
|
loading.value = false
|