Commit a98cd680 authored by ninglx's avatar ninglx

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

parent 43a70f45
// 组群场景 // 组群场景
const situation_intersectionGroups = { const situation_intersectionGroups = {
cameras: [ 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", cameraName: "人民路与湘江中路",
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",
wkt: "112.96368395220804,28.19156318275813", wkt: "112.96368395220804,28.19156318275813",
isShow: true, isShow: true,
online: false, online: false,
...@@ -34,8 +34,8 @@ const situation_mobileBaseStation = { ...@@ -34,8 +34,8 @@ const situation_mobileBaseStation = {
const situation_accident = { const situation_accident = {
videos: [ videos: [
"/cdn/video/sgcj_3.mp4", "/cdn/video/sgcj_3.mp4",
"/cdn/video/sgcj_3.mp4", "/cdn/video/sgcj_5.mp4",
"/cdn/video/sgcj_3.mp4" "/cdn/video/sgcj_6.mp4"
], ],
// 地图中高亮事故车辆及其详情弹窗 // 地图中高亮事故车辆及其详情弹窗
accidentVehicles: [ accidentVehicles: [
...@@ -76,7 +76,7 @@ const situation_accident = { ...@@ -76,7 +76,7 @@ const situation_accident = {
const situation_dangerousDriving = { const situation_dangerousDriving = {
videos:[ videos:[
"/cdn/video/wxjs_3.mp4", "/cdn/video/wxjs_3.mp4",
"/cdn/video/wxjs_3.mp4", "/cdn/video/wxjs_5.mp4",
], ],
// 参与危险驾驶的车辆 (在地图中高亮 // 参与危险驾驶的车辆 (在地图中高亮
dangerVehicles: [ dangerVehicles: [
...@@ -137,7 +137,7 @@ const situation_dangerousDriving = { ...@@ -137,7 +137,7 @@ const situation_dangerousDriving = {
}; };
// 相位空放场景 // 相位空放场景
const situation_phaseAirPlay = { const situation_phaseAirPlay = {
videos:["/cdn/video/xykf_3.mp4"], videos:["/cdn/video/xwkf_3.mp4"],
// 相位监测 // 相位监测
monitor:{ monitor:{
timeBetween: "2023.4.9 17:21:09 ~ 17:27:09", timeBetween: "2023.4.9 17:21:09 ~ 17:27:09",
...@@ -159,7 +159,7 @@ const situation_phaseAirPlay = { ...@@ -159,7 +159,7 @@ const situation_phaseAirPlay = {
}; };
// 慢行交通场景 // 慢行交通场景
const situation_slowTraffic = { const situation_slowTraffic = {
videos:["/cdn/video/mxjt_3.mp4"], videos:["/cdn/video/mxjt_1.mp4"],
// 参与慢行交通的id (在地图上高亮 // 参与慢行交通的id (在地图上高亮
slowIds: [ slowIds: [
"457802", "457802",
......
...@@ -48,7 +48,8 @@ export default { ...@@ -48,7 +48,8 @@ export default {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100%; height: 100%;
aspect-ratio: 4/3; object-fit: fill;
// aspect-ratio: 4/3;
padding: 1px; padding: 1px;
} }
} }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
element-loading-background="rgba(0, 0, 0, 0.8)"> element-loading-background="rgba(0, 0, 0, 0.8)">
<wMap :mapId="'situation-map'" ref="wMap"/> <wMap :mapId="'situation-map'" ref="wMap"/>
<home-left ref="leftVideo"/> <home-left ref="leftVideo"/>
<home-right ref="rightVideo"/> <!-- <home-right ref="rightVideo"/> -->
</div> </div>
</template> </template>
...@@ -224,11 +224,11 @@ export default { ...@@ -224,11 +224,11 @@ export default {
new Date(msg[0].dateTime).getTime() < new Date(msg[0].dateTime).getTime() <
new Date(this.lastLocation[0].dateTime).getTime()) { new Date(this.lastLocation[0].dateTime).getTime()) {
this.$refs.leftVideo.startVideo() this.$refs.leftVideo.startVideo()
this.$refs.rightVideo.startVideo() // this.$refs.rightVideo.startVideo()
} }
if (this.msgStart) { if (this.msgStart) {
this.$refs.leftVideo.startVideo(); this.$refs.leftVideo.startVideo();
this.$refs.rightVideo.startVideo(); // this.$refs.rightVideo.startVideo();
this.msgStart = false; this.msgStart = false;
} }
......
...@@ -254,6 +254,7 @@ export default { ...@@ -254,6 +254,7 @@ export default {
.videoItem { .videoItem {
height: 100%; height: 100%;
width: 100%;
aspect-ratio: 4/3; aspect-ratio: 4/3;
position: relative; 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