From cf439e471d8cad56214f3ef2692a1580cee7eda4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E4=B8=87=E4=BF=8A?= Date: Mon, 24 Nov 2025 14:23:28 +0800 Subject: [PATCH] =?UTF-8?q?style/=E6=97=A0=E7=94=A8=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=8E=BB=E9=99=A4=EF=BC=8C=E5=A2=9E=E5=8A=A0=E7=AE=A1=E5=BB=8A?= =?UTF-8?q?=E4=BB=8B=E7=BB=8D=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 19 + .env.development | 19 + .env.production | 19 + src/layout/components/Sidebar/Logo.vue | 4 +- src/views/dashboard/LineChartTpf.vue | 1 - src/views/dashboard/index.vue | 1443 +----------------------- 6 files changed, 105 insertions(+), 1400 deletions(-) create mode 100644 .env create mode 100644 .env.development create mode 100644 .env.production diff --git a/.env b/.env new file mode 100644 index 0000000..5a2941e --- /dev/null +++ b/.env @@ -0,0 +1,19 @@ +### + # @Author: 季万俊 + # @Date: 2025-09-04 19:58:43 + # @Description: +### +# 页面标题 +VITE_APP_TITLE = 智慧管廊综合管理平台软件V1.0 + +# 开发环境配置 +ENV = 'development' + +# 若依管理系统/开发环境 +VITE_APP_BASE_API = '/api' +VITE_VUE_LOGIN_USERNAME = 'admin' +VITE_VUE_LOGIN_PASSWORD = 'admin123' +VITE_VUE_APP_BASE_FILEURL = "http://172.16.1.162:18080/" + +# 路由懒加载 +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..5a2941e --- /dev/null +++ b/.env.development @@ -0,0 +1,19 @@ +### + # @Author: 季万俊 + # @Date: 2025-09-04 19:58:43 + # @Description: +### +# 页面标题 +VITE_APP_TITLE = 智慧管廊综合管理平台软件V1.0 + +# 开发环境配置 +ENV = 'development' + +# 若依管理系统/开发环境 +VITE_APP_BASE_API = '/api' +VITE_VUE_LOGIN_USERNAME = 'admin' +VITE_VUE_LOGIN_PASSWORD = 'admin123' +VITE_VUE_APP_BASE_FILEURL = "http://172.16.1.162:18080/" + +# 路由懒加载 +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..aa919a8 --- /dev/null +++ b/.env.production @@ -0,0 +1,19 @@ +### + # @Author: 季万俊 + # @Date: 2025-09-04 19:58:43 + # @Description: +### +# 页面标题 +VITE_APP_TITLE = 智慧管廊综合管理平台软件V1.0 + +# 开发环境配置 +ENV = 'development' + +# 若依管理系统/开发环境 +VITE_APP_BASE_API = '/api' +VITE_VUE_LOGIN_USERNAME = 'admin' +VITE_VUE_LOGIN_PASSWORD = 'admin123' +VITE_VUE_APP_BASE_FILEURL = "/" + +# 路由懒加载 +VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue index 94e161d..2e01a34 100644 --- a/src/layout/components/Sidebar/Logo.vue +++ b/src/layout/components/Sidebar/Logo.vue @@ -29,7 +29,6 @@ defineProps({ required: true } }) -console.log(import.meta,"----import.meta.env"); const title = import.meta.env.VITE_APP_TITLE const settingsStore = useSettingsStore() @@ -87,10 +86,11 @@ const getLogoTextColor = computed(() => { margin: 0; color: v-bind(getLogoTextColor); font-weight: 600; - line-height: 50px; + line-height: 24px; font-size: 14px; font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif; vertical-align: middle; + padding: 0 4px; } } diff --git a/src/views/dashboard/LineChartTpf.vue b/src/views/dashboard/LineChartTpf.vue index a805f1e..d65bf46 100644 --- a/src/views/dashboard/LineChartTpf.vue +++ b/src/views/dashboard/LineChartTpf.vue @@ -42,7 +42,6 @@ export default { data() { return { chart: null, - chartData: {}, }; }, watch: { diff --git a/src/views/dashboard/index.vue b/src/views/dashboard/index.vue index 2635ebd..2bc8088 100644 --- a/src/views/dashboard/index.vue +++ b/src/views/dashboard/index.vue @@ -11,7 +11,10 @@
-
管廊概况
+
+ 管廊概况 + 管廊介绍 > +
管廊名称
@@ -40,71 +43,6 @@
友谊大道
-
@@ -121,7 +59,7 @@ 能耗统计 @@ -147,7 +85,7 @@
-
+
报警信息
环境监测 @@ -249,6 +187,24 @@ >
+ + + + 礼和路(友谊大道-欢乐大道)综合管廊设计范围北起友谊大道,南至欢乐大道,综合管廊工程约2.37公里综合管廊布置在道路机非隔离带下方,为三舱管廊,其中综合舱断面净尺寸BXH=2.6mx3.0m,高压电力舱断面净尺寸BXH=2.5mx3.0m,热力舱断面净尺寸BxH=2.5mX3.0m,管廊标准段覆土均为3.0m。 + + +
@@ -257,7 +213,6 @@ import LineCharttpf from "./LineChartTpf"; import LineChartduoneng from "./LineChartduoneng"; import PieChartdevice from "./PieChartdevice"; import plan from "../plan.vue"; -import { color } from "echarts"; export default { name: "cockpit", components: { @@ -276,30 +231,6 @@ export default { warningIndex: -1, lineChartData: {}, lineChartDataCO2: {}, - fireWarnList: [ - { - style: "yongdian", - name: "累计用电", - unit: "KWh", - count: "3732", - icon: "/ljyd.png", - }, - { - style: "zhongyang", - name: "总能量", - unit: "KWh", - count: "9", - icon: "/yjzdl.png", - }, - { - style: "vRV", - name: "总碳排放量", - unit: "t", - count: "732", - icon: "/yjztl.png", - }, - ], - count: ["blueCount", "redCount", "yellowCount"], warnList: [ { id: "1", @@ -316,14 +247,6 @@ export default { status: "已处理", }, ], //报警数组 - selectValue: { - value: "79", - parentId: "-1", - label: "江北新区法院", - }, - selectDate: 1, - - equipmentList1: [], closeStatus: null, waringData: {}, pickerVal: new Date(), @@ -331,6 +254,7 @@ export default { xdata: [], result: [], }, + showRemarkPanel: false }; }, @@ -340,13 +264,16 @@ export default { }, methods: { + showRemark() { + this.showRemarkPanel = true; + }, getHoursFromZeroToTarget(endHour) { const targetHour = typeof endHour === "number" ? Math.max(0, Math.min(23, endHour)) : new Date().getHours(); const hourArr = []; - for (let hour = 0; hour <= targetHour; hour+= 2) { + for (let hour = 0; hour <= targetHour; hour += 2) { const formattedHour = hour.toString().padStart(2, "0"); hourArr.push(`${formattedHour}:00`); } @@ -464,10 +391,6 @@ export default { text-align: center; } -.el-table tr:nth-child(odd) { - // background-color: rgba(212, 234, 255, 0.08) !important; -} - .el-table--border .el-table__cell { border-right: 0px solid #dfe6ec; } @@ -478,8 +401,10 @@ export default { background: transparent !important; } -.el-dialog { - height: 70%; +::v-deep .el-dialog { + background: url("/src/assets/beij/nrk.png"); + background-repeat: no-repeat; + background-size: 100% 100%; } .el-dialog__wrapper { @@ -510,24 +435,12 @@ export default { } .el-table .el-table__body tr.el-table__row:nth-child(odd) { - // background-color: rgba(212, 234, 255, 0.08) !important; background: url("../../assets/beij/titletable2.png") !important; background-size: 100% 100% !important; } @@ -2141,5 +783,12 @@ export default { .rightThree { height: 33%; } +.remark-content { + color: #fff; +} +.close-btn { + background: #d4eaff50; + border: 0; +} > \ No newline at end of file