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 | 95 +++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 95 insertions(+), 0 deletions(-)
diff --git a/pages/irrigation/irrigation.wxss b/pages/irrigation/irrigation.wxss
index 5a4e019..51a20dc 100644
--- a/pages/irrigation/irrigation.wxss
+++ b/pages/irrigation/irrigation.wxss
@@ -257,6 +257,10 @@
background-color: #1890FF !important;
}
+.delete-button {
+ background-color: #ff4d4f !important;
+}
+
.stop-button {
background-color: #ff4d4f !important;
}
@@ -319,6 +323,10 @@
opacity: 0.8 !important;
}
+.delete-button-hover {
+ opacity: 0.8 !important;
+}
+
.stop-button-hover {
opacity: 0.8 !important;
}
@@ -329,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