@@ -152,14 +166,24 @@
margin-top: -4rem;
z-index: 11;
}
+ .split-screen {
+ width: 2rem;
+ height: 2rem;
+ cursor: pointer;
+ z-index: 11;
+ margin-top: -50px;
+ margin-right: 0.8rem;
+ }
}
> .content {
+ box-sizing: border-box;
display: flex;
flex-direction: column;
flex: 1 1 0;
width: 100%;
height: 0;
> .content {
+ box-sizing: border-box;
display: flex;
flex-direction: row;
// justify-content: space-around;
@@ -210,10 +234,41 @@
height: 100%;
width: 23rem;
}
- > .video {
- height: 66%;
- width: fit-content;
- z-index: 99;
+ > .middle {
+ height: 100%;
+ flex: 1;
+ display: flex;
+ flex-direction: column;
+ box-sizing: border-box;
+ > .video {
+ height: 66%;
+ // flex: 2;
+ width: 100%;
+ z-index: 99;
+ }
+ > .chart-area {
+ position: relative;
+ box-sizing: border-box;
+ flex: 1;
+ z-index: 99;
+ margin: 1rem 1rem 0 1rem;
+ background-image: var(--boxBg-img);
+ background-repeat: no-repeat;
+ background-size: 100% 100%;
+ background-position: center;
+ > .chart-area-title {
+ position: absolute;
+ color: #fcfcfc;
+ letter-spacing: 0.2rem;
+ white-space: noWrap;
+ font-weight: 600;
+ font-size: 1.2rem;
+ top: -0.8rem;
+ // 水平居中
+ left: 50%;
+ transform:translate(-50% , 0);
+ }
+ }
}
}
}
diff --git a/src/views/system/bsConfig/index.vue b/src/views/system/bsConfig/index.vue
index fefded1..3ad031b 100644
--- a/src/views/system/bsConfig/index.vue
+++ b/src/views/system/bsConfig/index.vue
@@ -155,8 +155,8 @@
// 保存配置
const saveConfig = () => {
- // if (configData.value.length !== 6) {
- // ElMessage.warning('请配置6条数据')
+ // if (configData.value.length !== 4) {
+ // ElMessage.warning('请配置4条数据')
// return false
// }
ElMessageBox.confirm(
diff --git a/public/config/config.json b/public/config/config.json
index 4fe0577..172fbfb 100644
--- a/public/config/config.json
+++ b/public/config/config.json
@@ -9,7 +9,7 @@
"minZoom": "1",
"maxZoom": "18",
"zoom": "15",
- "timeGap": 3000,
+ "timeGap": 600000,
"systemType": "gm",
"lineWidth": "3",
"lineColor": "#1aa034",
diff --git a/public/playerVideo6/player.html b/public/playerVideo6/player.html
index fde2e2e..21eb277 100644
--- a/public/playerVideo6/player.html
+++ b/public/playerVideo6/player.html
@@ -26,8 +26,8 @@
2
3
4
-
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/bigScreen/components/dangerCategory.vue b/src/views/bigScreen/components/dangerCategory.vue
index b62edf2..013bff1 100644
--- a/src/views/bigScreen/components/dangerCategory.vue
+++ b/src/views/bigScreen/components/dangerCategory.vue
@@ -23,19 +23,19 @@
value: '--',
name: '危险源',
},
- {
- value: '--',
- name: '危险化学品场所',
- },
- {
- value: '--',
- name: '危险作业',
- },
- {
- value: '--',
- name: '危险作业工序',
- imageUrl: '@/assets/bigScreen/work.png',
- },
+ // {
+ // value: '--',
+ // name: '危险化学品场所',
+ // },
+ // {
+ // value: '--',
+ // name: '危险作业',
+ // },
+ // {
+ // value: '--',
+ // name: '危险作业工序',
+ // imageUrl: '@/assets/bigScreen/work.png',
+ // },
])
const numbersDom: any = ref(null)
const loading = ref(false)
@@ -84,31 +84,33 @@
value: Number(res.data.dangerSource),
name: '危险源',
},
- {
- value: Number(res.data.chemistryPlace),
- name: '危险化学品场所',
- },
- {
- value: Number(res.data.work),
- name: '危险作业',
- },
- {
- value: Number(res.data.workProcesses),
- name: '危险作业工序',
- },
+ // {
+ // value: Number(res.data.chemistryPlace),
+ // name: '危险化学品场所',
+ // },
+ // {
+ // value: Number(res.data.work),
+ // name: '危险作业',
+ // },
+ // {
+ // value: Number(res.data.workProcesses),
+ // name: '危险作业工序',
+ // },
]
- nextTick(() => {
- // 数字滚动
- const numbersDom = document.querySelectorAll('#number')
- numberAnimation(numbersDom)
- if (timer.value) {
- clearInterval(timer.value)
- }
- timer.value = setInterval(() => {
- numberAnimation(numbersDom)
- }, 5000)
- })
+ // nextTick(() => {
+ // // 数字滚动
+ // const numbersDom = document.querySelectorAll('#number')
+ // numberAnimation(numbersDom)
+ // if (timer.value) {
+ // clearInterval(timer.value)
+ // }
+ // timer.value = setInterval(() => {
+ // numberAnimation(numbersDom)
+ // }, 5000)
+ // })
}
+ console.log('隐患分类数据', data.value)
+
loading.value = false
}).catch(() => {
loading.value = false
@@ -133,8 +135,9 @@
{{ item.name }}
-
+
{{ item.value }}
+
{{ item.value }}