|
|
@@ -227,7 +227,8 @@
|
|
|
<div class="three_bottom">
|
|
|
<el-tooltip effect="dark" :content="lang.Preview" placement="top">
|
|
|
<div class="t_b_Item" @click="get(item)">
|
|
|
- <img style="height: 90%;width: 90%;" src="../../assets/icon/course/lookeye.svg">
|
|
|
+ <!-- <img style="height: 90%;width: 90%;" src="../../assets/icon/course/lookeye.svg"> -->
|
|
|
+ <img style="height: 90%;width: 90%;" src="../../assets/see.svg">
|
|
|
</div>
|
|
|
</el-tooltip>
|
|
|
<el-tooltip effect="dark" v-show="orgArray.includes(org) || oidArray.includes(oid)" :content="lang.AiEdit" placement="top">
|
|
|
@@ -424,6 +425,7 @@
|
|
|
<shareDialog ref="shareDialogRef"/>
|
|
|
<templateDialog :dialogVisibleTemplate.sync="dialogVisibleTemplate" :userid="userid" :org="org" :oid="oid" @goToCourseTemplate="goToCourseTemplate" @goToCourseTemplate2="goToCourseTemplate2"></templateDialog>
|
|
|
<templateDialogE :dialogVisibleTemplate.sync="dialogVisibleTemplate2" :userid="userid" :org="org" :oid="oid" @goToCourseTemplate="goToCourseTemplateE" @goToCourseTemplate2="goToCourseTemplate2E"></templateDialogE>
|
|
|
+ <iframe :src="courseUrl" class="courseIframe" v-if="courseUrl"></iframe>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -498,6 +500,7 @@ export default {
|
|
|
oidArray:[],
|
|
|
pptArrayOrg:[],
|
|
|
pptArrayOid:[],
|
|
|
+ courseUrl: "",
|
|
|
|
|
|
};
|
|
|
},
|
|
|
@@ -940,7 +943,21 @@ export default {
|
|
|
}
|
|
|
this.addOp3('1', "", { courseid: item.courseId, type: _str }, "success")
|
|
|
|
|
|
- window.topU.postMessage({ cid: item.courseId, screenType: "3" }, "*");
|
|
|
+ // window.topU.postMessage({ cid: item.courseId, screenType: "3" }, "*");
|
|
|
+ let url = 'https://beta.pbl.cocorobo.cn'
|
|
|
+ if (window.location.href.includes('beta')) {
|
|
|
+ url = url
|
|
|
+ }
|
|
|
+ else if (this.lang.lang === 'cn') {
|
|
|
+ url = 'https://pbl.cocorobo.cn'
|
|
|
+ }
|
|
|
+ else if (this.lang.lang === 'hk') {
|
|
|
+ url = 'https://pbl.cocorobo.hk'
|
|
|
+ }
|
|
|
+ else if (this.lang.lang === 'en') {
|
|
|
+ url = 'https://pbl.cocorobo.com'
|
|
|
+ }
|
|
|
+ this.courseUrl = url + "/pbl-student-table/dist/#/courseDetail?userid=" + this.userid + "&oid=" + this.oid + "&org=" + this.org + "&courseId=" + item.courseId + "&tType=1&cid=&screenType=2"
|
|
|
},
|
|
|
getNT(cid) {
|
|
|
window.topU.postMessage({ cid: cid, screenType: "3NT" }, "*");
|
|
|
@@ -2378,4 +2395,13 @@ export default {
|
|
|
padding: 0 90px !important;
|
|
|
box-sizing: border-box !important;
|
|
|
}
|
|
|
+
|
|
|
+.courseIframe{
|
|
|
+ width: 100vw;
|
|
|
+ height: 100vh;
|
|
|
+ position: fixed;
|
|
|
+ z-index: 99999;
|
|
|
+ top: 0;
|
|
|
+ left: 0;
|
|
|
+}
|
|
|
</style>
|