Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-learn
Commits
3c10b5c7
提交
3c10b5c7
authored
10月 25, 2023
作者:
lhh
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
0555bcbc
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
11 行增加
和
4 行删除
+11
-4
icon-btn-a.png
src/assets/images/icon-btn-a.png
+0
-0
icon-btn-b.png
src/assets/images/icon-btn-b.png
+0
-0
icon-btn.png
src/assets/images/icon-btn.png
+0
-0
CourseIndex.vue
src/modules/course/views/CourseIndex.vue
+11
-4
CourseView.vue
src/modules/course/views/CourseView.vue
+0
-0
没有找到文件。
src/assets/images/icon-btn-a.png
0 → 100644
浏览文件 @
3c10b5c7
1.3 KB
src/assets/images/icon-btn-b.png
0 → 100644
浏览文件 @
3c10b5c7
1.8 KB
src/assets/images/icon-btn.png
0 → 100644
浏览文件 @
3c10b5c7
1.3 KB
src/modules/course/views/CourseIndex.vue
浏览文件 @
3c10b5c7
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
CourseListSearch
from
'../components/CourseListSearch.vue'
import
CourseListSearch
from
'../components/CourseListSearch.vue'
import
CourseListItem
from
'../components/CourseListItem.vue'
import
CourseListItem
from
'../components/CourseListItem.vue'
import
CourseView
from
'./CourseView.vue'
import
type
{
CourseListParamsType
,
CourseListItemType
}
from
'../types'
import
type
{
CourseListParamsType
,
CourseListItemType
}
from
'../types'
import
{
getCourseList
}
from
'../api'
import
{
getCourseList
}
from
'../api'
import
{
useUserStore
}
from
'@/stores/user'
import
{
useUserStore
}
from
'@/stores/user'
...
@@ -47,13 +48,16 @@ log.upload({
...
@@ -47,13 +48,16 @@ log.upload({
<
template
>
<
template
>
<section
class=
"course"
:class=
"route.path === '/course' ? 'is-list' : 'is-view'"
>
<section
class=
"course"
:class=
"route.path === '/course' ? 'is-list' : 'is-view'"
>
<div
class=
"course-left"
>
<
!--
<
div
class=
"course-left"
>
<CourseListSearch
@
change=
"handleSearch"
></CourseListSearch>
<CourseListSearch
@
change=
"handleSearch"
></CourseListSearch>
<div
class=
"course-list"
>
<div
class=
"course-list"
>
<CourseListItem
v-for=
"item in courseList"
:data=
"item"
:key=
"item.id"
@
change=
"fetchList"
></CourseListItem>
<CourseListItem
v-for=
"item in courseList"
:data=
"item"
:key=
"item.id"
@
change=
"fetchList"
></CourseListItem>
</div>
</div>
</div>
-->
<!--
<div
class=
"course-right"
><router-view
:key=
"$route.fullPath"
></router-view></div>
-->
<div
class=
"course-right"
>
<CourseView
v-for=
"item in courseList"
:data=
"item"
:key=
"item.id"
></CourseView>
</div>
</div>
<div
class=
"course-right"
><router-view
:key=
"$route.fullPath"
></router-view></div>
</section>
</section>
</
template
>
</
template
>
...
@@ -76,8 +80,11 @@ log.upload({
...
@@ -76,8 +80,11 @@ log.upload({
// 右侧
// 右侧
.course-right
{
.course-right
{
flex
:
1
;
flex
:
1
;
overflow
:
hidden
;
// overflow: hidden;
margin-left
:
20px
;
// background-color: #fff;
// margin-left: 20px;
border-radius
:
10px
;
height
:
fit-content
;
}
}
.is-h5
{
.is-h5
{
.course-left
{
.course-left
{
...
...
src/modules/course/views/CourseView.vue
浏览文件 @
3c10b5c7
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论