Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-APP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
首开风险隐患双控平台
BCDH-APP
Commits
3e08cff0
Commit
3e08cff0
authored
Mar 16, 2022
by
罗新东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改隐患详情图片下方显示空白
parent
eee56bff
Pipeline
#8068
passed with stage
in 5 minutes and 14 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/components/video.vue
src/components/video.vue
+1
-1
src/views/danger/standBook/normalDetail.vue
src/views/danger/standBook/normalDetail.vue
+5
-0
No files found.
src/components/video.vue
View file @
3e08cff0
...
...
@@ -29,7 +29,7 @@ export default {
autoplay
:
true
,
// true:浏览器准备好时开始回放。
muted
:
false
,
// true:默认情况下将会消除任何音频。
language
:
"
zh-CN
"
,
//
aspectRatio: "16:9", // 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
aspectRatio
:
"
16:9
"
,
// 将播放器置于流畅模式,并在计算播放器的动态大小时使用该值。值应该代表一个比例 - 用冒号分隔的两个数字(例如"16:9"或"4:3")
fluid
:
true
,
// 当true时,Video.js player将拥有流体大小。换句话说,它将按比例缩放以适应其容器。
preload
:
'
auto
'
,
// 建议浏览器在加载元素后是否应该开始下载视频数据。auto浏览器选择最佳行为,立即开始加载视频(如果浏览器支持)
playbackRates
:
[
0.7
,
1.0
,
1.5
,
2.0
],
...
...
src/views/danger/standBook/normalDetail.vue
View file @
3e08cff0
...
...
@@ -837,6 +837,9 @@ export default {
}
},
},
beforeDestroy
(){
this
.
videoUrl
=
''
;
}
};
</
script
>
<
style
lang=
"less"
scoped
>
...
...
@@ -892,6 +895,8 @@ export default {
}
.detail_pic {
margin: 0 0.266667rem 0.266667rem 0;
height: 100px !important;
width: 100px !important;
float: left;
border-radius: 6px;
overflow: hidden;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment