From 90612989855f6849fd94b0665168c3bb7619ff32 Mon Sep 17 00:00:00 2001
From: zuoxiao <zuoxiao>
Date: 星期一, 07 四月 2025 18:08:01 +0800
Subject: [PATCH] 更新项目配置,添加多个项目的专有设置,包括登录需求和统一ID;优化用户数据获取逻辑,确保根据项目需求进行登录状态检查;调整界面显示项目名称和提示信息,增强用户体验。
---
pages/home/home.wxml | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index 923d87d..3b1e10a 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,8 +33,8 @@
<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>
@@ -93,6 +93,10 @@
<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>
</radio-group>
</view>
<view class="project-modal-footer">
@@ -100,5 +104,5 @@
</view>
</view>
</view>
-
+ <t-dialog class="dialog" title="閫氱煡缁撴灉" visible="{{showTipDialog}}" content="{{tipData}}" confirm-btn="{{ confirmBtn }}" bind:confirm="cancelDialog" />
</view>
\ No newline at end of file
--
Gitblit v1.8.0