From aec1b6ec73897b5e5f3a85f2985447726a399ed0 Mon Sep 17 00:00:00 2001 From: zuoxiao <zuoxiao> Date: 星期六, 19 四月 2025 15:56:48 +0800 Subject: [PATCH] 更新灌溉计划页面,添加灌溉计划列表刷新标记,优化项目选择器和时间选择器的逻辑;更新样式以提升用户体验,确保在切换标签时只加载必要的数据。 --- pages/valveList/valveList.wxss | 83 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 83 insertions(+), 0 deletions(-) diff --git a/pages/valveList/valveList.wxss b/pages/valveList/valveList.wxss index babafeb..921e27e 100644 --- a/pages/valveList/valveList.wxss +++ b/pages/valveList/valveList.wxss @@ -1,4 +1,16 @@ /* pages/valveList/valveList.wxss */ +.container { + display: flex; + flex-direction: column; + height: 100vh; + width: 100%; + padding-left: 20rpx; + padding-right: 20rpx; + padding-top: 5rpx; + padding-bottom: 5rpx; + background-color: #fff; +} + .list-item { display: flex; flex-direction: column; @@ -26,4 +38,75 @@ color: #FFFF00; font-size: 50rpx; font-weight: bold; +} + +.tab { + font-size: 35rpx; + padding: 10px; + cursor: pointer; + position: relative; + width: 50%; + /* Tabs 骞冲垎鏁翠釜妯悜灞忓箷 */ + text-align: center; + /* 鏂囧瓧灞呬腑 */ +} + +.tabs { + display: flex; + justify-content: space-around; + position: relative; + width: 100%; + border-bottom: 1px solid #eee; + /* Tabs 鍗犳弧鏁翠釜妯悜灞忓箷 */ +} + +.list-container { + flex: 1; + width: 100%; + display: flex; + flex-direction: column; +} + +.noMore-View { + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + height: 100%; + padding: 40rpx 0; + width: 100%; + text-align: center; +} + +.noMore-img { + width: 200rpx; + height: 200rpx; + margin-bottom: 20rpx; +} + +.noMore-text { + font-size: 32rpx; + color: #999; +} + +.indicator { + width: 100%; + height: 3px; + background-color: #1890FF; + position: absolute; + bottom: 0; + left: 0; + transform: translateX(0); + /* 鍒濆鍖栦綅缃� */ +} + +.no-more-data { + display: flex; + justify-content: center; + align-items: center; + padding: 20rpx 0; + color: #999; + font-size: 28rpx; + width: 100%; + text-align: center; } \ No newline at end of file -- Gitblit v1.8.0