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/peakvalley/period/period.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/zhitan-vue/src/views/peakvalley/period/period.vue b/zhitan-vue/src/views/peakvalley/period/period.vue index 749fa2e..a9551c6 100644 --- a/zhitan-vue/src/views/peakvalley/period/period.vue +++ b/zhitan-vue/src/views/peakvalley/period/period.vue @@ -555,16 +555,21 @@ display: flex; justify-content: space-between; padding: 18px; + width: 100%; + overflow: hidden; + overflow-x: auto; .card-list-item { - width: 19%; - height: 187px; + flex-shrink: 0; + width: 230px; + height: 188px; background: #223386; border-radius: 5px 5px 5px 5px; border: 1px solid #4868b7; background-size: 100% 100%; box-sizing: border-box; padding: 10px 18px 13px 16px; + margin-right: 12px; .item-top { display: flex; -- Gitblit v1.9.3