From 4a1793b20f6ee04ec92a2a284d08e792e6f49783 Mon Sep 17 00:00:00 2001 From: zuoxiao <zuoxiao> Date: 星期五, 11 四月 2025 17:56:51 +0800 Subject: [PATCH] 更新灌溉详情页面,添加命令发布失败数的显示和样式,优化状态管理逻辑以提升用户体验。 --- pages/irrigation/irrigation.wxss | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/pages/irrigation/irrigation.wxss b/pages/irrigation/irrigation.wxss index 690a85d..2d5116d 100644 --- a/pages/irrigation/irrigation.wxss +++ b/pages/irrigation/irrigation.wxss @@ -39,7 +39,7 @@ bottom: 0; left: 50%; transform: translateX(-50%); - width: 40rpx; + width: 50rpx; height: 4rpx; background-color: #0052d9; border-radius: 2rpx; @@ -81,19 +81,24 @@ } .status-tag.draft { - background-color: #ff9d00; + background-color: #9E9E9E; } .status-tag.published { - background-color: #0052d9; + background-color: #90CAF9; } .status-tag.executing { - background-color: #00a870; + background-color: #2196F3; } .status-tag.completed { - background-color: #999; + background-color: #4CAF50; +} + +.status-tag.terminated { + background-color: #F44336; + color: #ffffff; } /* 鍐呭鍖哄煙鏍峰紡 */ @@ -252,6 +257,10 @@ background-color: #1890FF !important; } +.delete-button { + background-color: #ff4d4f !important; +} + .stop-button { background-color: #ff4d4f !important; } @@ -314,6 +323,10 @@ opacity: 0.8 !important; } +.delete-button-hover { + opacity: 0.8 !important; +} + .stop-button-hover { opacity: 0.8 !important; } -- Gitblit v1.8.0