From 25ebc714977470b5ed02b0ec7f30ea0615ebd89f Mon Sep 17 00:00:00 2001
From: zuoxiao <zuoxiao>
Date: 星期五, 14 三月 2025 16:48:09 +0800
Subject: [PATCH] 更新应用配置,添加AppID并修改页面路由;优化取水口界面,增加定时开阀功能和相关参数设置;修复首页反馈图标及提示信息。
---
pages/waterIntake/waterIntake.wxss | 186 +++++++++++++++++++++++++---------------------
1 files changed, 101 insertions(+), 85 deletions(-)
diff --git a/pages/waterIntake/waterIntake.wxss b/pages/waterIntake/waterIntake.wxss
index 9c65252..948121e 100644
--- a/pages/waterIntake/waterIntake.wxss
+++ b/pages/waterIntake/waterIntake.wxss
@@ -1,106 +1,43 @@
-/* pages/waterIntake/waterIntake.wxss */
-/* index.wxss */
.container {
- padding-left: 20rpx;
- padding-right: 20rpx;
- padding-top: 5rpx;
- padding-bottom: 5rpx;
+ padding: 5rpx 20rpx;
background-color: #fff;
width: 100%;
height: 100vh;
- overflow: hidden;
- /* 闃叉搴曢儴鍖哄煙婊氬姩 */
display: flex;
flex-direction: column;
+ overflow: hidden;
}
.tabs {
display: flex;
justify-content: space-around;
- position: relative;
width: 100%;
border-bottom: 1px solid #eee;
- /* Tabs 鍗犳弧鏁翠釜妯悜灞忓箷 */
}
.tab {
font-size: 16px;
padding: 10px;
- cursor: pointer;
- position: relative;
width: 50%;
- /* Tabs 骞冲垎鏁翠釜妯悜灞忓箷 */
text-align: center;
- /* 鏂囧瓧灞呬腑 */
-}
-
-list-container
-
-.list {
- margin-top: 20px;
-}
-
-.item {
- padding: 10px;
- border-bottom: 1px solid #eee;
-}
-
-
-.search-container {
- display: flex;
- align-items: center;
- padding: 10rpx;
- border-bottom: 1px solid #eee;
-}
-
-/* 鎼滅储妗� */
-.search-input {
- flex: 1;
- height: 80rpx;
- padding: 0 20rpx;
- border: 1px solid #ccc;
- border-radius: 20rpx;
- font-size: 30rpx;
-}
-
-/* 鎼滅储鎸夐挳 */
-.search-button {
- display: flex;
- margin-left: 10rpx;
- height: 60rpx;
-
- background-color: #1890FF;
- color: white;
- border: none;
- border-radius: 20rpx;
- font-size: 30rpx;
- text-align: center;
- align-items: center;
+ position: relative;
}
.list-container {
+ flex: 1;
+ overflow-y: auto;
+ z-index: 0;
display: flex;
flex-direction: column;
- justify-content: flex-start;
- /* 纭繚鍐呭灞呬笂 */
- height: 100%;
-}
-
-.all-waterIntake {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- /* 纭繚鍐呭灞呬笂 */
- height: 100%;
- width: 100%;
+ padding-bottom: 20rpx; /* 澧炲姞搴曢儴濉厖 */
}
.item {
display: flex;
align-items: center;
justify-content: space-between;
- padding: 10px;
- /* 閫傚綋璋冩暣闂磋窛 */
+ padding: 15px 20rpx;
+ border-bottom: 1px solid #eee;
}
.item-left {
@@ -108,22 +45,20 @@
align-items: center;
}
-.item-right {
- display: flex;
- align-items: center;
+.item-left text{
+ font-size: 40rpx;
+ min-width: 150rpx;
}
.item-img {
width: 40rpx;
- /* 鏍规嵁闇�瑕佽皟鏁村浘鏍囧ぇ灏� */
height: 40rpx;
- /* 鏍规嵁闇�瑕佽皟鏁村浘鏍囧ぇ灏� */
margin-left: 20rpx;
}
.item-button {
display: flex;
- height: 60rpx;
+ height: 80rpx;
padding: 0 60rpx;
background-color: #1890FF;
color: white;
@@ -133,8 +68,8 @@
align-items: center;
justify-content: center;
}
-.item-left text{
- font-size: 40rpx;
+.item-button:active {
+ background-color: #7c7c7c; /* Change to a darker color when pressed */
}
.indicator {
width: 100%;
@@ -143,8 +78,6 @@
position: absolute;
bottom: 0;
left: 0;
- transform: translateX(0);
- /* 鍒濆鍖栦綅缃� */
}
.noMore-View {
@@ -156,11 +89,94 @@
flex-direction: column;
}
-.noMore-img{
+.noMore-img {
width: 300rpx;
height: 300rpx;
}
-.noMore-text{
- color:#969494;
+.noMore-text {
+ color: #969494;
+}
+
+.search-container {
+ display: flex;
+ align-items: center;
+ padding: 10rpx;
+ border-bottom: 1px solid #eee;
+}
+
+.search-input {
+ flex: 1;
+ height: 80rpx;
+ padding: 0 20rpx;
+ border: 1px solid #ccc;
+ border-radius: 20rpx;
+ font-size: 30rpx;
+}
+
+.search-button {
+ margin-left: 10rpx;
+ height: 60rpx;
+ background-color: #1890FF;
+ color: white;
+ border: none;
+ border-radius: 20rpx;
+ font-size: 30rpx;
+ text-align: center;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.all-waterIntake {
+ width: 100%;
+ flex: 1;
+ overflow-y: auto;
+ z-index: 0;
+ display: flex;
+ flex-direction: column;
+ padding-bottom: 10rpx; /* 澧炲姞搴曢儴濉厖 */
+}
+.dialog{
+ --td-dialog-content-font-size:40rpx;
+ --td-dialog-content-line-height:50rpx
+}
+
+.error-dialog{
+ --td-dialog-title-color:red;
+ --td-dialog-title-font-size:45rpx;
+}
+
+.search-results {
+ position: absolute;
+ top: 100rpx; /* 鏍规嵁鎼滅储妗嗙殑楂樺害璋冩暣 */
+ left: 30rpx;
+ right: 30rpx;
+ bottom: 0;
+ background-color: rgba(255, 255, 255, 0.90); /* 璁剧疆鐧借壊鑳屾櫙 */
+ z-index: 1;
+ overflow-y: auto;
+}
+
+.result-item {
+ padding: 20rpx;
+ border-bottom: 1px solid #eaeaea;
+}
+
+.item-img-left {
+ width: 40rpx;
+ /* 鏍规嵁闇�瑕佽皟鏁村浘鏍囧ぇ灏� */
+ height: 40rpx;
+ /* 鏍规嵁闇�瑕佽皟鏁村浘鏍囧ぇ灏� */
+
+}
+
+.item-img {
+ width: 40rpx;
+ height: 40rpx;
+ margin-left: 20rpx;
+}
+.water-intake-name {
+ font-size: 50rpx !important;
+ margin-left: 15rpx;
}
\ No newline at end of file
--
Gitblit v1.8.0