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/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/zhitan-vue/src/views/index.vue b/zhitan-vue/src/views/index.vue index cb114db..de70046 100644 --- a/zhitan-vue/src/views/index.vue +++ b/zhitan-vue/src/views/index.vue @@ -336,6 +336,7 @@ }) const { queryParams } = toRefs(data) function handleTimeType(item, type) { + console.log("itemtype",item,type) queryParams.value.timeType = item queryParams.value.type = type queryParams.value.dataTime = proxy.dayjs(new Date()).format("YYYY-MM-DD") @@ -923,7 +924,7 @@ .card-list-item { width: 0; flex: 1 1 320px; - max-width: 320px; + max-width: 520px; height: 135px; background: rgba(242, 246, 250, 0.1); box-sizing: border-box; -- Gitblit v1.9.3