Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
C
crsf-ptvue
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
wuhan
crsf-ptvue
Commits
d9beaac5
Commit
d9beaac5
authored
Sep 28, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:视频监控
parent
0a595166
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
index.vue
src/layout/header-aside/components/line-header/index.vue
+1
-1
index.vue
src/pages/monitor/monitor/index.vue
+4
-3
No files found.
src/layout/header-aside/components/line-header/index.vue
View file @
d9beaac5
...
...
@@ -192,7 +192,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.line-warp
{
height
:
60
px
;
height
:
105
px
;
background-image
:
url(../../imgs/bg-b.png)
;
background-size
:
100%
100%
!
important
;
padding
:
0
15px
;
...
...
src/pages/monitor/monitor/index.vue
View file @
d9beaac5
...
...
@@ -660,7 +660,7 @@ export default {
this
.
videoList
.
size
=
4
this
.
videoButtonSta
=
4
}
this
.
colHeight
=
'height:'
+
(
755
/
this
.
videoList
.
size
-
3
)
+
'px'
this
.
colHeight
=
'height:'
+
(
(
this
.
currentHeight
-
95
)
/
this
.
videoList
.
size
-
3
)
+
'px'
if
(
this
.
videoList
.
list
.
length
==
10
)
{
//勾选中第十个,第九个必然会黑屏,现在写重新加载
//先把第九个给停掉,然后过一秒后,重新加载
...
...
@@ -773,8 +773,9 @@ export default {
this
.
videoButtonSta
=
4
}
if
(
pd
==
1
)
{
console
.
log
(
'pd标记如果为1,则证明改变了宫格数量:'
+
this
.
colHeight
+
'---:'
+
this
.
videoList
.
size
)
this
.
colHeight
=
'height:'
+
(
755
/
this
.
videoList
.
size
-
3
)
+
'px'
// console.log('pd标记如果为1,则证明改变了宫格数量:' + this.colHeight + '---:' + this.videoList.size)
this
.
colHeight
=
'height:'
+
((
this
.
currentHeight
-
95
)
/
this
.
videoList
.
size
-
3
)
+
'px'
var
arrPd
=
[]
//pd标记如果为1,则证明改变了宫格数量
for
(
let
i
=
0
;
i
<
this
.
videoList
.
signArr
.
length
;
i
++
)
{
...
...
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