From d18a0c9fe708dcf58253b54ef2938b5e864b24df Mon Sep 17 00:00:00 2001
From: zuoxiao <zuoxiao>
Date: 星期一, 28 四月 2025 14:39:30 +0800
Subject: [PATCH] 优化水摄入页面的确认弹窗逻辑,调整showConfirm状态的设置位置,并移除不必要的代码注释,提升代码可读性和维护性。
---
pages/createIrrigation/createIrrigation.wxss | 73 ++++++++++++++++++++++++++++++++++--
1 files changed, 69 insertions(+), 4 deletions(-)
diff --git a/pages/createIrrigation/createIrrigation.wxss b/pages/createIrrigation/createIrrigation.wxss
index b4df43e..bcc0761 100644
--- a/pages/createIrrigation/createIrrigation.wxss
+++ b/pages/createIrrigation/createIrrigation.wxss
@@ -61,7 +61,7 @@
.form-label {
display: flex;
align-items: center;
- font-size: 28rpx;
+ font-size: 29rpx;
color: #333;
margin-bottom: 16rpx;
}
@@ -257,14 +257,31 @@
flex-wrap: wrap;
}
+.group-index {
+ color: #1890FF;
+ margin-right: 8rpx;
+ font-size: 28rpx;
+}
+
.group-name {
- font-size: 26rpx;
+ display: flex;
+ align-items: center;
+ font-size: 29rpx;
color: #666;
position: relative;
- padding-left: 10rpx;
- background-color: rgba(24, 144, 255, 0.1);
padding: 4rpx 20rpx;
+ background-color: rgba(24, 144, 255, 0.1);
border-radius: 10rpx;
+}
+
+.group-name-text {
+ color: #333;
+ margin-right: 8rpx;
+}
+
+.group-intake-count {
+ color: #999;
+ font-size: 26rpx;
}
.group-hint {
@@ -455,4 +472,52 @@
color: #666;
line-height: 1.6;
padding-left: 20rpx;
+}
+
+/* 鏃堕棿鎻愮ず寮圭獥鏍峰紡 */
+.time-info-content {
+ padding: 20rpx 30rpx;
+}
+
+.time-info-item {
+ display: flex;
+ margin: 20rpx 0;
+}
+
+.info-text-container {
+ flex: 1;
+}
+
+.info-title {
+ font-size: 32rpx;
+ color: #000;
+ font-weight: 500;
+ margin-bottom: 12rpx;
+ position: relative;
+ padding-left: 24rpx;
+}
+
+.info-title::before {
+ content: '';
+ position: absolute;
+ left: 0;
+ top: 50%;
+ transform: translateY(-50%);
+ width: 8rpx;
+ height: 28rpx;
+ background-color: #1890FF;
+ border-radius: 4rpx;
+}
+
+.info-desc {
+ font-size: 28rpx;
+ color: #666;
+ line-height: 1.5;
+ padding-left: 24rpx;
+}
+
+.divider {
+ height: 1rpx;
+ background-color: #eee;
+ margin: 16rpx 0;
}
\ No newline at end of file
--
Gitblit v1.8.0