|
|
@@ -158,7 +158,7 @@
|
|
|
<span v-if="gotype.gotype == 'bjs'">智能体课程</span>
|
|
|
<span v-else>智能体设计与应用课程</span>
|
|
|
</el-button>
|
|
|
- <el-button @click="cutmod(1)" v-if="gotype.gotype != 'bjs'" :class="[cutmodpage == 1 ? 'el_button_active' :'']">
|
|
|
+ <el-button @click="cutmod(1)" :class="[cutmodpage == 1 ? 'el_button_active' :'']">
|
|
|
<span>创意智造课程</span>
|
|
|
</el-button>
|
|
|
<!-- <el-button :class="!courseTypeShow ? 'el_button_active' : ''" @click="SwitchCourseType(false)">AI通识课2024版</el-button> -->
|
|
|
@@ -168,9 +168,9 @@
|
|
|
<el-button :class="selectmod == '模块一' ? 'el_button_active' : ''" @click="clickmod('模块一')">模块一</el-button>
|
|
|
<el-button :class="selectmod == '模块二' ? 'el_button_active' : ''" @click="clickmod('模块二')">模块二</el-button>
|
|
|
<el-button :class="selectmod == '模块三' ? 'el_button_active' : ''" @click="clickmod('模块三')">模块三</el-button>
|
|
|
- <el-button v-if="gotype.gotype == 'bjs'" :class="selectmod == '模块四' ? 'el_button_active' : ''" @click="clickmod('模块四')">模块四</el-button>
|
|
|
+ <el-button v-if="gotype.gotype == 'bjs' && cutmodpage == 0" :class="selectmod == '模块四' ? 'el_button_active' : ''" @click="clickmod('模块四')">模块四</el-button>
|
|
|
</div>
|
|
|
- <div class="course_select" v-if="gotype.gotype == 'bjs'">
|
|
|
+ <div class="course_select" v-if="gotype.gotype == 'bjs' && cutmodpage == 0">
|
|
|
<div v-if="currentmodData && currentmodData.shang.length > 0">
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="6" v-for="item in currentmodData.shang" :key="item.title" style="margin-top: 10px;">
|
|
|
@@ -190,7 +190,7 @@
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="course_select" v-if="gotype.gotype != 'bjs' && cutmodpage == 1">
|
|
|
+ <div class="course_select" v-if="cutmodpage == 1">
|
|
|
<div v-if="currentAI6TwoData && currentAI6TwoData.shang.length > 0">
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="6" v-for="item in currentAI6TwoData.shang" :key="item.title" style="margin-top: 10px;">
|
|
|
@@ -316,9 +316,9 @@ const cutmod = (val) => {
|
|
|
}
|
|
|
const clickmod = val => {
|
|
|
selectmod.value = val
|
|
|
- if (gotype.gotype === 'bjs') {
|
|
|
+ if (gotype.gotype === 'bjs' && cutmodpage.value == 0) {
|
|
|
currentmodData.value = modData.value[val]
|
|
|
- } else if (gotype.gotype != 'bjs' && cutmodpage.value == 1) {
|
|
|
+ } else if (cutmodpage.value == 1) {
|
|
|
currentAI6TwoData.value = AI6TwoData.value[val]
|
|
|
} else if (gotype.gotype != 'bjs' && cutmodpage.value == 0){
|
|
|
currentAI6Data.value = AI6Data.value[val]
|