|
|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<div style="height:100%">
|
|
|
- <Header></Header>
|
|
|
+ <Header v-if="!gotype"></Header>
|
|
|
<div class="container">
|
|
|
- <div class="container-left" :style="leftShow ? { width: 0 } : { width: '240px' }">
|
|
|
+ <div class="container-left" :style="leftShow ? { width: 0 } : { width: '240px' }" v-if="!gotype">
|
|
|
<div class="container-left-top" @click="dialogVisible1 = !dialogVisible1">
|
|
|
<span>
|
|
|
<img class="icon-img" :src="img11" alt="AI 应用" />AI通识课
|
|
|
@@ -63,7 +63,7 @@
|
|
|
<span v-else><el-icon><ArrowLeft /></el-icon></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="main" :style="leftShow ? { width: '100%' } : ''" v-if="activeIndex == 0">
|
|
|
+ <div class="main" :style="leftShow ? { width: '100%' } : ''" v-if="activeIndex == 0" :class="[gotype ? 'liyuan' : '']">
|
|
|
<!-- <BannerVue></BannerVue> -->
|
|
|
<CourseSelect></CourseSelect>
|
|
|
<AIExperience></AIExperience>
|
|
|
@@ -150,8 +150,11 @@ const iframeRef1Url4 = ref('')
|
|
|
const iframeRef2Dialog = ref(false)
|
|
|
const leftShow = ref(false)
|
|
|
const admin = ref(false)
|
|
|
+const gotype = ref((window.topU && window.topU.gotype2) ? window.topU.gotype2 : '')
|
|
|
|
|
|
onMounted(() => {
|
|
|
+ console.log('gotype',gotype.value);
|
|
|
+ console.log('gotype',sessionStorage.getItem('gotype2'));
|
|
|
// let timer = setInterval(() => {
|
|
|
// if (JSON.stringify(user.user) != "{}") {
|
|
|
// clickSwitch(1)
|
|
|
@@ -346,7 +349,11 @@ const show = () => {
|
|
|
height: calc(100vh - 60px);
|
|
|
overflow: auto;
|
|
|
}
|
|
|
-
|
|
|
+ .liyuan{
|
|
|
+ width: 100% !important;
|
|
|
+ height: 100vh !important;
|
|
|
+ padding: 20px 15% !important;
|
|
|
+ }
|
|
|
.iframe {
|
|
|
width: calc(100% - 240px);
|
|
|
height: calc(100vh - 60px);
|