|
|
@@ -177,7 +177,7 @@ const getCourseTitle = index => {
|
|
|
}
|
|
|
return ''
|
|
|
}
|
|
|
-// 新增课程标题数组,依赖修改后的 getCourseTitle 函数 修改课程标题数组为 computed 属性
|
|
|
+// 课程标题数组,依赖修改后的 getCourseTitle 函数 修改课程标题数组为 computed 属性
|
|
|
const courseTitles = computed(() => {
|
|
|
return Array.from({ length: 8 }, (_, i) => getCourseTitle(i + 1))
|
|
|
})
|
|
|
@@ -192,7 +192,7 @@ const toggleDrawer = () => {
|
|
|
drawerVisible.value = !drawerVisible.value
|
|
|
}
|
|
|
|
|
|
-import {Message} from "@/utils/message/Message.js";
|
|
|
+import { Message } from "@/utils/message/Message.js";
|
|
|
|
|
|
|
|
|
// 搜索框
|
|
|
@@ -212,8 +212,8 @@ const drawerVisible = ref(true)
|
|
|
const goBack = () => {
|
|
|
router.go(-1) // 返回上一页
|
|
|
}
|
|
|
-// 添加跳转课程页面的函数
|
|
|
|
|
|
+// 添加跳转课程页面的函数
|
|
|
// const goToAIExperience = index => {
|
|
|
// const routes = [
|
|
|
// '/ai-initial-experience', // 跳转AI初体验
|
|
|
@@ -246,7 +246,7 @@ const goToAIExperience = outlineData => {
|
|
|
|
|
|
if (outlineData.ctTypeSort === 2) {
|
|
|
router.push({
|
|
|
- path: '/ai-develop', // 跳转AI初体验
|
|
|
+ path: '/ai-develop', // 跳转视频页面
|
|
|
query: { typeId: outlineData.id, typeName: outlineData.ctType }
|
|
|
})
|
|
|
}else {
|
|
|
@@ -463,6 +463,7 @@ onMounted(() => {
|
|
|
padding-left: rpx(15);
|
|
|
font-size: rpx(10); // 设置图标大小,可按需调整
|
|
|
cursor: pointer; // 添加鼠标指针样式
|
|
|
+ z-index: 999;
|
|
|
}
|
|
|
.box-icon .left-icon {
|
|
|
margin-left: rpx(10);
|