Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-learn
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-learn
Commits
4e345fb5
提交
4e345fb5
authored
10月 19, 2022
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: 样式优化
上级
4d5dfcfd
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
23 行增加
和
11 行删除
+23
-11
CourseListItem.vue
src/modules/course/components/CourseListItem.vue
+1
-0
CourseViewAssess.vue
src/modules/course/components/CourseViewAssess.vue
+12
-4
CourseView.vue
src/modules/course/views/CourseView.vue
+10
-7
没有找到文件。
src/modules/course/components/CourseListItem.vue
浏览文件 @
4e345fb5
...
...
@@ -169,6 +169,7 @@ function handleTop(data: CourseListItemType) {
margin-left
:
5px
;
.el-progress__text
{
font-size
:
12px
!
important
;
min-width
:
unset
;
}
}
}
...
...
src/modules/course/components/CourseViewAssess.vue
浏览文件 @
4e345fb5
...
...
@@ -81,15 +81,13 @@ function formatDuration(duration: number | undefined) {
default-expand-all
row-key=
"id"
style=
"width: 100%"
:header-cell-style=
"
{ 'background-color': '#F7F8FA' }"
>
:header-cell-style=
"
{ 'background-color': '#F7F8FA', 'font-size': '16px', 'font-weight': 400 }">
<el-table-column
prop=
"name"
label=
"章节"
>
<template
#
default=
"
{ row }">
<template
v-if=
"row.depth === 3"
>
<router-link
:to=
"`/course/player?course_id=$
{courseId}
&
chapter_id=${row.chapter_id}
&
section_id=${row.section_id}
&
resource_id=${row.resource_id}
&
semester_id=${semesterId}`"
target="_blank"
>
target="_blank">
{{
row
.
name
}}
</router-link>
</
template
>
...
...
@@ -128,4 +126,14 @@ function formatDuration(duration: number | undefined) {
color
:
#333333
;
}
}
:deep
(
.el-table__row--level-0
)
{
font-size
:
16px
;
font-weight
:
500
;
color
:
#333
;
}
:deep
(
.el-table__row--level-1
)
{
font-size
:
16px
;
font-weight
:
400
;
color
:
#333
;
}
</
style
>
src/modules/course/views/CourseView.vue
浏览文件 @
4e345fb5
...
...
@@ -94,8 +94,7 @@ function showInfo(title: string, content: string) {
:autoplay=
"false"
indicator-position=
"none"
:arrow=
"detail.lecturers.length > 1 ? 'always' : 'never'"
height=
"126px"
>
height=
"126px"
>
<el-carousel-item
v-for=
"item in detail.lecturers"
:key=
"item.id"
class=
"lecturer-item"
>
<img
:src=
"item.avatar"
class=
"lecturer-item__pic"
/>
<div
class=
"lecturer-item__info"
>
...
...
@@ -105,8 +104,7 @@ function showInfo(title: string, content: string) {
<div
class=
"lecturer-item__content"
v-html=
"item.summarize"
style=
"height: 66px; overflow: hidden"
></div>
style=
"height: 66px; overflow: hidden"
></div>
</
template
>
<div
class=
"lecturer-item__content"
v-html=
"item.summarize"
></div>
</el-popover>
...
...
@@ -142,7 +140,7 @@ function showInfo(title: string, content: string) {
</div>
</div>
<el-dialog
v-model=
"dialogInfo.visible"
:title=
"dialogInfo.title"
width=
"472px"
center
>
<div
v-html=
"dialogInfo.content"
></div>
<div
v-html=
"dialogInfo.content"
class=
"dialog-info"
></div>
</el-dialog>
</template>
...
...
@@ -164,8 +162,8 @@ function showInfo(title: string, content: string) {
color
:
#333333
;
}
ul
{
margin-top
:
1
0px
;
margin-bottom
:
2
0px
;
margin-top
:
2
0px
;
margin-bottom
:
3
0px
;
display
:
flex
;
}
li
{
...
...
@@ -240,4 +238,9 @@ function showInfo(title: string, content: string) {
.course-view-bd
{
padding
:
10px
20px
;
}
.dialog-info
{
:deep
(
img
)
{
max-width
:
100%
;
}
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论