From 50433e86b718fab0d94ea1410724b29b5f53fa0a Mon Sep 17 00:00:00 2001 From: zuoxiao <zuoxiao> Date: 星期三, 09 四月 2025 15:11:26 +0800 Subject: [PATCH] 更新SVG图标样式,优化灌溉计划和取水口页面逻辑,添加状态处理和信息提示功能;调整界面样式,提升用户体验。 --- pages/home/home.wxml | 33 +++++++++++++++++++++++++++++---- 1 files changed, 29 insertions(+), 4 deletions(-) diff --git a/pages/home/home.wxml b/pages/home/home.wxml index 923d87d..513fc93 100644 --- a/pages/home/home.wxml +++ b/pages/home/home.wxml @@ -9,7 +9,7 @@ <text class="head-bottom">{{userPhone}}</text> </view> <view class="head-button-wrapper"> - <text class="unbind" bind:tap="feedBack">瑙g粦</text> + <text class="unbind" bind:tap="unbind">瑙g粦</text> <text class="head-bottom" bind:tap="feedBack">鑱旂郴瀹㈡湇</text> </view> <view class="scen-view" bind:tap="scenCode"> @@ -33,15 +33,18 @@ <image src="/images/record.svg" /> <text>寮�鍏抽榾璁板綍</text> </view> - <view class="center-view" bind:tap="feedBack"> - <image src="/images/question.svg" /> + <view class="center-view" bind:tap="irrigation"> + <image src="/images/irrigation.svg" /> <text>杞亴</text> </view> </view> <view class="bottom-title"> - <text class="bottom-title-text">蹇�熷叧闃�</text> + <view class="title-center"> + <text class="bottom-title-text">蹇�熷叧闃�</text> + <image class="info-img" bind:tap="infoShow" src="/images/info.svg"></image> + </view> <text class="refresh-button" bind:tap="startPullDownRefresh">鍒锋柊</text> </view> <view class="divider"></view> @@ -93,6 +96,14 @@ <radio value="MQ" checked="{{selectedProject === 'MQ'}}" color="#1890FF" /> <text>姘戝嫟椤圭洰</text> </label> + <label class="project-radio {{selectedProject === 'TEST' ? 'project-radio-selected' : ''}}"> + <radio value="TEST" checked="{{selectedProject === 'TEST'}}" color="#1890FF" /> + <text>娴嬭瘯椤圭洰</text> + </label> + <label class="project-radio {{selectedProject === 'SCHOOL' ? 'project-radio-selected' : ''}}"> + <radio value="SCHOOL" checked="{{selectedProject === 'SCHOOL'}}" color="#1890FF" /> + <text>瀛︽牎椤圭洰</text> + </label> </radio-group> </view> <view class="project-modal-footer"> @@ -100,5 +111,19 @@ </view> </view> </view> + <t-dialog class="dialog" title="閫氱煡缁撴灉" visible="{{showTipDialog}}" content="{{tipData}}" confirm-btn="{{ confirmBtn }}" bind:confirm="cancelDialog" /> + <t-dialog visible="{{showInfoDialog}}" title="鍙嬫儏鎻愮ず" confirm-btn="{{ confirmBtn }}" bind:confirm="confirmBtnInfoDialog"> + <!-- 閫傞厤skyline锛屽鍔爐ype="list" --> + <scroll-view slot="content" type="list" scroll-y class="long-content"> + <view class="content-container"> + <text class="content-container"> + 1.缃戠粶绛変笉鍙姉鍔涘洜绱犲彲鑳藉鑷磋澶囩姸鎬佹樉绀哄欢杩熸垨閿欒銆� + 2.褰撴彁绀烘偍鎿嶄綔澶辫触鍚庢偍鍙◢鍚庡皾璇曢噸鏂版搷浣溿�� + 3.鍦ㄥ畾鏃舵垨瀹氶噺寮�闃�鐨勯绾﹀紡寮�闃�鍚庯紝鍙湁闃�闂ㄥ埌杈剧害瀹氱殑鏃堕棿鎴愬姛寮�闃�鍚庢湭鍏抽榾璁板綍鎵嶄細鏄剧ず銆� + 4.鎴戜滑璇氭寶鍦伴個璇锋偍閫氳繃鎰忚鍙嶉娓犻亾鎻愬嚭瀹濊吹鐨勫缓璁垨鎰忚銆� + </text> + </view> + </scroll-view> + </t-dialog> </view> \ No newline at end of file -- Gitblit v1.8.0