From e8a7beb5455d0c9f50f93004b600dd2781ad6bfd Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期一, 30 六月 2025 09:36:56 +0800 Subject: [PATCH] feat(空调控制): 实现空调控制功能并优化 SVG 数据加载- 新增 AirCondConstants 类,定义空调控制常量 - 修改 AirConditionerServiceImpl,使用常量替代硬编码值 - 更新 MQTT 消息发送逻辑,使用常量定义主题 - 优化 SVG 数据加载和处理逻辑,改进标签值更新方式 - 调整域名地址配置,支持生产环境 API --- zhitan-vue/src/views/costAnalysis/cost-trend-analysis.vue | 30 +----------------------------- 1 files changed, 1 insertions(+), 29 deletions(-) diff --git a/zhitan-vue/src/views/costAnalysis/cost-trend-analysis.vue b/zhitan-vue/src/views/costAnalysis/cost-trend-analysis.vue index c04cb0b..bb5525d 100644 --- a/zhitan-vue/src/views/costAnalysis/cost-trend-analysis.vue +++ b/zhitan-vue/src/views/costAnalysis/cost-trend-analysis.vue @@ -85,6 +85,7 @@ :chartData="{ title: item.accumulationLabel, chartType: 'bar', + barWidth: '10', xAxis: item.accumulationKeyList, series: [ { @@ -275,34 +276,5 @@ width: 100%; margin-top: 12px; padding-bottom: 24px; -} -.display-buttons { - display: flex; - justify-content: flex-end; - align-items: center; - margin-top: 16px; - margin-right: 16px; - .display-btn, - .active-display-btn { - width: 78px; - height: 34px; - background: #fff; - color: #409eff; - border: 2px solid #409eff; - border-radius: 4px; - margin-left: 10px; - text-align: center; - line-height: 31px; - font-size: 14px; - font-weight: 400; - cursor: pointer; - &:hover { - opacity: 0.9; - } - } - .active-display-btn { - background: #409eff; - color: #fff; - } } </style> -- Gitblit v1.9.3