Commit a98cd680 authored by ninglx's avatar ninglx

调整大屏现有样式/数据问题

parent 43a70f45
// 组群场景
const situation_intersectionGroups = {
cameras: [
// {
// cameraName: "111111",
// wkt: "112.96371754974206,28.191567003656203",
// isShow: true, // 默认展示
// online: true,
// videoUrl: "http://192.168.2.78:9000/live?app=demo&stream=12",
// offset: [100, 100],
// },
{
cameraName: "111111",
wkt: "112.96371754974206,28.191567003656203",
isShow: true, // 默认展示
online: true,
videoUrl: "http://192.168.2.78:9000/live?app=demo&stream=12",
offset: [100, 100],
},
{
cameraName: "222222",
cameraName: "人民路与湘江中路",
wkt: "112.96368395220804,28.19156318275813",
isShow: true,
online: false,
......@@ -34,8 +34,8 @@ const situation_mobileBaseStation = {
const situation_accident = {
videos: [
"/cdn/video/sgcj_3.mp4",
"/cdn/video/sgcj_3.mp4",
"/cdn/video/sgcj_3.mp4"
"/cdn/video/sgcj_5.mp4",
"/cdn/video/sgcj_6.mp4"
],
// 地图中高亮事故车辆及其详情弹窗
accidentVehicles: [
......@@ -76,7 +76,7 @@ const situation_accident = {
const situation_dangerousDriving = {
videos:[
"/cdn/video/wxjs_3.mp4",
"/cdn/video/wxjs_3.mp4",
"/cdn/video/wxjs_5.mp4",
],
// 参与危险驾驶的车辆 (在地图中高亮
dangerVehicles: [
......@@ -137,7 +137,7 @@ const situation_dangerousDriving = {
};
// 相位空放场景
const situation_phaseAirPlay = {
videos:["/cdn/video/xykf_3.mp4"],
videos:["/cdn/video/xwkf_3.mp4"],
// 相位监测
monitor:{
timeBetween: "2023.4.9 17:21:09 ~ 17:27:09",
......@@ -159,7 +159,7 @@ const situation_phaseAirPlay = {
};
// 慢行交通场景
const situation_slowTraffic = {
videos:["/cdn/video/mxjt_3.mp4"],
videos:["/cdn/video/mxjt_1.mp4"],
// 参与慢行交通的id (在地图上高亮
slowIds: [
"457802",
......
......@@ -48,7 +48,8 @@ export default {
position: absolute;
width: 100%;
height: 100%;
aspect-ratio: 4/3;
object-fit: fill;
// aspect-ratio: 4/3;
padding: 1px;
}
}
......
......@@ -4,7 +4,7 @@
element-loading-background="rgba(0, 0, 0, 0.8)">
<wMap :mapId="'situation-map'" ref="wMap"/>
<home-left ref="leftVideo"/>
<home-right ref="rightVideo"/>
<!-- <home-right ref="rightVideo"/> -->
</div>
</template>
......@@ -224,11 +224,11 @@ export default {
new Date(msg[0].dateTime).getTime() <
new Date(this.lastLocation[0].dateTime).getTime()) {
this.$refs.leftVideo.startVideo()
this.$refs.rightVideo.startVideo()
// this.$refs.rightVideo.startVideo()
}
if (this.msgStart) {
this.$refs.leftVideo.startVideo();
this.$refs.rightVideo.startVideo();
// this.$refs.rightVideo.startVideo();
this.msgStart = false;
}
......
......@@ -254,6 +254,7 @@ export default {
.videoItem {
height: 100%;
width: 100%;
aspect-ratio: 4/3;
position: relative;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment