Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
99064593
提交
99064593
authored
7月 26, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
style:样式优化
上级
94f8b721
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
120 行增加
和
105 行删除
+120
-105
CardListItem.vue
src/components/base/CardListItem.vue
+4
-2
CardListItem.vue
src/modules/course/my/components/CardListItem.vue
+7
-6
ViewTop.vue
src/modules/resource/courseware/components/ViewTop.vue
+24
-23
ViewTop.vue
src/modules/resource/lessonplan/components/ViewTop.vue
+25
-21
ViewTop.vue
src/modules/resource/other/components/ViewTop.vue
+24
-23
CardListItem.vue
src/modules/resource/video/components/CardListItem.vue
+10
-5
ViewTop.vue
src/modules/resource/video/components/ViewTop.vue
+25
-24
List.vue
src/modules/resource/video/views/List.vue
+1
-1
没有找到文件。
src/components/base/CardListItem.vue
浏览文件 @
99064593
...
...
@@ -80,6 +80,7 @@ const bytesToSize = (bytes: number) => {
position
:
relative
;
display
:
flex
;
align-items
:
center
;
margin-top
:
-20px
;
&
:hover
{
.tool-pop-btn
{
opacity
:
1
;
...
...
@@ -118,7 +119,7 @@ const bytesToSize = (bytes: number) => {
text-overflow
:
ellipsis
;
}
.tool-pop-btn
{
transition
:
all
0
.
5
s
;
transition
:
all
0
.
1
s
;
position
:
absolute
;
top
:
0
;
left
:
0
;
...
...
@@ -126,7 +127,7 @@ const bytesToSize = (bytes: number) => {
height
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
opacity
:
0
;
padding-top
:
5
2px
;
padding-top
:
7
2px
;
box-sizing
:
border-box
;
.edit-btn
{
width
:
113px
;
...
...
@@ -201,6 +202,7 @@ const bytesToSize = (bytes: number) => {
font-size
:
16px
;
line-height
:
100%
;
color
:
#999999
;
word-break
:
keep-all
;
}
}
}
...
...
src/modules/course/my/components/CardListItem.vue
浏览文件 @
99064593
...
...
@@ -20,7 +20,7 @@ const copyCourse = () => {
<div
class=
"card-item"
>
<div
class=
"card-item-top"
>
<div
class=
"title"
>
{{
props
.
data
.
name
}}
</div>
<div
class=
"cover-img"
:style=
"`background-image:url($
{props.data.cover})
`">
</div>
<div
class=
"cover-img"
:style=
"`background-image:url($
{props.data.cover})`">
</div>
<div
class=
"tool-pop-btn"
>
<div
style=
"min-width: 100%"
>
<router-link
v-if=
"props.data.auth_edit"
:to=
"`/course/update-course?id=$
{props.data.id}`">
...
...
@@ -63,10 +63,6 @@ const copyCourse = () => {
&
:hover
{
.tool-pop-btn
{
opacity
:
1
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex-direction
:
column
;
}
}
.cover-img
{
...
...
@@ -98,8 +94,12 @@ const copyCourse = () => {
height
:
100%
;
background
:
rgba
(
0
,
0
,
0
,
0
.6
);
opacity
:
0
;
padding-top
:
22px
;
//
padding-top: 22px;
box-sizing
:
border-box
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
flex-direction
:
column
;
.edit-btn
{
width
:
113px
;
line-height
:
32px
;
...
...
@@ -182,6 +182,7 @@ const copyCourse = () => {
.tag
{
font-size
:
16px
;
line-height
:
100%
;
word-break
:
keep-all
;
color
:
#999999
;
}
}
...
...
src/modules/resource/courseware/components/ViewTop.vue
浏览文件 @
99064593
...
...
@@ -53,6 +53,16 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
<div
class=
"value active"
>
{{
props
.
data
?.
status_name
}}
</div>
</div>
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon3.png"
class=
"icons"
/>
<div
class=
"text-box"
>
<div
class=
"name"
>
创建时间
</div>
<div
class=
"value"
>
{{
props
.
data
?.
created_time
}}
</div>
</div>
</div>
</div>
<div
class=
"flex-box"
>
<div
class=
"i-items"
>
...
...
@@ -67,7 +77,7 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/
video-view-icon6
.png"
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/
course-view-icon13
.png"
class=
"icons"
/>
<div
class=
"text-box"
>
...
...
@@ -85,18 +95,6 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
<div
class=
"value"
>
{{
props
.
data
?.
knowledge_points
||
'暂无'
}}
</div>
</div>
</div>
</div>
<div
class=
"flex-box"
>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon3.png"
class=
"icons"
/>
<div
class=
"text-box"
>
<div
class=
"name"
>
创建时间
</div>
<div
class=
"value"
>
{{
props
.
data
?.
created_time
}}
</div>
</div>
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon4.png"
...
...
@@ -107,7 +105,6 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
<div
class=
"value"
>
{{
props
.
data
?.
updated_time
}}
</div>
</div>
</div>
<div
class=
"i-items"
></div>
</div>
</div>
</div>
...
...
@@ -134,21 +131,25 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
}
}
.info-items
{
// display: flex;
// flex-wrap: wrap;
padding
:
12px
0
;
display
:
flex
;
flex-direction
:
column
;
flex
:
1
;
padding-left
:
12px
;
.flex-box
{
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
space-around
;
}
.i-items
:not
(
:last-child
)
{
border-right
:
1px
dashed
rgb
(
191
,
191
,
191
);
}
.i-items
{
width
:
30
%
;
width
:
25
%
;
display
:
flex
;
align-items
:
center
;
height
:
fit-content
;
margin-right
:
80px
;
margin-bottom
:
30px
;
padding-left
:
5%
;
.textarea-box
{
padding
:
18px
18px
51px
;
background
:
#ffffff
;
...
...
@@ -166,10 +167,10 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
color
:
#999999
;
}
.value
{
font-size
:
16px
;
font-weight
:
bold
;
font-size
:
14px
;
line-height
:
100%
;
color
:
#333333
;
color
:
#333
;
font-family
:
Source
Han
Sans
CN
;
margin-top
:
8px
;
&
.active
{
color
:
#1ab226
;
...
...
src/modules/resource/lessonplan/components/ViewTop.vue
浏览文件 @
99064593
...
...
@@ -54,6 +54,16 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
<div
class=
"value active"
>
{{
props
.
data
?.
status_name
}}
</div>
</div>
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon3.png"
class=
"icons"
/>
<div
class=
"text-box"
>
<div
class=
"name"
>
创建时间
</div>
<div
class=
"value"
>
{{
props
.
data
?.
created_time
}}
</div>
</div>
</div>
</div>
<div
class=
"flex-box"
>
<div
class=
"i-items"
>
...
...
@@ -68,7 +78,7 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/
video-view-icon6
.png"
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/
course-view-icon13
.png"
class=
"icons"
/>
<div
class=
"text-box"
>
...
...
@@ -86,26 +96,16 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
<div
class=
"value"
>
{{
props
.
data
?.
knowledge_points
||
'暂无'
}}
</div>
</div>
</div>
</div>
<div
class=
"flex-box"
>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon
3
.png"
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon
4
.png"
class=
"icons"
/>
<div
class=
"text-box"
>
<div
class=
"name"
>
创建时间
</div>
<div
class=
"value"
>
{{
props
.
data
?.
created_time
}}
</div>
</div>
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon4.png"
class=
"icons"
/>
<div
class=
"text-box"
>
<div
class=
"name"
>
更新时间
</div>
<div
class=
"value"
>
{{
props
.
data
?.
updated_time
}}
</div>
</div>
</div>
<div
class=
"i-items"
></div>
</div>
</div>
</div>
...
...
@@ -132,21 +132,25 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
}
}
.info-items
{
// display: flex
;
// flex-wrap: wrap
;
padding-left
:
12px
;
padding
:
12px
0
;
display
:
flex
;
flex-direction
:
column
;
flex
:
1
;
.flex-box
{
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
space-around
;
}
.i-items
:not
(
:last-child
)
{
border-right
:
1px
dashed
rgb
(
191
,
191
,
191
);
}
.i-items
{
width
:
30
%
;
width
:
25
%
;
display
:
flex
;
align-items
:
center
;
height
:
fit-content
;
margin-right
:
80px
;
margin-bottom
:
30px
;
padding-left
:
5%
;
.textarea-box
{
padding
:
18px
18px
51px
;
background
:
#ffffff
;
...
...
@@ -164,10 +168,10 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
color
:
#999999
;
}
.value
{
font-size
:
16px
;
font-weight
:
bold
;
font-size
:
14px
;
line-height
:
100%
;
color
:
#333333
;
color
:
#333
;
font-family
:
Source
Han
Sans
CN
;
margin-top
:
8px
;
&
.active
{
color
:
#1ab226
;
...
...
src/modules/resource/other/components/ViewTop.vue
浏览文件 @
99064593
...
...
@@ -54,6 +54,16 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
<div
class=
"value active"
>
{{
props
.
data
?.
status_name
}}
</div>
</div>
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon3.png"
class=
"icons"
/>
<div
class=
"text-box"
>
<div
class=
"name"
>
创建时间
</div>
<div
class=
"value"
>
{{
props
.
data
?.
created_time
}}
</div>
</div>
</div>
</div>
<div
class=
"flex-box"
>
<div
class=
"i-items"
>
...
...
@@ -68,7 +78,7 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/
video-view-icon6
.png"
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/
course-view-icon13
.png"
class=
"icons"
/>
<div
class=
"text-box"
>
...
...
@@ -86,18 +96,6 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
<div
class=
"value"
>
{{
props
.
data
?.
knowledge_points
||
'暂无'
}}
</div>
</div>
</div>
</div>
<div
class=
"flex-box"
>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon3.png"
class=
"icons"
/>
<div
class=
"text-box"
>
<div
class=
"name"
>
创建时间
</div>
<div
class=
"value"
>
{{
props
.
data
?.
created_time
}}
</div>
</div>
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon4.png"
...
...
@@ -108,7 +106,6 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
<div
class=
"value"
>
{{
props
.
data
?.
updated_time
}}
</div>
</div>
</div>
<div
class=
"i-items"
></div>
</div>
</div>
</div>
...
...
@@ -135,21 +132,25 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
}
}
.info-items
{
// display: flex
;
// flex-wrap: wrap
;
padding-left
:
12px
;
padding
:
12px
0
;
display
:
flex
;
flex-direction
:
column
;
flex
:
1
;
.flex-box
{
display
:
flex
;
justify-content
:
flex-start
;
// justify-content: space-around
;
}
.i-items
:not
(
:last-child
)
{
border-right
:
1px
dashed
rgb
(
191
,
191
,
191
);
}
.i-items
{
width
:
30
%
;
width
:
25
%
;
display
:
flex
;
align-items
:
center
;
height
:
fit-content
;
margin-right
:
80px
;
margin-bottom
:
30px
;
padding-left
:
5%
;
.textarea-box
{
padding
:
18px
18px
51px
;
background
:
#ffffff
;
...
...
@@ -167,10 +168,10 @@ const fileType = ['doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'mp3', 'mp
color
:
#999999
;
}
.value
{
font-size
:
16px
;
font-weight
:
bold
;
font-size
:
14px
;
line-height
:
100%
;
color
:
#333333
;
color
:
#333
;
font-family
:
Source
Han
Sans
CN
;
margin-top
:
8px
;
&
.active
{
color
:
#1ab226
;
...
...
src/modules/resource/video/components/CardListItem.vue
浏览文件 @
99064593
...
...
@@ -32,18 +32,22 @@ const props: any = defineProps<{ data: object; tabIndex: string }>()
</div>
<div
class=
"item-b"
>
<div
class=
"time"
>
{{ props.data.updated_time }}
</div>
<div
class=
"tag"
v-if=
"tabIndex === '2'"
>
{{ props.data.department_public === '0' ? '未共享' : '已共享' }}
</div>
<div
class=
"tag"
v-if=
"tabIndex === '3'"
>
{{ props.data.platform_public === '0' ? '未共享' : '已共享' }}
</div>
<div
class=
"tag1"
v-if=
"tabIndex === '2'"
>
{{ props.data.department_public === '0' ? '未共享' : '已共享' }}
</div>
<div
class=
"tag1"
v-if=
"tabIndex === '3'"
>
{{ props.data.platform_public === '0' ? '未共享' : '已共享' }}
</div>
</div>
</div>
</div>
</template>
<
style
lang=
"scss"
scoped
>
.card-item
{
width
:
1
7
%
;
width
:
1
8
%
;
border-radius
:
6px
;
overflow
:
hidden
;
margin-right
:
2
0px
;
margin-right
:
1
0px
;
margin-bottom
:
20px
;
.card-item-top
{
height
:
170px
;
...
...
@@ -152,10 +156,11 @@ const props: any = defineProps<{ data: object; tabIndex: string }>()
line-height
:
100%
;
color
:
#999999
;
}
.tag
{
.tag
1
{
font-size
:
16px
;
line-height
:
100%
;
color
:
#999999
;
word-break
:
keep-all
;
}
}
}
...
...
src/modules/resource/video/components/ViewTop.vue
浏览文件 @
99064593
...
...
@@ -49,6 +49,16 @@ const props = defineProps(['data'])
<div
:class=
"props.data.status == '1' ? 'value active' : 'value'"
>
{{
props
.
data
.
status_name
}}
</div>
</div>
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon3.png"
class=
"icons"
/>
<div
class=
"text-box"
>
<div
class=
"name"
>
创建时间
</div>
<div
class=
"value"
>
{{
props
.
data
.
created_time
}}
</div>
</div>
</div>
</div>
<div
class=
"flex-box"
>
<div
class=
"i-items"
>
...
...
@@ -63,7 +73,7 @@ const props = defineProps(['data'])
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/
video-view-icon6
.png"
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/
course-view-icon13
.png"
class=
"icons"
/>
<div
class=
"text-box"
>
...
...
@@ -81,18 +91,6 @@ const props = defineProps(['data'])
<div
class=
"value"
>
{{
props
.
data
?.
knowledge_points
||
'暂无'
}}
</div>
</div>
</div>
</div>
<div
class=
"flex-box"
>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon3.png"
class=
"icons"
/>
<div
class=
"text-box"
>
<div
class=
"name"
>
创建时间
</div>
<div
class=
"value"
>
{{
props
.
data
.
created_time
}}
</div>
</div>
</div>
<div
class=
"i-items"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/video-view-icon4.png"
...
...
@@ -103,7 +101,6 @@ const props = defineProps(['data'])
<div
class=
"value"
>
{{
props
.
data
.
updated_time
}}
</div>
</div>
</div>
<div
class=
"i-items"
></div>
</div>
</div>
</div>
...
...
@@ -130,21 +127,25 @@ const props = defineProps(['data'])
}
}
.info-items
{
// display: flex;
// flex-wrap: wrap;
padding-left
:
12px
;
display
:
flex
;
flex-direction
:
column
;
flex
:
1
;
padding
:
12px
0
;
.flex-box
{
display
:
flex
;
justify-content
:
flex-start
;
justify-content
:
space-around
;
}
.i-items
:not
(
:last-child
)
{
border-right
:
1px
dashed
rgb
(
191
,
191
,
191
);
}
.i-items
{
width
:
30
%
;
width
:
25
%
;
display
:
flex
;
align-items
:
center
;
height
:
fit-content
;
margin-right
:
80px
;
margin-bottom
:
30px
;
padding-left
:
5%
;
.textarea-box
{
padding
:
18px
18px
51px
;
background
:
#ffffff
;
...
...
@@ -160,13 +161,13 @@ const props = defineProps(['data'])
.name
{
font-size
:
14px
;
line-height
:
100%
;
color
:
#999
999
;
color
:
#999
;
}
.value
{
font-size
:
16px
;
font-weight
:
bold
;
font-size
:
14px
;
line-height
:
100%
;
color
:
#333333
;
color
:
#333
;
font-family
:
Source
Han
Sans
CN
;
margin-top
:
8px
;
&
.active
{
color
:
#1ab226
;
...
...
src/modules/resource/video/views/List.vue
浏览文件 @
99064593
...
...
@@ -177,9 +177,9 @@ const changeCard = () => {
<
style
lang=
"scss"
scoped
>
.card-list
{
background
:
#fafafa
;
padding
:
20px
;
display
:
flex
;
flex-wrap
:
wrap
;
padding
:
20px
0
;
}
.video-head
{
position
:
relative
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论