From 32d1501e6fe6338eb6dc51c26df7fe0808caac0d Mon Sep 17 00:00:00 2001
From: zuoxiao <lf_zuo@163.com>
Date: 星期四, 26 六月 2025 15:05:28 +0800
Subject: [PATCH] feat(general): 优化写卡成功界面并添加开卡功能- 重新设计写卡成功界面布局,增加滚动视图以支持长文本显示 - 添加开卡功能相关的UI和逻辑,包括工本费和充值金额的展示- 增加用户姓名和卡片信息的显示 - 优化打印凭证的内容和格式 -调整NFC连接逻辑,提高连接成功率

---
 qihealonelibrary/src/main/res/layout/activity_admin_setup_qha.xml |   27 ++++++++++++++++++++++++++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/qihealonelibrary/src/main/res/layout/activity_admin_setup_qha.xml b/qihealonelibrary/src/main/res/layout/activity_admin_setup_qha.xml
index 4fe1ee4..bc37b1d 100644
--- a/qihealonelibrary/src/main/res/layout/activity_admin_setup_qha.xml
+++ b/qihealonelibrary/src/main/res/layout/activity_admin_setup_qha.xml
@@ -84,7 +84,7 @@
                 style="@style/newCardLL"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
-                android:visibility="visible">
+                android:visibility="gone">
 
                 <TextView
                     android:layout_width="0dp"
@@ -106,7 +106,32 @@
 
 
             </LinearLayout>
+            <LinearLayout
+                style="@style/newCardLL"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:visibility="visible">
 
+                <TextView
+                    android:layout_width="0dp"
+                    android:layout_height="wrap_content"
+                    android:layout_weight="1.5"
+                    android:text="鐢靛崟浠�(鍏�/搴�)"
+                    android:textSize="@dimen/new_card_size" />
+
+                <EditText
+                    android:id="@+id/electric_newNum"
+                    android:layout_width="0dp"
+                    android:layout_height="@dimen/edt_height"
+                    android:layout_weight="2"
+                    android:background="@drawable/editbg"
+                    android:inputType="numberDecimal"
+                    android:lines="1"
+                    android:paddingLeft="10dp"
+                    android:textSize="@dimen/new_card_size" />
+
+
+            </LinearLayout>
             <LinearLayout
                 android:id="@+id/chose_address"
                 style="@style/newCardLL"

--
Gitblit v1.8.0