From a8751388c9a86ae95714a15279994d8aa426a26d Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期五, 13 六月 2025 14:59:02 +0800
Subject: [PATCH] feat(generallibrary): 优化充值功能并添加水价获取- 在 activity_recharge_detail.xml 中移除了不必要的 bold 样式- 在 EditText 中添加了金额输入限制(数字和小数点)- 在 BaseApplication 中添加了水价信息存储 - 在 MainActivity 中实现了延时获取水价的功能- 优化了 RechargeDetailActivity 中的水价检查和使用逻辑 - 在 README.md 中添加了金额格式化和水价获取的最佳实践指南

---
 qihealonelibrary/src/main/res/layout/qihe_item_replacements.xml |   18 ++++++++++++------
 1 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/qihealonelibrary/src/main/res/layout/qihe_item_replacements.xml b/qihealonelibrary/src/main/res/layout/qihe_item_replacements.xml
index 72c0f55..65d9510 100644
--- a/qihealonelibrary/src/main/res/layout/qihe_item_replacements.xml
+++ b/qihealonelibrary/src/main/res/layout/qihe_item_replacements.xml
@@ -7,14 +7,13 @@
 
         <variable
             name="activity"
-            type="com.dayu.qihealonelibrary.activity.ReplacementActivity" />
+            type="com.dayu.qihealonelibrary.activity.ManagerListActivityQHAlone" />
 
     </data>
 
-
     <LinearLayout
         android:layout_width="match_parent"
-        android:layout_height="match_parent"
+        android:layout_height="wrap_content"
         android:orientation="vertical">
 
         <LinearLayout
@@ -24,7 +23,7 @@
             android:layout_marginLeft="15dp"
             android:layout_marginTop="10dp"
             android:layout_marginRight="15dp"
-            android:onClick="@{ activity.itemClick}"
+            android:onClick="@{ activity::itemClick}"
             android:orientation="vertical">
 
             <TextView
@@ -36,11 +35,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
@@ -48,7 +54,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