| | |
| | | <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 ? '报警' : '正常'}} |
| | | </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"> |
| | |
| | | <!-- 错误状态 --> |
| | | <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> |
| | | |
| | | <!-- 正常播放状态 --> |