Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
holo-web
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
xinkong
holo-web
Commits
6db9c5f7
Commit
6db9c5f7
authored
Dec 18, 2023
by
ninglx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大屏场景部分页面调整
parent
ca9c0ab8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
58 deletions
+22
-58
routes.js
wj-data-vision/src/config/routes.js
+0
-1
index.vue
wj-data-vision/src/views/mobileBaseStation/left/index.vue
+3
-4
modelMap.vue
wj-data-vision/src/views/mobileBaseStation/left/modelMap.vue
+5
-6
index.vue
wj-data-vision/src/views/mobileBaseStation/right/index.vue
+3
-2
index.vue
wj-data-vision/src/views/phaseAirPlay/left/index.vue
+6
-30
index.vue
wj-data-vision/src/views/slowTraffic/left/index.vue
+4
-8
index.vue
wj-data-vision/src/views/slowTraffic/right/index.vue
+1
-7
No files found.
wj-data-vision/src/config/routes.js
View file @
6db9c5f7
...
...
@@ -15,5 +15,4 @@ export default [
// component: (resolve) => require(['@/views/home/index'], resolve),
component
:
(
resolve
)
=>
require
([
'
@/views/home/index
'
],
resolve
),
},
]
wj-data-vision/src/views/mobileBaseStation/left/index.vue
View file @
6db9c5f7
<
template
>
<div
class=
"home-left"
>
<msg-card
title=
"可移动智慧基站"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column;
justify-content: space-between
"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column;"
>
<local-camera
:border=
"true"
ref=
"videoItemL"
class=
"videoItem"
v-for=
"(item,key) of [1,2]"
:key=
"key"
:video-data=
"`kydjz_$
{item}`"/>
</div>
<!--
<w-map
ref=
"mobileMap"
map-id=
"mobile"
/>
-->
<!--
<camera-video
class=
"video-mobile"
:auto-play=
"true"
:video-data=
"'http://192.168.2.80/live?app=demo&stream=car3d-1'"
/>
-->
</msg-card>
</div>
</
template
>
...
...
@@ -241,7 +239,8 @@ export default {
justify-content: space-between;
.videoItem {
width: 100%;
height: 49%;
aspect-ratio: 4/3;
margin-bottom: 20px;
position: relative;
}
...
...
wj-data-vision/src/views/mobileBaseStation/left/modelMap.vue
View file @
6db9c5f7
<
template
>
<div
class=
"model_map"
>
<!--
<div
id=
"modelMap"
style=
"height: 100%; width: 100%"
></div>
-->
<!--
<w-map
ref=
"modelMap"
map-id=
"model_map"
/>
-->
<model-map-c
ref=
"modelMap"
map-id=
"model_map"
/>
</div>
</
template
>
...
...
@@ -81,10 +79,11 @@ export default {
<
style
lang=
'less'
scoped
>
.model_map {
position: absolute;
left: 7
1
0px;
top:
8
0px;
height: 300
px
;
width: 200
px
;
left: 7
3
0px;
top:
9
0px;
height: 300
PX
;
width: 200
PX
;
background-color: transparent;
pointer-events: none;
}
</
style
>
\ No newline at end of file
wj-data-vision/src/views/mobileBaseStation/right/index.vue
View file @
6db9c5f7
<
template
>
<div
class=
"home-right"
>
<msg-card
title=
"可移动基站"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column;
justify-content: space-between
"
>
<div
style=
"height: 100%; width: 100%; display: flex;flex-direction: column;"
>
<local-camera
ref=
"videoItemR"
:border=
"true"
class=
"videoItem"
v-for=
"(item,index) of [3,4]"
:key=
"index"
:video-data=
"`kydjz_$
{item}`"/>
</div>
</msg-card>
...
...
@@ -44,7 +44,8 @@ export default {
<
style
lang=
'less'
scoped
>
.videoItem {
width: 100%;
height: 49%;
aspect-ratio: 4/3;
margin-bottom: 20px;
position: relative;
}
...
...
wj-data-vision/src/views/phaseAirPlay/left/index.vue
View file @
6db9c5f7
...
...
@@ -3,9 +3,7 @@
<div
class=
"topI"
>
<msg-card
title=
"路口现场监控"
>
<div
class=
"videos"
>
<!--
<local-camera
ref=
"videoItem"
class=
"videoItem"
v-for=
"item of 4"
:video-data=
"`xwkf_$
{item}`"/>-->
<local-camera
ref=
"videoItem"
class=
"videoItem"
v-for=
"item of [3]"
:video-data=
"`xwkf_$
{item}`"/>
<!--
<camera-video
class=
"videoItem"
:auto-play=
"true"
v-for=
"item of cameras"
:video-data=
"item.videoUrl"
/>
-->
<local-camera
ref=
"videoItem"
class=
"videoItem"
v-for=
"(item,index) of [3]"
:key=
"index"
:video-data=
"`xwkf_$
{item}`"/>
<span
class=
"top-left"
></span>
<span
class=
"top-right"
></span>
<span
class=
"bottom-left"
></span>
...
...
@@ -16,15 +14,7 @@
<div
class=
"bottomI"
>
<msg-card
class=
"m-b-10"
title=
"相位监测"
>
<div
class=
"messages"
>
<!--
<div
class=
"message-title"
>
-->
<!-- <!–
<span>
检测时间段:
{{
content
.
timeBetween
}}
</span>
–>
-->
<!-- <!–
<span>
是否有空放:
{{
content
.
ifPhase
?
'
是
'
:
'
否
'
}}
</span>
–>
-->
<!--
<div
class=
"option"
>
检测时间段:
<span>
{{
content
.
timeBetween
}}
</span></div>
-->
<!--
<div
class=
"option"
>
是否有空放:
<span>
{{
content
.
ifPhase
?
'
是
'
:
'
否
'
}}
</span></div>
-->
<!--
</div>
-->
<div
class=
"message-title"
>
<!--
<span>
检测时间段:
{{
content
.
timeBetween
}}
</span>
-->
<!--
<span>
是否有空放:
{{
content
.
ifPhase
?
'
是
'
:
'
否
'
}}
</span>
-->
检测时间段:
<span>
{{
content
.
timeBetween
}}
</span>
</div>
<div
class=
"message-title"
>
...
...
@@ -61,12 +51,6 @@ export default {
};
},
mounted
()
{
// 1事故场景 2相位空放 3直左冲突 4慢行交通 5危险驾驶
// getCameraListByType({type: 2}).then(res => {
// console.log('cameraList', res)
// this.cameras = res.content
// })
},
methods
:
{
startVideo
(
time
)
{
...
...
@@ -232,10 +216,8 @@ export default {
padding: 15px 25px;
display: flex;
flex-direction: column;
justify-content: space-between;
.topI {
height: 385px;
margin-bottom: 15px;
.videos {
...
...
@@ -245,18 +227,16 @@ export default {
align-items: stretch;
position: relative;
flex-flow: row wrap;
height: 100%;
.videoItem {
aspect-ratio: 4/3;
width: 100%;
height: 100%;
position: relative;
}
}
}
.bottomI {
flex: 1;
.messages {
font-size: 18px;
...
...
@@ -267,17 +247,13 @@ export default {
justify-content: space-around;
.message-title {
margin-bottom: 28px;
display: flex;
justify-content: space-between;
.option {
width: 50%;
display: flex;
//span {
// display: inline-block;
// width: 60%;
//}
}
span {
...
...
@@ -290,15 +266,15 @@ export default {
}
.message-describe {
display: flex;
.label {
width: 100px;
}
.value-image {
width: 491px;
height: 373px;
margin-top: 28px;
width: 100%;
height: 437px;
background-image: url("../../../assets/images/sc/kf.png");
background-size: 100% 100%;
border: 1px solid #0d7fd7;
...
...
wj-data-vision/src/views/slowTraffic/left/index.vue
View file @
6db9c5f7
...
...
@@ -3,9 +3,7 @@
<div
class=
"topI"
>
<msg-card
title=
"慢行交通现场监控"
>
<div
class=
"videos"
>
<!--
<local-camera
ref=
"videoItem"
class=
"videoItem"
v-for=
"item of 4"
:video-data=
"`mxjt_$
{item}`"/>-->
<local-camera
ref=
"videoItem"
class=
"videoItem"
v-for=
"item of [1]"
:video-data=
"`mxjt_$
{item}`"/>
<!--
<camera-video
:auto-play=
"true"
class=
"videoItem"
v-for=
"item of cameras"
:video-data=
"item.videoUrl"
/>
-->
<local-camera
ref=
"videoItem"
class=
"videoItem"
v-for=
"(item,index) of [1]"
:key=
"index"
:video-data=
"`mxjt_$
{item}`"/>
<span
class=
"top-left"
></span>
<span
class=
"top-right"
></span>
<span
class=
"bottom-left"
></span>
...
...
@@ -16,7 +14,7 @@
<div
class=
"bottomI"
>
<msg-card
class=
"m-b-10"
title=
"慢行交通报警"
>
<div
class=
"cardInner"
>
<div
class=
"optionItem"
v-for=
"
item of dangerOptions
"
>
<div
class=
"optionItem"
v-for=
"
(item,index) of dangerOptions"
:key=
"index
"
>
<div
class=
"leftIcon"
:class=
"`danger$
{item.type}`">
</div>
<div
class=
"rightDetail"
>
<div
class=
"rightInner"
>
...
...
@@ -249,10 +247,9 @@ export default {
padding: 15px 25px;
display: flex;
flex-direction: column;
justify-content: space-between;
.topI {
height:
385px
;
height:
auto
;
margin-bottom: 15px;
.videos {
...
...
@@ -262,11 +259,10 @@ export default {
align-items: stretch;
position: relative;
flex-flow: row wrap;
height: 100%;
.videoItem {
width: 100%;
height: 100%
;
aspect-ratio: 4/3
;
position: relative;
}
}
...
...
wj-data-vision/src/views/slowTraffic/right/index.vue
View file @
6db9c5f7
...
...
@@ -10,7 +10,6 @@
<el-table-column
align=
"center"
prop=
"time"
width=
"270"
label=
"日期时间"
>
</el-table-column>
<el-table-column
...
...
@@ -34,7 +33,6 @@
<el-table-column
align=
"center"
prop=
"time"
width=
"270"
label=
"日期时间"
>
</el-table-column>
<el-table-column
...
...
@@ -143,10 +141,6 @@ export default {
margin: 0
}
::v-deep .msg-card-content {
}
.top-left {
position: absolute;
left: -1px;
...
...
@@ -250,7 +244,7 @@ export default {
}
::v-deep .el-table tbody tr:hover > td {
background-color: transparent;
background-color: transparent
!important
;
}
::v-deep .el-table__body tr.current-row > td {
...
...
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