From f5180b600511d1871635bd364beb5bdd15f6ae88 Mon Sep 17 00:00:00 2001
From: zuojincheng <lf_zuo@163.com>
Date: 星期三, 26 三月 2025 18:05:07 +0800
Subject: [PATCH] feat(nfc): 优化 NFC写卡功能并添加新方法- 在 BaseNfcWriteHelper 中添加了新的 writeData 方法,增加了 isConnect 参数 - 优化了 NativeNfcWriteHelper 中的 writeData 实现,支持选择性连接 NFC - 更新了 NfcWriteAdapter,支持新的 writeData 方法- 修改了 NfcWreatHelper 中的 writeData 方法,使用新的接口 - 优化了 NfcWreatActivity 中的写卡逻辑

---
 qihealonelibrary/src/main/res/layout/activity_recharge_detail_qha.xml |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)

diff --git a/qihealonelibrary/src/main/res/layout/activity_recharge_detail_qha.xml b/qihealonelibrary/src/main/res/layout/activity_recharge_detail_qha.xml
index 343b546..4799161 100644
--- a/qihealonelibrary/src/main/res/layout/activity_recharge_detail_qha.xml
+++ b/qihealonelibrary/src/main/res/layout/activity_recharge_detail_qha.xml
@@ -27,14 +27,14 @@
             android:text="鐢ㄦ埛濮撳悕锛�"
             android:textSize="@dimen/text_size" />
 
+
         <TextView
             android:id="@+id/red_initCode"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:layout_marginTop="15dp"
-            android:text="鐢ㄦ埛娉ㄥ唽缂栧彿锛�"
+            android:text="褰撳墠鍗″彿锛�"
             android:textSize="@dimen/text_size" />
-
 
         <TextView
             android:id="@+id/red_remainder_morny"
@@ -43,15 +43,29 @@
             android:layout_marginTop="15dp"
             android:text="鍏呭�奸噾棰濓細"
             android:textSize="@dimen/text_size" />
-
+        <TextView
+            android:id="@+id/red_recharge_water"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginTop="15dp"
+            android:text="鍏呭�兼按閲忥細"
+            android:textSize="@dimen/text_size" />
         <TextView
             android:id="@+id/red_remainder_blance"
             android:layout_width="match_parent"
             android:layout_height="wrap_content"
             android:layout_marginTop="15dp"
             android:text="鍓╀綑閲戦锛�"
+            android:visibility="gone"
             android:textSize="@dimen/text_size" />
-
+        <TextView
+            android:id="@+id/red_surplusWater"
+            android:layout_width="match_parent"
+            android:layout_height="wrap_content"
+            android:layout_marginTop="15dp"
+            android:text="鍓╀綑姘撮噺锛�"
+            android:visibility="gone"
+            android:textSize="@dimen/text_size" />
         <TextView
             android:id="@+id/red_rechargeDate"
             android:layout_width="match_parent"

--
Gitblit v1.8.0