|
|
@@ -166,95 +166,98 @@
|
|
|
</el-row>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="margin-top: 20px;">
|
|
|
- <span class="grandTitle2" v-if="gotype.gotype == 'bjs'">人工智能竞赛课</span>
|
|
|
- <span class="grandTitle2" v-else>竞赛主题课程</span>
|
|
|
- </div>
|
|
|
- <div class="course_select">
|
|
|
- <span class="grandTitle">课程类型:</span>
|
|
|
- <el-button @click="cutmod(0)" :class="[cutmodpage == 0 ? 'el_button_active' :'']">
|
|
|
- <span v-if="gotype.gotype == 'bjs'">智能体课程</span>
|
|
|
- <span v-else>智能体设计与应用课程</span>
|
|
|
- </el-button>
|
|
|
- <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> -->
|
|
|
- </div>
|
|
|
- <div class="course_select">
|
|
|
- <span class="grandTitle">模块:</span>
|
|
|
- <el-button :class="selectmod == '模块一' ? 'el_button_active' : ''" @click="clickmod('模块一')">模块一</el-button>
|
|
|
- <el-button v-if="cutmodpage == 0" :class="selectmod == '模块二' ? 'el_button_active' : ''" @click="clickmod('模块二')">模块二</el-button>
|
|
|
- <el-button v-if="cutmodpage == 0" :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' && 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;">
|
|
|
- <div class="grid-content ep-bg-purple">
|
|
|
- <img :src="getImageUrl(item.url)" alt="">
|
|
|
- <div class="course_content">
|
|
|
- <div class="div_title">
|
|
|
- <el-tooltip class="item" effect="dark" :content="item.title" placement="top">
|
|
|
- <div class="div_title_text">{{ item.title }}</div>
|
|
|
- </el-tooltip>
|
|
|
+ <template v-if="false">
|
|
|
+ <div style="margin-top: 20px;">
|
|
|
+ <span class="grandTitle2" v-if="gotype.gotype == 'bjs'">人工智能竞赛课</span>
|
|
|
+ <span class="grandTitle2" v-else>竞赛主题课程</span>
|
|
|
+ </div>
|
|
|
+ <div class="course_select">
|
|
|
+ <span class="grandTitle">课程类型:</span>
|
|
|
+ <el-button @click="cutmod(0)" :class="[cutmodpage == 0 ? 'el_button_active' :'']">
|
|
|
+ <span v-if="gotype.gotype == 'bjs'">智能体课程</span>
|
|
|
+ <span v-else>智能体设计与应用课程</span>
|
|
|
+ </el-button>
|
|
|
+ <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> -->
|
|
|
+ </div>
|
|
|
+ <div class="course_select">
|
|
|
+ <span class="grandTitle">模块:</span>
|
|
|
+ <el-button :class="selectmod == '模块一' ? 'el_button_active' : ''" @click="clickmod('模块一')">模块一</el-button>
|
|
|
+ <el-button v-if="cutmodpage == 0" :class="selectmod == '模块二' ? 'el_button_active' : ''" @click="clickmod('模块二')">模块二</el-button>
|
|
|
+ <el-button v-if="cutmodpage == 0" :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' && 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;">
|
|
|
+ <div class="grid-content ep-bg-purple">
|
|
|
+ <img :src="getImageUrl(item.url)" alt="">
|
|
|
+ <div class="course_content">
|
|
|
+ <div class="div_title">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.title" placement="top">
|
|
|
+ <div class="div_title_text">{{ item.title }}</div>
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="class_button" v-if="isupdateCourse">
|
|
|
+ <el-button :style="item.courseType == '1' ? 'width: 50%;' : 'width: 100%;'" class="el_button_active"
|
|
|
+ @click="openCourseDetail(item.id, item)">上课</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="class_button" v-if="isupdateCourse">
|
|
|
- <el-button :style="item.courseType == '1' ? 'width: 50%;' : 'width: 100%;'" class="el_button_active"
|
|
|
- @click="openCourseDetail(item.id, item)">上课</el-button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <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;">
|
|
|
- <div class="grid-content ep-bg-purple">
|
|
|
- <img :src="getImageUrl(item.url)" alt="">
|
|
|
- <div class="course_content">
|
|
|
- <div class="div_title">
|
|
|
- <el-tooltip class="item" effect="dark" :content="item.title" placement="top">
|
|
|
- <div class="div_title_text">{{ item.title }}</div>
|
|
|
- </el-tooltip>
|
|
|
+ <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;">
|
|
|
+ <div class="grid-content ep-bg-purple">
|
|
|
+ <img :src="getImageUrl(item.url)" alt="">
|
|
|
+ <div class="course_content">
|
|
|
+ <div class="div_title">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.title" placement="top">
|
|
|
+ <div class="div_title_text">{{ item.title }}</div>
|
|
|
+ </el-tooltip>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="class_button" v-if="isupdateCourse">
|
|
|
+ <el-button :style="item.courseType == '1' ? 'width: 50%;' : 'width: 100%;'" class="el_button_active"
|
|
|
+ @click="openCourseDetail(item.id, item)">上课</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="class_button" v-if="isupdateCourse">
|
|
|
- <el-button :style="item.courseType == '1' ? 'width: 50%;' : 'width: 100%;'" class="el_button_active"
|
|
|
- @click="openCourseDetail(item.id, item)">上课</el-button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="course_select" v-if="gotype.gotype != 'bjs' && cutmodpage == 0">
|
|
|
- <div v-if="currentAI6Data && currentAI6Data.shang.length > 0">
|
|
|
- <el-row :gutter="20">
|
|
|
- <el-col :span="6" v-for="item in currentAI6Data.shang" :key="item.title" style="margin-top: 10px;">
|
|
|
- <div class="grid-content ep-bg-purple">
|
|
|
- <img :src="getImageUrl(item.url)" alt="">
|
|
|
- <div class="course_content">
|
|
|
- <div class="div_title">
|
|
|
- <el-tooltip class="item" effect="dark" :content="item.title" placement="top">
|
|
|
- <div class="div_title_text">{{ item.title }}</div>
|
|
|
- </el-tooltip>
|
|
|
+ <div class="course_select" v-if="gotype.gotype != 'bjs' && cutmodpage == 0">
|
|
|
+ <div v-if="currentAI6Data && currentAI6Data.shang.length > 0">
|
|
|
+ <el-row :gutter="20">
|
|
|
+ <el-col :span="6" v-for="item in currentAI6Data.shang" :key="item.title" style="margin-top: 10px;">
|
|
|
+ <div class="grid-content ep-bg-purple">
|
|
|
+ <img :src="getImageUrl(item.url)" alt="">
|
|
|
+ <div class="course_content">
|
|
|
+ <div class="div_title">
|
|
|
+ <el-tooltip class="item" effect="dark" :content="item.title" placement="top">
|
|
|
+ <div class="div_title_text">{{ item.title }}</div>
|
|
|
+ </el-tooltip>
|
|
|
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="class_button" v-if="isupdateCourse">
|
|
|
+ <el-button :style="item.courseType == '1' ? 'width: 50%;' : 'width: 100%;'" class="el_button_active"
|
|
|
+ @click="openCourseDetail(item.id, item)">上课</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="class_button" v-if="isupdateCourse">
|
|
|
- <el-button :style="item.courseType == '1' ? 'width: 50%;' : 'width: 100%;'" class="el_button_active"
|
|
|
- @click="openCourseDetail(item.id, item)">上课</el-button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </template>
|
|
|
+
|
|
|
<el-dialog v-model="dialogVisible" :before-close="handleClose" width=500>
|
|
|
<template #header>
|
|
|
<div class="dialog-header img_text_middle">
|