From 61e89d748cc7f5456c20866e672a4bde153534f1 Mon Sep 17 00:00:00 2001
From: zuoxiao <zuoxiao>
Date: 星期一, 21 四月 2025 17:18:53 +0800
Subject: [PATCH] 优化项目配置,重构项目URL管理逻辑,改为使用动态配置;更新灌溉组详情页面,添加详细信息展示和请求逻辑,提升用户体验;更新首页项目选择器,支持动态项目列表展示。

---
 pages/irrigation/irrigation.wxss |  110 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 105 insertions(+), 5 deletions(-)

diff --git a/pages/irrigation/irrigation.wxss b/pages/irrigation/irrigation.wxss
index 690a85d..51a20dc 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;
 }
@@ -324,4 +337,91 @@
 
 .add-button-hover {
   opacity: 0.8;
+}
+
+/* 鍔犺浇鏇村鏍峰紡 */
+.loading-more-container {
+  padding: 20rpx 0;
+  text-align: center;
+}
+
+.loading-more {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  padding: 20rpx 0;
+}
+
+.loading-dot {
+  width: 16rpx;
+  height: 16rpx;
+  border-radius: 50%;
+  background-color: #0052d9;
+  margin: 0 8rpx;
+  animation: loading 1.4s infinite ease-in-out both;
+}
+
+.loading-dot:nth-child(1) {
+  animation-delay: -0.32s;
+}
+
+.loading-dot:nth-child(2) {
+  animation-delay: -0.16s;
+}
+
+@keyframes loading {
+  0%, 80%, 100% {
+    transform: scale(0);
+  }
+  40% {
+    transform: scale(1);
+  }
+}
+
+.loading-more text {
+  margin-left: 12rpx;
+  font-size: 28rpx;
+  color: #999;
+}
+
+.no-more-data {
+  color: #999;
+  font-size: 26rpx;
+  line-height: 80rpx;
+}
+
+/* 鍒锋柊鍔ㄧ敾鏍峰紡 */
+.refresh-view {
+  text-align: center;
+  height: 80rpx;
+  line-height: 80rpx;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+
+.refresh-view .dot {
+  width: 16rpx;
+  height: 16rpx;
+  background-color: #0052d9;
+  border-radius: 50%;
+  margin: 0 8rpx;
+  animation: refresh 1.4s infinite ease-in-out both;
+}
+
+.refresh-view .dot:nth-child(1) {
+  animation-delay: -0.32s;
+}
+
+.refresh-view .dot:nth-child(2) {
+  animation-delay: -0.16s;
+}
+
+@keyframes refresh {
+  0%, 80%, 100% {
+    transform: scale(0);
+  }
+  40% {
+    transform: scale(1);
+  }
 } 
\ No newline at end of file

--
Gitblit v1.8.0