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
972a7c56
Commit
972a7c56
authored
Oct 12, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏问题修改
parent
492cc354
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
113 additions
and
86 deletions
+113
-86
screenDisplay.vue
src/components/screenDisplay.vue
+31
-9
videoComponentsTwo.vue
src/components/videoComponentsTwo.vue
+82
-77
No files found.
src/components/screenDisplay.vue
View file @
972a7c56
...
@@ -508,16 +508,20 @@ import AMapLoader from "@amap/amap-jsapi-loader";
...
@@ -508,16 +508,20 @@ import AMapLoader from "@amap/amap-jsapi-loader";
</vue3ScrollSeamless>
</vue3ScrollSeamless>
</div>
</div>
</div>
</div>
<div
class=
"videoInfo"
v-show=
"videoOpen"
>
<div
v-show=
"videoOpen"
>
<div
class=
"alarmInfo_header"
>
<div
class=
"thirdLeftLayerDialog"
>
<div
class=
"alarmInfo_title"
>
{{
stationName
}}
</div>
<div
class=
"videoInfo"
ref=
"myDialogContainer"
>
<div
v-if=
"showVideoClose === true"
class=
"alarmInfo_close"
@
click=
"handleVideoClose"
>
X
</div>
<div
class=
"alarmInfo_header"
>
</div>
<div
class=
"alarmInfo_title"
>
{{
stationName
}}
</div>
<div
v-if=
"videoAllLoading"
class=
"videoLoading-overlayAll"
>
<div
v-if=
"showVideoClose === true"
class=
"alarmInfo_close"
@
click=
"handleVideoClose"
>
X
</div>
<div
class=
"videoLoading-spinner"
></div>
</div>
<p>
视频加载中,请稍后......
</p>
<div
v-if=
"videoAllLoading"
class=
"videoLoading-overlayAll"
>
<div
class=
"videoLoading-spinner"
></div>
<p>
视频加载中,请稍后......
</p>
</div>
<video-components-two
@
initSuccessAll=
"handleInitSuccessAll"
:divWidth=
"divDialogWidth"
:divHeight=
"divDialogHeight"
:queryParams=
"queryParamsAll"
:stopParams=
"stopParamsAll"
/>
</div>
</div>
</div>
<video-components-two
@
initSuccessAll=
"handleInitSuccessAll"
:queryParams=
"queryParamsAll"
:stopParams=
"stopParamsAll"
/>
</div>
</div>
<div
class=
"alarmInfo"
v-if=
"open"
>
<div
class=
"alarmInfo"
v-if=
"open"
>
<div
class=
"alarmInfo_header"
>
<div
class=
"alarmInfo_header"
>
...
@@ -3130,12 +3134,19 @@ export default defineComponent({
...
@@ -3130,12 +3134,19 @@ export default defineComponent({
this
.
divWidth
=
container
.
offsetWidth
*
0.9
;
// 获取元素的宽度,包括元素的padding,不包括border、margin和滚动条
this
.
divWidth
=
container
.
offsetWidth
*
0.9
;
// 获取元素的宽度,包括元素的padding,不包括border、margin和滚动条
this
.
divHeight
=
container
.
offsetHeight
*
0.8
;
// 获取元素的宽度,包括元素的padding,不包括border、margin和滚动条
this
.
divHeight
=
container
.
offsetHeight
*
0.8
;
// 获取元素的宽度,包括元素的padding,不包括border、margin和滚动条
},
},
getDivDialogWidth
()
{
console
.
log
(
'22222222222222222222222222222222222222'
,
window
.
innerWidth
)
console
.
log
(
'22222222222222222222222222222222222222'
,
window
.
innerHeight
)
this
.
divDialogWidth
=
window
.
innerWidth
*
0.9
;
// 获取元素的宽度,包括元素的padding,不包括border、margin和滚动条
this
.
divDialogHeight
=
window
.
innerHeight
*
0.8
;
// 获取元素的宽度,包括元素的padding,不包括border、margin和滚动条
},
// 更多视频
// 更多视频
moreVideo
()
{
moreVideo
()
{
this
.
videoOpen
=
true
this
.
videoOpen
=
true
this
.
videoAllLoading
=
true
this
.
videoAllLoading
=
true
this
.
queryParams
=
''
this
.
queryParams
=
''
this
.
stopParams
+=
1
this
.
stopParams
+=
1
this
.
getDivDialogWidth
()
this
.
queryParamsAll
=
JSON
.
stringify
(
this
.
VideoInfo
.
playVideoList
)
this
.
queryParamsAll
=
JSON
.
stringify
(
this
.
VideoInfo
.
playVideoList
)
},
},
// 关闭更多视频弹窗
// 关闭更多视频弹窗
...
@@ -4386,6 +4397,17 @@ export default defineComponent({
...
@@ -4386,6 +4397,17 @@ export default defineComponent({
bottom
:
5px
;
bottom
:
5px
;
/*border: rgba(129, 210, 230, 0.5) solid 1px;*/
/*border: rgba(129, 210, 230, 0.5) solid 1px;*/
}
}
.thirdLeftLayerDialog
{
z-index
:
11
;
position
:
absolute
;
width
:
100%
;
height
:
100%
;
/* background: linear-gradient(to bottom, rgba(29, 70, 128, 0.5), rgba(29, 70, 128, 0.9), rgba(29, 70, 128, 0.5)); */
/*background: linear-gradient(318deg,#1d4680 0%, #0d174c);*/
top
:
5px
;
left
:
5px
;
bottom
:
5px
;
}
.noVideoData
{
.noVideoData
{
color
:
white
;
color
:
white
;
text-align
:
center
;
text-align
:
center
;
...
...
src/components/videoComponentsTwo.vue
View file @
972a7c56
This diff is collapsed.
Click to expand it.
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