From ad9c163fefcfdd15463926f7713c4af81c01cd87 Mon Sep 17 00:00:00 2001
From: zuoxiao <zuoxiao>
Date: 星期四, 27 三月 2025 13:50:58 +0800
Subject: [PATCH] 更新创建灌溉计划页面,添加API通信模块,优化项目选择器和时间选择功能;增强用户体验,修复轮灌组显示逻辑,调整样式和配置文件。
---
pages/createIrrigation/createIrrigation.wxss | 100 ++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 97 insertions(+), 3 deletions(-)
diff --git a/pages/createIrrigation/createIrrigation.wxss b/pages/createIrrigation/createIrrigation.wxss
index 3872378..b4df43e 100644
--- a/pages/createIrrigation/createIrrigation.wxss
+++ b/pages/createIrrigation/createIrrigation.wxss
@@ -8,6 +8,44 @@
box-sizing: border-box;
}
+/* 閫夋嫨鍣ㄥ鍣ㄦ牱寮� */
+.picker-container {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: 9999;
+ pointer-events: none;
+}
+
+/* 钂欏眰鏍峰紡 */
+.picker-mask {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background-color: rgba(0, 0, 0, 0.5);
+ pointer-events: auto;
+}
+
+.picker-container .t-date-time-picker,
+.picker-container .t-picker {
+ pointer-events: auto;
+}
+
+/* 褰撻�夋嫨鍣ㄦ樉绀烘椂 */
+.t-date-time-picker[visible],
+.t-picker[visible] {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ background-color: #fff;
+ border-radius: 24rpx 24rpx 0 0;
+}
+
/* 琛ㄥ崟椤规牱寮� */
.form-item {
display: flex;
@@ -21,11 +59,17 @@
}
.form-label {
+ display: flex;
+ align-items: center;
font-size: 28rpx;
color: #333;
- font-weight: 500;
- width: 200rpx; /* 鍥哄畾鏍囩瀹藉害 */
- flex-shrink: 0; /* 闃叉鏍囩瀹藉害琚帇缂� */
+ margin-bottom: 16rpx;
+}
+
+.info-icon {
+ width: 32rpx;
+ height: 32rpx;
+ margin-left: 8rpx;
}
.form-input {
@@ -361,4 +405,54 @@
font-size: 32rpx;
color: #1890FF;
font-weight: 500;
+}
+
+.empty-container {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ justify-content: center;
+ padding: 40rpx 0;
+}
+
+.empty-image {
+ width: 200rpx;
+ height: 200rpx;
+ margin-bottom: 20rpx;
+}
+
+.empty-text {
+ color: #999;
+ font-size: 30rpx;
+}
+
+.empty-tip {
+ font-size: 28rpx;
+ color: #999;
+}
+
+.dialog-content {
+ padding: 20rpx 0;
+}
+
+.dialog-section {
+ margin-bottom: 24rpx;
+}
+
+.dialog-section:last-child {
+ margin-bottom: 0;
+}
+
+.dialog-title {
+ font-size: 28rpx;
+ color: #333;
+ font-weight: 500;
+ margin-bottom: 8rpx;
+}
+
+.dialog-desc {
+ font-size: 26rpx;
+ color: #666;
+ line-height: 1.6;
+ padding-left: 20rpx;
}
\ No newline at end of file
--
Gitblit v1.8.0