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
f33ab31b
Commit
f33ab31b
authored
Oct 10, 2024
by
张伯涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏模块bug修改
parent
d0036932
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
screenDisplay.vue
src/components/screenDisplay.vue
+7
-2
videoComponents.vue
src/components/videoComponents.vue
+2
-1
videoComponentsTwo.vue
src/components/videoComponentsTwo.vue
+1
-1
No files found.
src/components/screenDisplay.vue
View file @
f33ab31b
...
...
@@ -493,7 +493,7 @@ import AMapLoader from "@amap/amap-jsapi-loader";
<div
class=
"videoInfo"
v-show=
"videoOpen"
>
<div
class=
"alarmInfo_header"
>
<div
class=
"alarmInfo_title"
>
换热站监控
</div>
<div
class=
"alarmInfo_close"
@
click=
"handleVideoClose"
>
X
</div>
<div
v-if=
"showVideoClose === true"
class=
"alarmInfo_close"
@
click=
"handleVideoClose"
>
X
</div>
</div>
<div
v-if=
"videoAllLoading"
class=
"videoLoading-overlayAll"
>
<div
class=
"videoLoading-spinner"
></div>
...
...
@@ -592,6 +592,7 @@ export default defineComponent({
return
{
videoLoading
:
false
,
videoAllLoading
:
false
,
showVideoClose
:
false
,
videoNum
:
0
,
queryParams
:
''
,
divWidth
:
''
,
...
...
@@ -3026,8 +3027,8 @@ export default defineComponent({
this
.
videoLoading
=
false
},
handleInitSuccessAll
()
{
console
.
log
(
'value2222222222222'
,
this
.
videoOpen
)
this
.
videoAllLoading
=
false
this
.
showVideoClose
=
true
},
getGYTransferVideo2
()
{
this
.
videoNum
=
0
...
...
@@ -3081,6 +3082,7 @@ export default defineComponent({
},
// 关闭更多视频弹窗
handleVideoClose
()
{
this
.
showVideoClose
=
false
this
.
queryParamsAll
=
''
this
.
stopParamsAll
+=
1
this
.
videoOpen
=
false
...
...
@@ -3088,6 +3090,7 @@ export default defineComponent({
videoList
.
push
(
this
.
VideoInfo
.
playVideoList
[
this
.
videoNum
])
this
.
getDivWidth
()
this
.
queryParams
=
JSON
.
stringify
(
videoList
)
this
.
videoLoading
=
true
},
// 下一个视频
nextVideo
()
{
...
...
@@ -3100,6 +3103,7 @@ export default defineComponent({
const
videoList
=
[]
videoList
.
push
(
this
.
VideoInfo
.
playVideoList
[
this
.
videoNum
])
this
.
queryParams
=
JSON
.
stringify
(
videoList
)
this
.
videoLoading
=
true
},
// 上一个视频
PreviousVideo
()
{
...
...
@@ -3112,6 +3116,7 @@ export default defineComponent({
const
videoList
=
[]
videoList
.
push
(
this
.
VideoInfo
.
playVideoList
[
this
.
videoNum
])
this
.
queryParams
=
JSON
.
stringify
(
videoList
)
this
.
videoLoading
=
true
},
// 获取港益换热站实时能耗数据
handleGetGYTransferRealData
()
{
...
...
src/components/videoComponents.vue
View file @
f33ab31b
...
...
@@ -75,6 +75,7 @@ onActivated(()=>{
// showPlay();
})
onDeactivated
(()
=>
{
console
.
log
(
'跳跳跳'
)
hidePlay
();
})
...
...
@@ -106,7 +107,7 @@ const pProps = defineProps({
required
:
true
,
},
stopParams
:
{
type
:
String
,
type
:
Number
,
required
:
true
,
}
});
...
...
src/components/videoComponentsTwo.vue
View file @
f33ab31b
...
...
@@ -98,7 +98,7 @@ const pProps = defineProps({
required
:
true
,
},
stopParams
:
{
type
:
String
,
type
:
Number
,
required
:
true
,
}
});
...
...
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