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_recharge.xml |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/qihealonelibrary/src/main/res/layout/qihe_item_recharge.xml b/qihealonelibrary/src/main/res/layout/qihe_item_recharge.xml
index 1252d90..198d4c8 100644
--- a/qihealonelibrary/src/main/res/layout/qihe_item_recharge.xml
+++ b/qihealonelibrary/src/main/res/layout/qihe_item_recharge.xml
@@ -36,29 +36,30 @@
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_weight="1"
-                android:text="閲戦锛�"
+                android:text="鍏呭�奸噾棰濓細"
                 android:textSize="14sp" />
-            <TextView
-                android:id="@+id/rachagerWater"
-                android:layout_width="match_parent"
-                android:layout_height="wrap_content"
-                android:layout_weight="1"
-                android:text="鍏呭�兼按閲忥細"
-                android:textSize="14sp" />
-
             <TextView
                 android:id="@+id/balance"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_weight="1"
-                android:text="浣欓锛�"
+                android:text="鍓╀綑閲戦锛�"
                 android:textSize="14sp" />
+
+<!--            <TextView-->
+<!--                android:id="@+id/balance"-->
+<!--                android:layout_width="match_parent"-->
+<!--                android:layout_height="wrap_content"-->
+<!--                android:layout_weight="1"-->
+<!--                android:text="浣欓锛�"-->
+<!--                android:textSize="14sp" />-->
             <TextView
                 android:id="@+id/surplusWater"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
                 android:layout_weight="1"
                 android:text="鍓╀綑姘撮噺锛�"
+                android:visibility="gone"
                 android:textSize="14sp" />
 
             <TextView

--
Gitblit v1.8.0