Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
193e5231
提交
193e5231
authored
6月 14, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
课件详情开发
上级
e731555f
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
58 行增加
和
45 行删除
+58
-45
List.vue
src/modules/admin/teacher/views/List.vue
+1
-1
CenterInfo.vue
src/modules/resource/courseware/components/CenterInfo.vue
+49
-43
List.vue
src/modules/system/cover/views/List.vue
+8
-1
没有找到文件。
src/modules/admin/teacher/views/List.vue
浏览文件 @
193e5231
...
...
@@ -80,7 +80,7 @@ const handleDetail = (row: any) => {
<el-image
:src=
"row.avatar"
alt=
""
style=
"width: 50px"
style=
"width: 50px
; height: 50px
"
:preview-src-list=
"[row.avatar]"
:initial-index=
"4"
fit=
"contain"
...
...
src/modules/resource/courseware/components/CenterInfo.vue
浏览文件 @
193e5231
<
script
setup
lang=
"ts"
>
const
props
=
defineProps
({
data
:
{
type
:
Object
,
require
:
true
}
})
</
script
>
<
template
>
<div
class=
"center-video-box"
>
<div
class=
"file-box"
>
<embed
width=
"812"
height=
"433"
src=
"https://vocational-store.oss-cn-beijing.aliyuncs.com/files/20210604/7b1bfdec10354da769461199acf55176.pdf"
>
</div>
<!--
<video
width=
"812"
height=
"433"
controls
>
<div
class=
"center-video-box"
>
<div
class=
"file-box"
>
<embed
width=
"812"
height=
"433"
:src=
"props.data?.url"
/
>
</div>
<!--
<video
width=
"812"
height=
"433"
controls
>
<source
src=
"https://video.shipin520.com/videos/17/36/71/b_KSyZ5ujXfz7R1567173671.mp4"
type=
"video/mp4"
>
</video>
-->
<div
class=
"right-statistics"
>
<div
class=
"stat-item"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/view-vicon1.png"
>
<div
class=
"content"
>
<div
class=
"unit"
>
758
<span>
个
</span></div>
<div
class=
"tag"
>
使用项目/学校
</div>
<div
class=
"right-statistics"
>
<div
class=
"stat-item"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/view-vicon1.png"
/>
<div
class=
"content"
>
<div
class=
"unit"
>
{{
props
.
data
?.
project_count
}}
<span>
个
</span></div>
<div
class=
"tag"
>
使用项目/学校
</div>
</div>
</div>
</div
>
<div
class=
"stat-item"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/view-vicon2.png
"
>
<div
class=
"content"
>
<div
class=
"unit"
>
758
<span>
个
</span>
</div>
<
div
class=
"tag"
>
使用课程
<
/div>
<div
class=
"stat-item"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/view-vicon2.png"
/
>
<div
class=
"content
"
>
<div
class=
"unit"
>
{{
props
.
data
?.
course_count
}}
<span>
个
</span></div
>
<div
class=
"tag"
>
使用课程
</div>
</div>
</div>
</div
>
<div
class=
"stat-item"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/view-vicon3.png
"
>
<div
class=
"content"
>
<div
class=
"unit"
>
758
<span>
个
</span>
</div>
<
div
class=
"tag"
>
累计学习人次
<
/div>
<div
class=
"stat-item"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/view-vicon3.png"
/
>
<div
class=
"content
"
>
<div
class=
"unit"
>
{{
props
.
data
?.
learn_count
}}
<span>
个
</span></div
>
<div
class=
"tag"
>
累计学习人次
</div>
</div>
</div>
</div
>
<div
class=
"stat-item"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/view-vicon4.png
"
>
<div
class=
"content"
>
<div
class=
"unit"
>
758
<span>
个
</span>
</div>
<
div
class=
"tag"
>
累计学习时长
<
/div>
<div
class=
"stat-item"
>
<img
src=
"https://webapp-pub.oss-cn-beijing.aliyuncs.com/center_resource/view-vicon4.png"
/
>
<div
class=
"content
"
>
<div
class=
"unit"
>
{{
props
.
data
?.
learn_time_count
}}
<span>
个
</span></div
>
<div
class=
"tag"
>
累计学习时长
</div>
</div>
</div>
</div>
</div>
</div>
</
template
>
<
style
lang=
"scss"
scoped
>
.center-video-box
{
.center-video-box
{
padding
:
20px
0
;
display
:
flex
;
.right-statistics
{
.right-statistics
{
flex
:
1
;
padding-top
:
15px
;
.stat-item
{
.stat-item
{
width
:
210px
;
height
:
85px
;
background
:
#
B41E
47
;
background
:
#
b41e
47
;
border-radius
:
6px
;
display
:
flex
;
align-items
:
center
;
margin
:
0
auto
20px
;
&
:nth-child
(
even
)
{
background
:
#
BF9D6B
;
&
:nth-child
(
even
)
{
background
:
#
bf9d6b
;
}
img
{
img
{
width
:
52px
;
height
:
52px
;
display
:
block
;
margin-left
:
18px
;
}
.content
{
.content
{
margin-left
:
18px
;
.unit
{
.unit
{
font-size
:
26px
;
line-height
:
100%
;
color
:
#
FFFFFF
;
span
{
color
:
#
ffffff
;
span
{
font-size
:
12px
;
line-height
:
100%
;
}
}
.tag
{
.tag
{
font-size
:
14px
;
line-height
:
100%
;
color
:
#
FFFFFF
;
color
:
#
ffffff
;
margin-top
:
10px
;
}
}
...
...
src/modules/system/cover/views/List.vue
浏览文件 @
193e5231
...
...
@@ -78,7 +78,14 @@ const handleEdit = (row: any) => {
<el-button
type=
"primary"
round
@
click=
"handleAdd"
style=
"margin-bottom: 20px"
>
新增封面
</el-button>
<
template
#
table-cover=
"{ row }"
>
<img
:src=
"row.url"
alt=
""
style=
"width: 50px"
/>
<el-image
:src=
"row.url"
style=
"width: 50px; height: 50px"
:preview-src-list=
"[row.url]"
:initial-index=
"4"
fit=
"contain"
:preview-teleported=
"true"
/>
</
template
>
<
template
#
table-operate=
"{ row }"
>
<el-space>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论