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/qihe_item_new_card.xml |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/qihealonelibrary/src/main/res/layout/qihe_item_new_card.xml b/qihealonelibrary/src/main/res/layout/qihe_item_new_card.xml
index 323228f..f57e4d1 100644
--- a/qihealonelibrary/src/main/res/layout/qihe_item_new_card.xml
+++ b/qihealonelibrary/src/main/res/layout/qihe_item_new_card.xml
@@ -6,7 +6,7 @@
 
     <LinearLayout
         android:layout_width="match_parent"
-        android:layout_height="match_parent"
+        android:layout_height="wrap_content"
         android:orientation="vertical">
 
         <LinearLayout
@@ -27,11 +27,18 @@
                 android:textSize="14sp" />
 
             <TextView
+                android:id="@+id/cardNumber"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:layout_weight="1"
+                android:text="鍗″彿锛�" />
+
+            <TextView
                 android:id="@+id/userNo"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_weight="1"
-                android:text="鎴峰彿锛�123123"
+                android:text="韬唤璇佸彿锛�123123"
                 android:textSize="14sp" />
 
             <TextView
@@ -39,7 +46,7 @@
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_weight="1"
-                android:text="姘撮噺锛�123123"
+                android:text="鐢佃瘽锛�123123"
                 android:textSize="14sp" />
 
             <TextView

--
Gitblit v1.8.0