diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/src/views/oneMap/components/ZHQL.vue b/src/views/oneMap/components/ZHQL.vue index 02952bd..911104f 100644 --- a/src/views/oneMap/components/ZHQL.vue +++ b/src/views/oneMap/components/ZHQL.vue @@ -11,147 +11,10 @@ -
-
-
运行监测
-
-
-
- - 结构监测 -
-
-
-
-
挠度
-
-
-
-
位移
-
-
-
-
裂缝
-
-
-
-
-
-
振动
-
-
-
-
索力
-
-
-
-
应变
-
-
-
- -
- - 90 - -
-
-
-
-
- - 通行监测 -
-
- -
-
-
-
- - 负荷监测 -
-
-
- 方向 - 车牌 - 通行时间 - 载重 - 超重 -
-
-
- {{ - item.fx - }} - {{ - item.cp - }} - {{ - item.sj - }} - {{ - item.zz - }} - {{ - item.cz - }} -
-
-
-
-
-
-
-
检测评估
-
-
-  2023年 11月20日 - 最近一次检测 -
-
- 良好 - 整体工作性能 -
-
- 二类 - 技术状况等级 -
-
- 检测单位 - 陕西海嵘工程试验检测股份有限公司 -
-
-
+
+
-
+
{{ item.font }}
@@ -164,89 +27,16 @@ + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/src/views/oneMap/components/ZHQL.vue b/src/views/oneMap/components/ZHQL.vue index 02952bd..911104f 100644 --- a/src/views/oneMap/components/ZHQL.vue +++ b/src/views/oneMap/components/ZHQL.vue @@ -11,147 +11,10 @@
-
-
-
运行监测
-
-
-
- - 结构监测 -
-
-
-
-
挠度
-
-
-
-
位移
-
-
-
-
裂缝
-
-
-
-
-
-
振动
-
-
-
-
索力
-
-
-
-
应变
-
-
-
- -
- - 90 - -
-
-
-
-
- - 通行监测 -
-
- -
-
-
-
- - 负荷监测 -
-
-
- 方向 - 车牌 - 通行时间 - 载重 - 超重 -
-
-
- {{ - item.fx - }} - {{ - item.cp - }} - {{ - item.sj - }} - {{ - item.zz - }} - {{ - item.cz - }} -
-
-
-
-
-
-
-
检测评估
-
-
-  2023年 11月20日 - 最近一次检测 -
-
- 良好 - 整体工作性能 -
-
- 二类 - 技术状况等级 -
-
- 检测单位 - 陕西海嵘工程试验检测股份有限公司 -
-
-
+
+
-
+
{{ item.font }}
@@ -164,89 +27,16 @@ + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/src/views/oneMap/components/ZHQL.vue b/src/views/oneMap/components/ZHQL.vue index 02952bd..911104f 100644 --- a/src/views/oneMap/components/ZHQL.vue +++ b/src/views/oneMap/components/ZHQL.vue @@ -11,147 +11,10 @@
-
-
-
运行监测
-
-
-
- - 结构监测 -
-
-
-
-
挠度
-
-
-
-
位移
-
-
-
-
裂缝
-
-
-
-
-
-
振动
-
-
-
-
索力
-
-
-
-
应变
-
-
-
- -
- - 90 - -
-
-
-
-
- - 通行监测 -
-
- -
-
-
-
- - 负荷监测 -
-
-
- 方向 - 车牌 - 通行时间 - 载重 - 超重 -
-
-
- {{ - item.fx - }} - {{ - item.cp - }} - {{ - item.sj - }} - {{ - item.zz - }} - {{ - item.cz - }} -
-
-
-
-
-
-
-
检测评估
-
-
-  2023年 11月20日 - 最近一次检测 -
-
- 良好 - 整体工作性能 -
-
- 二类 - 技术状况等级 -
-
- 检测单位 - 陕西海嵘工程试验检测股份有限公司 -
-
-
+
+
-
+
{{ item.font }}
@@ -164,89 +27,16 @@ diff --git a/src/views/oneMap/components/mapboxPopup.vue b/src/views/oneMap/components/mapboxPopup.vue index 95ec03f..b5b6e5f 100644 --- a/src/views/oneMap/components/mapboxPopup.vue +++ b/src/views/oneMap/components/mapboxPopup.vue @@ -47,11 +47,11 @@
厂站类型:
{{ - allData.dataList.pumpType == "rain_water" - ? "雨水泵站" - : allData.dataList.pumpType == "sewage_water" - ? "污水泵站" - : "雨污合建" + allData.dataList.pumpType == 'rain_water' + ? '雨水泵站' + : allData.dataList.pumpType == 'sewage_water' + ? '污水泵站' + : '雨污合建' }}
@@ -60,22 +60,14 @@
{{ allData.dataList.buildArea }} ㎡
设计规模:
- {{ - allData.dataList.rainpump.designScaleSecond || - allData.dataList.sweagepump.designScaleSecond || - "--" - }} + {{ allData.dataList.rainpump.designScaleSecond || allData.dataList.sweagepump.designScaleSecond || '--' }} m³/s
+ +
+ +
diff --git a/src/views/oneMap/components/mapboxPopup.vue b/src/views/oneMap/components/mapboxPopup.vue index 95ec03f..b5b6e5f 100644 --- a/src/views/oneMap/components/mapboxPopup.vue +++ b/src/views/oneMap/components/mapboxPopup.vue @@ -47,11 +47,11 @@
厂站类型:
{{ - allData.dataList.pumpType == "rain_water" - ? "雨水泵站" - : allData.dataList.pumpType == "sewage_water" - ? "污水泵站" - : "雨污合建" + allData.dataList.pumpType == 'rain_water' + ? '雨水泵站' + : allData.dataList.pumpType == 'sewage_water' + ? '污水泵站' + : '雨污合建' }}
@@ -60,22 +60,14 @@
{{ allData.dataList.buildArea }} ㎡
设计规模:
- {{ - allData.dataList.rainpump.designScaleSecond || - allData.dataList.sweagepump.designScaleSecond || - "--" - }} + {{ allData.dataList.rainpump.designScaleSecond || allData.dataList.sweagepump.designScaleSecond || '--' }} m³/s
+ +
+ +
diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/src/views/oneMap/components/ZHQL.vue b/src/views/oneMap/components/ZHQL.vue index 02952bd..911104f 100644 --- a/src/views/oneMap/components/ZHQL.vue +++ b/src/views/oneMap/components/ZHQL.vue @@ -11,147 +11,10 @@
-
-
-
运行监测
-
-
-
- - 结构监测 -
-
-
-
-
挠度
-
-
-
-
位移
-
-
-
-
裂缝
-
-
-
-
-
-
振动
-
-
-
-
索力
-
-
-
-
应变
-
-
-
- -
- - 90 - -
-
-
-
-
- - 通行监测 -
-
- -
-
-
-
- - 负荷监测 -
-
-
- 方向 - 车牌 - 通行时间 - 载重 - 超重 -
-
-
- {{ - item.fx - }} - {{ - item.cp - }} - {{ - item.sj - }} - {{ - item.zz - }} - {{ - item.cz - }} -
-
-
-
-
-
-
-
检测评估
-
-
-  2023年 11月20日 - 最近一次检测 -
-
- 良好 - 整体工作性能 -
-
- 二类 - 技术状况等级 -
-
- 检测单位 - 陕西海嵘工程试验检测股份有限公司 -
-
-
+
+
-
+
{{ item.font }}
@@ -164,89 +27,16 @@ diff --git a/src/views/oneMap/smartBridge/LeftBox.vue b/src/views/oneMap/smartBridge/LeftBox.vue index f14c679..3343523 100644 --- a/src/views/oneMap/smartBridge/LeftBox.vue +++ b/src/views/oneMap/smartBridge/LeftBox.vue @@ -144,11 +144,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 160px); } .topWZ { width: 100%; - height: 130px; + height: 155px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -159,7 +159,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -177,7 +177,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -198,7 +198,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/src/views/oneMap/components/ZHQL.vue b/src/views/oneMap/components/ZHQL.vue index 02952bd..911104f 100644 --- a/src/views/oneMap/components/ZHQL.vue +++ b/src/views/oneMap/components/ZHQL.vue @@ -11,147 +11,10 @@
-
-
-
运行监测
-
-
-
- - 结构监测 -
-
-
-
-
挠度
-
-
-
-
位移
-
-
-
-
裂缝
-
-
-
-
-
-
振动
-
-
-
-
索力
-
-
-
-
应变
-
-
-
- -
- - 90 - -
-
-
-
-
- - 通行监测 -
-
- -
-
-
-
- - 负荷监测 -
-
-
- 方向 - 车牌 - 通行时间 - 载重 - 超重 -
-
-
- {{ - item.fx - }} - {{ - item.cp - }} - {{ - item.sj - }} - {{ - item.zz - }} - {{ - item.cz - }} -
-
-
-
-
-
-
-
检测评估
-
-
-  2023年 11月20日 - 最近一次检测 -
-
- 良好 - 整体工作性能 -
-
- 二类 - 技术状况等级 -
-
- 检测单位 - 陕西海嵘工程试验检测股份有限公司 -
-
-
+
+
-
+
{{ item.font }}
@@ -164,89 +27,16 @@ diff --git a/src/views/oneMap/smartBridge/LeftBox.vue b/src/views/oneMap/smartBridge/LeftBox.vue index f14c679..3343523 100644 --- a/src/views/oneMap/smartBridge/LeftBox.vue +++ b/src/views/oneMap/smartBridge/LeftBox.vue @@ -144,11 +144,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 160px); } .topWZ { width: 100%; - height: 130px; + height: 155px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -159,7 +159,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -177,7 +177,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -198,7 +198,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/src/views/oneMap/smartBridge/RightBox.vue b/src/views/oneMap/smartBridge/RightBox.vue index d3a162c..fcdb83a 100644 --- a/src/views/oneMap/smartBridge/RightBox.vue +++ b/src/views/oneMap/smartBridge/RightBox.vue @@ -1,6 +1,6 @@ - diff --git a/src/views/oneMap/components/mapboxPopup.vue b/src/views/oneMap/components/mapboxPopup.vue index 95ec03f..b5b6e5f 100644 --- a/src/views/oneMap/components/mapboxPopup.vue +++ b/src/views/oneMap/components/mapboxPopup.vue @@ -47,11 +47,11 @@
厂站类型:
{{ - allData.dataList.pumpType == "rain_water" - ? "雨水泵站" - : allData.dataList.pumpType == "sewage_water" - ? "污水泵站" - : "雨污合建" + allData.dataList.pumpType == 'rain_water' + ? '雨水泵站' + : allData.dataList.pumpType == 'sewage_water' + ? '污水泵站' + : '雨污合建' }}
@@ -60,22 +60,14 @@
{{ allData.dataList.buildArea }} ㎡
设计规模:
- {{ - allData.dataList.rainpump.designScaleSecond || - allData.dataList.sweagepump.designScaleSecond || - "--" - }} + {{ allData.dataList.rainpump.designScaleSecond || allData.dataList.sweagepump.designScaleSecond || '--' }} m³/s
+ +
+ +
diff --git a/src/views/oneMap/smartBridge/LeftBox.vue b/src/views/oneMap/smartBridge/LeftBox.vue index f14c679..3343523 100644 --- a/src/views/oneMap/smartBridge/LeftBox.vue +++ b/src/views/oneMap/smartBridge/LeftBox.vue @@ -144,11 +144,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 160px); } .topWZ { width: 100%; - height: 130px; + height: 155px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -159,7 +159,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -177,7 +177,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -198,7 +198,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/src/views/oneMap/smartBridge/RightBox.vue b/src/views/oneMap/smartBridge/RightBox.vue index d3a162c..fcdb83a 100644 --- a/src/views/oneMap/smartBridge/RightBox.vue +++ b/src/views/oneMap/smartBridge/RightBox.vue @@ -1,6 +1,6 @@ - diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/src/views/oneMap/components/ZHQL.vue b/src/views/oneMap/components/ZHQL.vue index 02952bd..911104f 100644 --- a/src/views/oneMap/components/ZHQL.vue +++ b/src/views/oneMap/components/ZHQL.vue @@ -11,147 +11,10 @@
-
-
-
运行监测
-
-
-
- - 结构监测 -
-
-
-
-
挠度
-
-
-
-
位移
-
-
-
-
裂缝
-
-
-
-
-
-
振动
-
-
-
-
索力
-
-
-
-
应变
-
-
-
- -
- - 90 - -
-
-
-
-
- - 通行监测 -
-
- -
-
-
-
- - 负荷监测 -
-
-
- 方向 - 车牌 - 通行时间 - 载重 - 超重 -
-
-
- {{ - item.fx - }} - {{ - item.cp - }} - {{ - item.sj - }} - {{ - item.zz - }} - {{ - item.cz - }} -
-
-
-
-
-
-
-
检测评估
-
-
-  2023年 11月20日 - 最近一次检测 -
-
- 良好 - 整体工作性能 -
-
- 二类 - 技术状况等级 -
-
- 检测单位 - 陕西海嵘工程试验检测股份有限公司 -
-
-
+
+
-
+
{{ item.font }}
@@ -164,89 +27,16 @@ diff --git a/src/views/oneMap/smartBridge/LeftBox.vue b/src/views/oneMap/smartBridge/LeftBox.vue index f14c679..3343523 100644 --- a/src/views/oneMap/smartBridge/LeftBox.vue +++ b/src/views/oneMap/smartBridge/LeftBox.vue @@ -144,11 +144,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 160px); } .topWZ { width: 100%; - height: 130px; + height: 155px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -159,7 +159,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -177,7 +177,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -198,7 +198,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/src/views/oneMap/smartBridge/RightBox.vue b/src/views/oneMap/smartBridge/RightBox.vue index d3a162c..fcdb83a 100644 --- a/src/views/oneMap/smartBridge/RightBox.vue +++ b/src/views/oneMap/smartBridge/RightBox.vue @@ -1,6 +1,6 @@ - diff --git a/src/views/oneMap/smartTunnel/LeftBox.vue b/src/views/oneMap/smartTunnel/LeftBox.vue index 20586bb..2278599 100644 --- a/src/views/oneMap/smartTunnel/LeftBox.vue +++ b/src/views/oneMap/smartTunnel/LeftBox.vue @@ -142,11 +142,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 145px); } .topWZ { width: 100%; - height: 130px; + height: 140px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -157,7 +157,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -175,7 +175,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -196,7 +196,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/src/views/oneMap/components/ZHQL.vue b/src/views/oneMap/components/ZHQL.vue index 02952bd..911104f 100644 --- a/src/views/oneMap/components/ZHQL.vue +++ b/src/views/oneMap/components/ZHQL.vue @@ -11,147 +11,10 @@
-
-
-
运行监测
-
-
-
- - 结构监测 -
-
-
-
-
挠度
-
-
-
-
位移
-
-
-
-
裂缝
-
-
-
-
-
-
振动
-
-
-
-
索力
-
-
-
-
应变
-
-
-
- -
- - 90 - -
-
-
-
-
- - 通行监测 -
-
- -
-
-
-
- - 负荷监测 -
-
-
- 方向 - 车牌 - 通行时间 - 载重 - 超重 -
-
-
- {{ - item.fx - }} - {{ - item.cp - }} - {{ - item.sj - }} - {{ - item.zz - }} - {{ - item.cz - }} -
-
-
-
-
-
-
-
检测评估
-
-
-  2023年 11月20日 - 最近一次检测 -
-
- 良好 - 整体工作性能 -
-
- 二类 - 技术状况等级 -
-
- 检测单位 - 陕西海嵘工程试验检测股份有限公司 -
-
-
+
+
-
+
{{ item.font }}
@@ -164,89 +27,16 @@ diff --git a/src/views/oneMap/smartBridge/LeftBox.vue b/src/views/oneMap/smartBridge/LeftBox.vue index f14c679..3343523 100644 --- a/src/views/oneMap/smartBridge/LeftBox.vue +++ b/src/views/oneMap/smartBridge/LeftBox.vue @@ -144,11 +144,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 160px); } .topWZ { width: 100%; - height: 130px; + height: 155px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -159,7 +159,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -177,7 +177,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -198,7 +198,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/src/views/oneMap/smartBridge/RightBox.vue b/src/views/oneMap/smartBridge/RightBox.vue index d3a162c..fcdb83a 100644 --- a/src/views/oneMap/smartBridge/RightBox.vue +++ b/src/views/oneMap/smartBridge/RightBox.vue @@ -1,6 +1,6 @@ - diff --git a/src/views/oneMap/smartTunnel/LeftBox.vue b/src/views/oneMap/smartTunnel/LeftBox.vue index 20586bb..2278599 100644 --- a/src/views/oneMap/smartTunnel/LeftBox.vue +++ b/src/views/oneMap/smartTunnel/LeftBox.vue @@ -142,11 +142,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 145px); } .topWZ { width: 100%; - height: 130px; + height: 140px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -157,7 +157,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -175,7 +175,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -196,7 +196,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/src/views/oneMap/smartTunnel/RightBox.vue b/src/views/oneMap/smartTunnel/RightBox.vue index 9f092a3..1f97e0c 100644 --- a/src/views/oneMap/smartTunnel/RightBox.vue +++ b/src/views/oneMap/smartTunnel/RightBox.vue @@ -214,7 +214,7 @@ display: inline-block; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; color: #ebfeff; height: 24px; line-height: 24px; @@ -285,13 +285,13 @@ } } .jcInfo_btn { - width: 38px; - height: 21px; - margin-left: 18px; + width: 42px; + height: 24px; + margin-left: 12px; background: #0ea3c3; border-radius: 11px; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ebfeff; text-align: center; } @@ -311,7 +311,7 @@ } .tfInfo_title { font-weight: bold; - font-size: 14px; + font-size: 16px; color: #09bdf2; } .tfInfo_state { @@ -370,10 +370,10 @@ .pgTitle { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; - height: 14px; - line-height: 14px; + height: 16px; + line-height: 16px; // border: 1px solid red; } } diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/src/views/oneMap/components/ZHQL.vue b/src/views/oneMap/components/ZHQL.vue index 02952bd..911104f 100644 --- a/src/views/oneMap/components/ZHQL.vue +++ b/src/views/oneMap/components/ZHQL.vue @@ -11,147 +11,10 @@
-
-
-
运行监测
-
-
-
- - 结构监测 -
-
-
-
-
挠度
-
-
-
-
位移
-
-
-
-
裂缝
-
-
-
-
-
-
振动
-
-
-
-
索力
-
-
-
-
应变
-
-
-
- -
- - 90 - -
-
-
-
-
- - 通行监测 -
-
- -
-
-
-
- - 负荷监测 -
-
-
- 方向 - 车牌 - 通行时间 - 载重 - 超重 -
-
-
- {{ - item.fx - }} - {{ - item.cp - }} - {{ - item.sj - }} - {{ - item.zz - }} - {{ - item.cz - }} -
-
-
-
-
-
-
-
检测评估
-
-
-  2023年 11月20日 - 最近一次检测 -
-
- 良好 - 整体工作性能 -
-
- 二类 - 技术状况等级 -
-
- 检测单位 - 陕西海嵘工程试验检测股份有限公司 -
-
-
+
+
-
+
{{ item.font }}
@@ -164,89 +27,16 @@ diff --git a/src/views/oneMap/smartBridge/LeftBox.vue b/src/views/oneMap/smartBridge/LeftBox.vue index f14c679..3343523 100644 --- a/src/views/oneMap/smartBridge/LeftBox.vue +++ b/src/views/oneMap/smartBridge/LeftBox.vue @@ -144,11 +144,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 160px); } .topWZ { width: 100%; - height: 130px; + height: 155px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -159,7 +159,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -177,7 +177,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -198,7 +198,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/src/views/oneMap/smartBridge/RightBox.vue b/src/views/oneMap/smartBridge/RightBox.vue index d3a162c..fcdb83a 100644 --- a/src/views/oneMap/smartBridge/RightBox.vue +++ b/src/views/oneMap/smartBridge/RightBox.vue @@ -1,6 +1,6 @@ - diff --git a/src/views/oneMap/smartTunnel/LeftBox.vue b/src/views/oneMap/smartTunnel/LeftBox.vue index 20586bb..2278599 100644 --- a/src/views/oneMap/smartTunnel/LeftBox.vue +++ b/src/views/oneMap/smartTunnel/LeftBox.vue @@ -142,11 +142,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 145px); } .topWZ { width: 100%; - height: 130px; + height: 140px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -157,7 +157,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -175,7 +175,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -196,7 +196,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/src/views/oneMap/smartTunnel/RightBox.vue b/src/views/oneMap/smartTunnel/RightBox.vue index 9f092a3..1f97e0c 100644 --- a/src/views/oneMap/smartTunnel/RightBox.vue +++ b/src/views/oneMap/smartTunnel/RightBox.vue @@ -214,7 +214,7 @@ display: inline-block; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; color: #ebfeff; height: 24px; line-height: 24px; @@ -285,13 +285,13 @@ } } .jcInfo_btn { - width: 38px; - height: 21px; - margin-left: 18px; + width: 42px; + height: 24px; + margin-left: 12px; background: #0ea3c3; border-radius: 11px; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ebfeff; text-align: center; } @@ -311,7 +311,7 @@ } .tfInfo_title { font-weight: bold; - font-size: 14px; + font-size: 16px; color: #09bdf2; } .tfInfo_state { @@ -370,10 +370,10 @@ .pgTitle { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; - height: 14px; - line-height: 14px; + height: 16px; + line-height: 16px; // border: 1px solid red; } } diff --git a/src/views/oneMap/smartTunnel/components/twoLine.vue b/src/views/oneMap/smartTunnel/components/twoLine.vue index 1ba54c5..d34aa79 100644 --- a/src/views/oneMap/smartTunnel/components/twoLine.vue +++ b/src/views/oneMap/smartTunnel/components/twoLine.vue @@ -120,7 +120,7 @@ data: ['南向北', '北向南'], textStyle: { color: '#7e99aa', - fontSize: 12, + fontSize: 16, }, }, xAxis: { @@ -142,7 +142,7 @@ show: true, color: '#e2f5f7', // interval: 0, - fontSize: 12, + fontSize: 16, // formatter: function (value) { // // return value.split(' ').join('\n'); // return value.slice(5); @@ -162,7 +162,7 @@ // nameRotate: 0, // 名称水平显示 nameTextStyle: { color: '#7e99aa', - fontSize: 12, + fontSize: 16, padding: [0, 20, -2, 0], }, axisLine: { @@ -171,7 +171,7 @@ axisLabel: { show: true, color: '#7e99aa', - fontSize: 12, + fontSize: 16, }, splitLine: { //网格线 diff --git a/index.html b/index.html index c24651b..1fea912 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,8 @@ author="wudi_sdk"> + + diff --git a/src/views/oneMap/BIM/WangJiaPIng.vue b/src/views/oneMap/BIM/WangJiaPIng.vue index b6860fb..1bf25ae 100644 --- a/src/views/oneMap/BIM/WangJiaPIng.vue +++ b/src/views/oneMap/BIM/WangJiaPIng.vue @@ -285,7 +285,7 @@ }); }, function (xhr) { - console.log(Math.floor((xhr.loaded / xhr.total) * 100)); + // console.log(Math.floor((xhr.loaded / xhr.total) * 100)); } ); }; @@ -453,7 +453,7 @@ Renderer.value.render(Scene, Camera.value); LabelRenderer.value.render(Scene, Camera.value); const delta = clock.getDelta(); - console.log(Camera.value); + // console.log(Camera.value); }; // 创建气泡窗 diff --git a/src/views/oneMap/OverallOverview/LeftBox.vue b/src/views/oneMap/OverallOverview/LeftBox.vue index 779366b..e26dce0 100644 --- a/src/views/oneMap/OverallOverview/LeftBox.vue +++ b/src/views/oneMap/OverallOverview/LeftBox.vue @@ -82,24 +82,27 @@
实时监测
- -
- {{ item.num }} - {{ item.sz }} - {{ item.bm }} - {{ item.zb }} - - 异 常 - 正 常 - +
+
+ 位置 + 监测对象 + 监测指标 + 监测时间 + 状态
- + +
+ {{ item.name }} + {{ item.jcdx }} + {{ item.jczb }} +
{{ item.jcsj }}
+ + 异 常 + 正 常 + +
+
+
@@ -127,17 +130,76 @@ ]); const FXJCData = ref([ { - num: "01", - zb: "管网病管", - sz: "排水", - bm: "BM234454", - zk: "异常", + name: '延安中学', + jcdx: '燃气管网', + jczb: '甲烷浓度4.4%VOL', + jcsj: '2024/10/23 11:54', + zk: '正常', }, - { num: "02", zb: "管网病管", sz: "排水", bm: "BM234454", zk: "正常" }, - { num: "03", zb: "结构", sz: "隧道", bm: "BM234454", zk: "正常" }, - { num: "04", zb: "老化", sz: "桥梁", bm: "BM234454", zk: "正常" }, - { num: "05", zb: "老化", sz: "排水", bm: "BM234454", zk: "异常" }, - { num: "06", zb: "老化", sz: "排水", bm: "BM234454", zk: "正常" }, + { + name: '延安大学附属医院', + jcdx: '燃气管网', + jczb: '甲烷浓度4%VOL', + jcsj: '2024/10/23 12:14', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '倾角+1°', + jcsj: '2024/10/23 12:24', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁结构', + jczb: '位移12mm', + jcsj: '2024/10/23 13:13', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁外部荷载', + jczb: '均布荷载6.4kn/m', + jcsj: '2024/10/23 13:43', + zk: '正常', + }, + { + name: '王家坪大桥', + jcdx: '桥梁气象环境', + jczb: '风速3.2m/s', + jcsj: '2024/10/23 14:03', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '裂缝宽度0.12mm', + jcsj: '2024/10/23 14:05', + zk: '正常', + }, + { + name: '杨家岭隧道', + jcdx: '隧道结构', + jczb: '静应变+10με', + jcsj: '2024/10/23 14:25', + zk: '正常', + }, + + { + name: '王家坪旧址门口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:21', + zk: '正常', + }, + { + name: '大砭沟与北大街交叉口', + jcdx: '积水液位', + jczb: '水深0m', + jcsj: '2024/10/23 15:25', + zk: '正常', + }, ]); const yxjcname = ref("7天"); function yearclick(val) { @@ -424,82 +486,135 @@ margin: 10px auto; width: 430px; height: calc(100% - 40px); - // background: red; - // background: url('@/assets/newImgs/yxjcE.png') no-repeat; - // background-size: 100% 100%; } } } .Realtime { width: 450px; height: 35%; - .tableBody { - width: 432px; - height: calc(100% - 50px); - overflow: hidden; - margin: 0 auto; - .tableBodyList { - height: 60px; - line-height: 60px; + .RealTop { + margin: 5px auto; + width: 430px; + height: calc(100% - 45px); + + .tableHeader { width: 100%; + height: 34px; + background: linear-gradient(0deg, #00fbffa3 0%, #00fbff00 100%); + border-radius: 2px; + border: 1px solid #74dde1; display: flex; - /* 选择偶数行 */ - &:nth-child(even) { - background: linear-gradient(0deg, #008599 0%, #08596d 100%); - } - - .tableBodyList_span1 { - font-family: Source Han Sans CN; - font-weight: bold; - font-size: 16px; - color: #00f2ff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; - // background: #217e8cff; - } - .tableBodyList_span2 { + .tableHeaderList { font-family: Source Han Sans CN; font-weight: 400; font-size: 14px; color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 10%; + height: 34px; + line-height: 34px; + // padding-left: 5px; + // text-align: center; } - .tableBodyList_span3 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; + .tableList1 { + width: 15%; text-align: center; - width: 25%; } - - .tableBodyList_span4 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; - width: 35%; - } - - .tableBodyList_span5 { - font-family: Source Han Sans CN; - font-weight: 400; - font-size: 14px; - color: #ffffff; - height: 60px; - line-height: 60px; - text-align: center; + .tableList2 { width: 20%; + text-align: center; + } + .tableList3 { + width: 20%; + text-align: center; + } + .tableList4 { + width: 25%; + text-align: center; + } + .tableList5 { + width: 20%; + text-align: center; + } + } + .tableBody { + width: 430px; + height: calc(100% - 35px); + overflow: hidden; + margin: 0 auto; + .tableBodyList { + height: 60px; + line-height: 60px; + width: 100%; + display: flex; + /* 选择偶数行 */ + &:nth-child(even) { + background: linear-gradient(0deg, #008599 0%, #08596d 100%); + } + + .tableBodyList_span1 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 15%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + // background: #217e8cff; + } + .tableBodyList_span2 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + .tableBodyList_span3 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span4 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 25%; + overflow: hidden; + white-space: nowrap; /* 防止文字换行 */ + text-overflow: ellipsis; /* 超出部分显示省略号 */ + } + + .tableBodyList_span5 { + font-family: Source Han Sans CN; + font-weight: 400; + font-size: 14px; + color: #ffffff; + height: 60px; + line-height: 60px; + text-align: center; + width: 20%; + } } } } diff --git a/src/views/oneMap/components/ZHQL.vue b/src/views/oneMap/components/ZHQL.vue index 02952bd..911104f 100644 --- a/src/views/oneMap/components/ZHQL.vue +++ b/src/views/oneMap/components/ZHQL.vue @@ -11,147 +11,10 @@
-
-
-
运行监测
-
-
-
- - 结构监测 -
-
-
-
-
挠度
-
-
-
-
位移
-
-
-
-
裂缝
-
-
-
-
-
-
振动
-
-
-
-
索力
-
-
-
-
应变
-
-
-
- -
- - 90 - -
-
-
-
-
- - 通行监测 -
-
- -
-
-
-
- - 负荷监测 -
-
-
- 方向 - 车牌 - 通行时间 - 载重 - 超重 -
-
-
- {{ - item.fx - }} - {{ - item.cp - }} - {{ - item.sj - }} - {{ - item.zz - }} - {{ - item.cz - }} -
-
-
-
-
-
-
-
检测评估
-
-
-  2023年 11月20日 - 最近一次检测 -
-
- 良好 - 整体工作性能 -
-
- 二类 - 技术状况等级 -
-
- 检测单位 - 陕西海嵘工程试验检测股份有限公司 -
-
-
+
+
-
+
{{ item.font }}
@@ -164,89 +27,16 @@ diff --git a/src/views/oneMap/smartBridge/LeftBox.vue b/src/views/oneMap/smartBridge/LeftBox.vue index f14c679..3343523 100644 --- a/src/views/oneMap/smartBridge/LeftBox.vue +++ b/src/views/oneMap/smartBridge/LeftBox.vue @@ -144,11 +144,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 160px); } .topWZ { width: 100%; - height: 130px; + height: 155px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -159,7 +159,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -177,7 +177,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -198,7 +198,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/src/views/oneMap/smartBridge/RightBox.vue b/src/views/oneMap/smartBridge/RightBox.vue index d3a162c..fcdb83a 100644 --- a/src/views/oneMap/smartBridge/RightBox.vue +++ b/src/views/oneMap/smartBridge/RightBox.vue @@ -1,6 +1,6 @@ - diff --git a/src/views/oneMap/smartTunnel/LeftBox.vue b/src/views/oneMap/smartTunnel/LeftBox.vue index 20586bb..2278599 100644 --- a/src/views/oneMap/smartTunnel/LeftBox.vue +++ b/src/views/oneMap/smartTunnel/LeftBox.vue @@ -142,11 +142,11 @@ .topImg { display: block; width: 100%; - height: calc(100% - 135px); + height: calc(100% - 145px); } .topWZ { width: 100%; - height: 130px; + height: 140px; white-space: pre-wrap; word-break: break-word; text-indent: 2em; @@ -157,7 +157,7 @@ background-size: 100% 100%; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; line-height: 22px; color: #61cafc; } @@ -175,7 +175,7 @@ position: relative; width: 136px; height: 76px; - padding: 6px 5px 6px 8px; + padding: 4px 0px 6px 6px; // background: linear-gradient(0deg, rgba(17, 102, 139, 0.6) 0%, rgba(0, 65, 103, 0.3) 100%); border-radius: 2px; // border: 1px solid #007aa8; @@ -196,7 +196,7 @@ .shebeiBox_left_font { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; // height: 26px; // line-height: 26px; diff --git a/src/views/oneMap/smartTunnel/RightBox.vue b/src/views/oneMap/smartTunnel/RightBox.vue index 9f092a3..1f97e0c 100644 --- a/src/views/oneMap/smartTunnel/RightBox.vue +++ b/src/views/oneMap/smartTunnel/RightBox.vue @@ -214,7 +214,7 @@ display: inline-block; font-family: Source Han Sans CN; font-weight: bold; - font-size: 14px; + font-size: 16px; color: #ebfeff; height: 24px; line-height: 24px; @@ -285,13 +285,13 @@ } } .jcInfo_btn { - width: 38px; - height: 21px; - margin-left: 18px; + width: 42px; + height: 24px; + margin-left: 12px; background: #0ea3c3; border-radius: 11px; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ebfeff; text-align: center; } @@ -311,7 +311,7 @@ } .tfInfo_title { font-weight: bold; - font-size: 14px; + font-size: 16px; color: #09bdf2; } .tfInfo_state { @@ -370,10 +370,10 @@ .pgTitle { font-family: Source Han Sans CN; font-weight: 500; - font-size: 14px; + font-size: 16px; color: #ffffff; - height: 14px; - line-height: 14px; + height: 16px; + line-height: 16px; // border: 1px solid red; } } diff --git a/src/views/oneMap/smartTunnel/components/twoLine.vue b/src/views/oneMap/smartTunnel/components/twoLine.vue index 1ba54c5..d34aa79 100644 --- a/src/views/oneMap/smartTunnel/components/twoLine.vue +++ b/src/views/oneMap/smartTunnel/components/twoLine.vue @@ -120,7 +120,7 @@ data: ['南向北', '北向南'], textStyle: { color: '#7e99aa', - fontSize: 12, + fontSize: 16, }, }, xAxis: { @@ -142,7 +142,7 @@ show: true, color: '#e2f5f7', // interval: 0, - fontSize: 12, + fontSize: 16, // formatter: function (value) { // // return value.split(' ').join('\n'); // return value.slice(5); @@ -162,7 +162,7 @@ // nameRotate: 0, // 名称水平显示 nameTextStyle: { color: '#7e99aa', - fontSize: 12, + fontSize: 16, padding: [0, 20, -2, 0], }, axisLine: { @@ -171,7 +171,7 @@ axisLabel: { show: true, color: '#7e99aa', - fontSize: 12, + fontSize: 16, }, splitLine: { //网格线 diff --git a/vite.config.js b/vite.config.js index afb2c95..56ed385 100644 --- a/vite.config.js +++ b/vite.config.js @@ -80,6 +80,13 @@ logLevel: 'debug', rewrite: p => p.replace(/^\/hsApi/, ''), }, + //百度全景 + '/bdApi': { + target: 'http://192.168.16.34:8105/', //测试服务 + changeOrigin: true, + logLevel: 'debug', + rewrite: p => p.replace(/^\/bdApi/, ''), + }, }, }, css: {