diff --git a/.history/src/router/index_20231123113141.js b/.history/src/router/index_20231123113141.js new file mode 100644 index 0000000..20f7558 --- /dev/null +++ b/.history/src/router/index_20231123113141.js @@ -0,0 +1,42 @@ +import Vue from "vue"; +import VueRouter from "vue-router"; + +Vue.use(VueRouter); + +const routes = [ + { + path: "/", + name: "index", + component: () => import("../views/Index.vue"), + children: [ + { + path: "/znyw", + name: "znyw", + component: () => import("../views/lll/ZNYW.vue"), + }, + { + path:"/fhgl", + name:"fhgl", + component:()=>import("@/views/Zhou/FHGL.vue") + }, + { + path:"/kdfh", + name:"kdfh", + component:()=>import("@/views/Zhou/KDFH.vue") + }, + { + path: "/pds", + name: "pds", + component: () => import("../views/lll/PDS.vue"), + }, + ], + }, +]; + +const router = new VueRouter({ + mode: "history", + base: process.env.BASE_URL, + routes, +}); + +export default router; diff --git a/src/assets/znyw/4.png b/src/assets/znyw/4.png index a84fee8..6cbee5e 100644 Binary files a/src/assets/znyw/4.png and b/src/assets/znyw/4.png differ diff --git a/src/assets/znyw/5.png b/src/assets/znyw/5.png index 67b3639..e24337e 100644 Binary files a/src/assets/znyw/5.png and b/src/assets/znyw/5.png differ diff --git a/src/router/index.js b/src/router/index.js index decd2b2..20f7558 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -23,7 +23,12 @@ const routes = [ path:"/kdfh", name:"kdfh", component:()=>import("@/views/Zhou/KDFH.vue") - } + }, + { + path: "/pds", + name: "pds", + component: () => import("../views/lll/PDS.vue"), + }, ], }, ]; diff --git a/src/views/lll/PDS.vue b/src/views/lll/PDS.vue new file mode 100644 index 0000000..8ae3e80 --- /dev/null +++ b/src/views/lll/PDS.vue @@ -0,0 +1,79 @@ + + + diff --git a/src/views/lll/ZNYW.vue b/src/views/lll/ZNYW.vue index 7dddcd7..8d52050 100644 --- a/src/views/lll/ZNYW.vue +++ b/src/views/lll/ZNYW.vue @@ -162,7 +162,11 @@
垃圾处理站排放物监测
一层
- + @@ -219,6 +223,7 @@ :data="plan" style="width: 100%" :row-class-name="tableRowClassName" + header-cell-style="background-color: #1969A8; color: white" > @@ -255,6 +260,7 @@ :data="list" style="width: 100%" :row-class-name="tableRowClassName" + header-cell-style="background-color: #1969A8; color: white" > @@ -402,6 +408,9 @@ export default { }, yAxis: { type: "value", + min: 0, + max: 0.15, + interval: 0.05, // 指定刻度间隔 axisLabel: { show: true, textStyle: { @@ -423,8 +432,32 @@ export default { type: "bar", data: [0.08, 0.08, 0.06, 0.12, 0.09], }, + // { + // type: "bar", + // data: data.map((item) => { + // // 找到三个值中的最大值 + // let max = Math.max(item.value1, item.value2, item.value3); + // return { + // name: item.name, + // value: max, + // }; + // }), + // // itemStyle: { + // // colorStops: [ + // // { + // // offset: 0, + // // color: "#192060", // 0% 处的颜色 + // // }, + // // { + // // offset: 0.9, + // // color: "#2D6E38", // 90% 处的颜色 + // // }, + // // ], + // // }, + // }, { name: "预警", + type: "bar", data: [0.06, 0.07, 0.03, 0.06, 0.04], }, @@ -688,27 +721,11 @@ export default { .el-table__row--selected { background-color: transparent !important; } - //表体颜色 - /deep/.el-table tr { - background: #16253b; - color: #fff; - font-size: 30px; - height: 50px; - .cell { - line-height: 50px; - } - } + // 去掉eltable的hover效果 ::v-deep .el-table tbody tr:hover > td { background-color: #102b49 !important; } - //修改表头颜色 - ::v-deep .has-gutter { - background-color: #102b49; - th { - background-color: #102b49; - } - } //去掉边框白线 ::v-deep .el-table__row > td { @@ -871,7 +888,7 @@ export default { ::v-deep .el-table tbody tr:hover > td { background-color: #0b679e !important; } - //修改表头颜色 + //修改表头颜色s ::v-deep .has-gutter { background-color: #1969a8; th {