From 832a41e2688553219b540ca772faeaba16a02088 Mon Sep 17 00:00:00 2001 From: zuoxiao <zuoxiao> Date: 星期五, 22 八月 2025 14:44:23 +0800 Subject: [PATCH] 更新项目配置,提升监测页面功能,新增注肥泵状态管理和故障清除功能;优化样式以增强用户体验和可视化效果。 --- pages/stationMonitor/stationMonitor.wxml | 25 ++++++++++++++++++++++--- 1 files changed, 22 insertions(+), 3 deletions(-) diff --git a/pages/stationMonitor/stationMonitor.wxml b/pages/stationMonitor/stationMonitor.wxml index 7723357..250d87d 100644 --- a/pages/stationMonitor/stationMonitor.wxml +++ b/pages/stationMonitor/stationMonitor.wxml @@ -355,6 +355,25 @@ <view class="monitoring-data"> <text class="section-title">鐩戞祴鏁版嵁</text> <view class="data-grid"> + <!-- 娉ㄨ偉娉电姸鎬� --> + <view class="data-item pump-status custom-pump-row"> + <view class="data-icon"> + <image src="/images/custompump.svg" /> + </view> + <view class="data-content"> + <text class="data-label">娉ㄨ偉娉电姸鎬�</text> + <text class="data-value {{currentFertilizerStation.alarm === 1 ? 'alarm' : 'normal'}}"> + {{currentFertilizerStation.alarm === 1 ? '鎶ヨ' : '姝e父'}} + </text> + </view> + <button wx:if="{{currentFertilizerStation.alarm === 1}}" + class="clear-fault-btn" + bind:tap="clearAlarm" + size="mini"> + 娓呴櫎鎶ヨ + </button> + </view> + <!-- 鑲ユ枡娴侀噺 --> <view class="data-item waste-flow"> <view class="data-icon"> @@ -451,11 +470,11 @@ <!-- 閿欒鐘舵�� --> <view wx:elif="{{item.urlError}}" class="video-error"> <image class="error-icon" src="/images/error.svg" /> - <text class="error-text">鑾峰彇鎾斁鍦板潃澶辫触</text> - <button class="retry-btn" bind:tap="retryGetHlsUrl" data-camera="{{item}}"> + <text class="error-text">璁惧绂荤嚎</text> + <!-- <button class="retry-btn" bind:tap="retryGetHlsUrl" data-camera="{{item}}"> <image class="retry-icon" src="/images/refresh.svg" /> <text>閲嶈瘯</text> - </button> + </button> --> </view> <!-- 姝e父鎾斁鐘舵�� --> -- Gitblit v1.8.0