Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web-project
Project
Project
Details
Activity
Releases
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
海康威视
web-project
Commits
5380562d
Commit
5380562d
authored
Oct 09, 2024
by
hubaoshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏
parent
215c2780
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
4 deletions
+24
-4
screenDisplay.vue
src/components/screenDisplay.vue
+24
-4
No files found.
src/components/screenDisplay.vue
View file @
5380562d
...
@@ -2966,13 +2966,31 @@ export default defineComponent({
...
@@ -2966,13 +2966,31 @@ export default defineComponent({
// id: '9C9D13FA-BA07-4394-8441-55F98F160EDA'
// id: '9C9D13FA-BA07-4394-8441-55F98F160EDA'
}
}
GYTransferVideo
(
params
).
then
(
res
=>
{
GYTransferVideo
(
params
).
then
(
res
=>
{
// 我加了判断
if
(
res
.
success
===
false
){
ElMessage
({
message
:
res
.
data
,
type
:
'warning'
});
}
this
.
showVideo
=
true
this
.
showVideo
=
true
const
list
=
res
.
data
const
list
=
res
.
data
this
.
VideoInfo
.
playVideoList
=
[]
this
.
VideoInfo
.
playVideoList
=
[]
// 检查 list 是否为数组
if
(
Array
.
isArray
(
list
))
{
this
.
VideoInfo
.
playVideoList
=
[];
list
.
forEach
(
video
=>
{
list
.
forEach
(
video
=>
{
var
videoId
=
video
.
videoId
.
replaceAll
(
'-'
,
''
);
var
videoId
=
video
.
videoId
.
replaceAll
(
'-'
,
''
);
this
.
VideoInfo
.
playVideoList
.
push
(
videoId
);
this
.
VideoInfo
.
playVideoList
.
push
(
videoId
);
})
});
}
// list.forEach(video => {
// var videoId = video.videoId.replaceAll('-', '');
// this.VideoInfo.playVideoList.push(videoId);
// })
const
videoList
=
[]
const
videoList
=
[]
videoList
.
push
(
this
.
VideoInfo
.
playVideoList
[
this
.
videoNum
])
videoList
.
push
(
this
.
VideoInfo
.
playVideoList
[
this
.
videoNum
])
this
.
getDivWidth
()
this
.
getDivWidth
()
...
@@ -4076,12 +4094,14 @@ export default defineComponent({
...
@@ -4076,12 +4094,14 @@ export default defineComponent({
background-color
:
#6D6E73
;
background-color
:
#6D6E73
;
color
:
white
;
color
:
white
;
border
:
1px
solid
#6D6E73
;
border
:
1px
solid
#6D6E73
;
padding
:
2px
18px
;
//padding: 2px 18px;
padding
:
2px
32px
2px
4px
;
}
}
.normalBtn
{
.normalBtn
{
cursor
:
pointer
;
cursor
:
pointer
;
border
:
1px
solid
#6D6E73
;
border
:
1px
solid
#6D6E73
;
padding
:
2px
18px
;
padding
:
2px
32px
2px
4px
;
//padding: 2px 18px;
background-color
:
white
;
background-color
:
white
;
color
:
#6D6E73
;
color
:
#6D6E73
;
}
}
...
...
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