From 3fa350d78388f2d7a367b7bf3799d01afc44c1ea Mon Sep 17 00:00:00 2001 From: lld <15027638633@163.com> Date: Mon, 30 Mar 2026 01:38:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E6=A8=A1=E5=BC=8F=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/news/subpages/deviceLog/log.vue | 40 +++++++++++++-------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/pages/news/subpages/deviceLog/log.vue b/pages/news/subpages/deviceLog/log.vue index e29117f..050adbe 100644 --- a/pages/news/subpages/deviceLog/log.vue +++ b/pages/news/subpages/deviceLog/log.vue @@ -36,22 +36,21 @@ @touchmove.stop :key="key"> - - - - + + + + > - {{}} - {{}} - {{}} - {{}} - {{}} + 监测时段:{{ item.monitor_period }} + 当前温度:{{ item.current_temp }} ℃ + 参考温度:{{ item.ref_temp }} ℃ + 温度适宜:{{ item.suitable_temp === 1 ? '是' : '否' }} + 执行指令:{{ item.exec_cmd }} @@ -90,7 +89,8 @@ export default { contentnomore: '没有更多数据了' }, status: 'more', - loading: false + loading: false, + activeIndex: '', // 手风琴当前展开项 } }, mounted() { @@ -168,7 +168,7 @@ export default { // } // }).finally(() => { // if (this.logList && this.logList.length>0) { - // this.tabList = this.logList.filter(item => item.roller === `jm${this.current+1}`); + // this.tabList = this.logList.filter(item => item.roll_film === `jm${this.current+1}`); // } // this.loading = false; // } @@ -199,7 +199,7 @@ export default { suitable_temp: 0, fan_status: 1.0, is_last: 0, - exec_cmd: "rollerjm1: 关棚", + exec_cmd: "jm1: 关棚", log_id: 1002, create_time: "2026-03-30 13:20:45" }, @@ -305,7 +305,7 @@ export default { } ]; if (this.logList && this.logList.length>0) { - this.tabList = this.logList.filter(item => item.roller === `jm${this.current+1}`); + this.tabList = this.logList.filter(item => item.roll_film === `jm${this.current+1}`); } this.loading = false; }, 1000); @@ -315,6 +315,7 @@ export default { }, change(e) { this.current=e.detail.current + this.tabList = this.logList.filter(item => item.roll_film === `jm${this.current+1}`); } } @@ -378,16 +379,15 @@ export default { width: 50%; } -/* 视频列表 */ .log-list { flex: 1; padding: 0 30rpx; - height: 90vh; + height: calc(100vh - 300rpx); /* 关键 */ } .content { - padding: 15px; + padding: 20rpx; + line-height: 1.6; } - /deep/.uni-select__input-placeholder { font-size: 24rpx !important; }