Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-professional-exam
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
com.pica.cloud.education.frontend
pica-professional-exam
提交
18dfe3a6
提交
18dfe3a6
编写于
8月 31, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
讨论问题等
上级
f3c894e1
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
15 行增加
和
4 行删除
+15
-4
course-comment.vue
src/components/course/course-comment.vue
+10
-2
course-ware.vue
src/components/course/course-ware.vue
+5
-2
no_comment.png
src/images/course/no_comment.png
+0
-0
no-comment.png
src/images/no-comment.png
+0
-0
未找到文件。
src/components/course/course-comment.vue
浏览文件 @
18dfe3a6
<
template
>
<
template
>
<div
class=
"course-comment"
>
<div
class=
"course-comment"
>
<div
class=
"item"
v-for=
"(item, index) in comments"
:key=
"index"
>
<div
v-show=
"comments.length"
class=
"item"
v-for=
"(item, index) in comments"
:key=
"index"
>
<img
class=
"img"
:src=
"item.imageUrl || 'https://file.yunqueyi.com/File/doctor_default.png'"
alt=
"头像"
@
error=
"onAvatarError"
/>
<img
class=
"img"
:src=
"item.imageUrl || 'https://file.yunqueyi.com/File/doctor_default.png'"
alt=
"头像"
@
error=
"onAvatarError"
/>
<div
class=
"info-box"
>
<div
class=
"info-box"
>
<div
class=
"info-user"
>
<div
class=
"info-user"
>
...
@@ -23,6 +23,9 @@
...
@@ -23,6 +23,9 @@
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
<
div
v
-
show
=
"!comments.length"
>
<
img
class
=
"img-big"
src
=
"~@/images/course/no_comment.png"
alt
=
""
/>
<
/div>
<
div
class
=
"go-app"
@
click
=
"download"
>
<
div
class
=
"go-app"
@
click
=
"download"
>
<
span
>
打开
App
,查看更多讨论内容
<
/span
>
<
span
>
打开
App
,查看更多讨论内容
<
/span
>
<
/div
>
<
/div
>
...
@@ -91,7 +94,7 @@ export default {
...
@@ -91,7 +94,7 @@ export default {
display
:
flex
;
display
:
flex
;
font
-
size
:
14
px
;
font
-
size
:
14
px
;
padding
:
20
px
0
;
padding
:
20
px
0
;
&
::
after
{
&
::
after
{
position
:
absolute
;
position
:
absolute
;
content
:
""
;
content
:
""
;
left
:
0
;
left
:
0
;
...
@@ -103,6 +106,11 @@ export default {
...
@@ -103,6 +106,11 @@ export default {
border
-
bottom
:
1
px
solid
#
F0F0F0
;
border
-
bottom
:
1
px
solid
#
F0F0F0
;
}
}
}
}
.
img
-
big
{
display
:
block
;
width
:
100
px
;
margin
:
40
px
auto
5
px
;
}
.
img
{
.
img
{
display
:
block
;
display
:
block
;
width
:
32
px
;
width
:
32
px
;
...
...
src/components/course/course-ware.vue
浏览文件 @
18dfe3a6
...
@@ -84,6 +84,11 @@ export default {
...
@@ -84,6 +84,11 @@ export default {
canvas
.
height
=
viewport
.
height
;
canvas
.
height
=
viewport
.
height
;
canvas
.
style
.
display
=
'block'
;
canvas
.
style
.
display
=
'block'
;
canvas
.
style
.
width
=
'100%'
;
canvas
.
style
.
width
=
'100%'
;
if
(
!
this
.
visible
)
{
canvas
.
style
[
'-webkit-filter'
]
=
'blur(20px)'
;
canvas
.
style
.
filter
=
'blur(20px)'
;
}
let
ctx
=
canvas
.
getContext
(
"2d"
);
let
ctx
=
canvas
.
getContext
(
"2d"
);
let
renderTask
=
pdfPage
.
render
({
let
renderTask
=
pdfPage
.
render
({
canvasContext
:
ctx
,
canvasContext
:
ctx
,
...
@@ -100,8 +105,6 @@ export default {
...
@@ -100,8 +105,6 @@ export default {
cover
.
style
.
background
=
`url(
${
coverImg
}
) no-repeat center center`
;
cover
.
style
.
background
=
`url(
${
coverImg
}
) no-repeat center center`
;
cover
.
style
.
backgroundSize
=
'50px auto'
;
cover
.
style
.
backgroundSize
=
'50px auto'
;
// cover.style.backgroundColor = 'rgba(255, 255, 255, .98)';
// cover.style.backgroundColor = 'rgba(255, 255, 255, .98)';
cover
.
style
[
'-webkit-filter'
]
=
'blur(20px)'
;
cover
.
style
.
filter
=
'blur(20px)'
;
cover
.
onclick
=
()
=>
{
cover
.
onclick
=
()
=>
{
if
(
!
this
.
$store
.
getters
.
logged
)
{
if
(
!
this
.
$store
.
getters
.
logged
)
{
this
.
$store
.
dispatch
(
'goLogin'
);
this
.
$store
.
dispatch
(
'goLogin'
);
...
...
src/images/course/no_comment.png
0 → 100755
浏览文件 @
18dfe3a6
1.2 KB
src/images/no-comment.png
0 → 100755
浏览文件 @
18dfe3a6
1.2 KB
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录