From 9cffe03d76840520bfbfeaf85933fcb2ed8385b8 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期三, 05 三月 2025 10:19:46 +0800
Subject: [PATCH] feat(generallibrary): 新增主界面和相关功能模块 - 新增 MainActivity 作为主界面,包含三个底部导航栏选项卡- 新增 BSCardFragment、RechargeFragment 和 MyFragment 作为三个选项卡对应的页面 - 新增 NewCardActivity 用于新建卡片 - 新增 AreaCard 类用于处理区域表号卡数据 - 新增 BaseCard 类作为卡片数据的基础类 - 新增 TabAdapter 用于管理选项卡页面 - 更新 AndroidManifest.xml 设置主活动为 MainActivity - 更新 build.gradle 添加 generallibrary 依赖

---
 qihealonelibrary/src/main/res/layout/activity_admin_setup_qha.xml |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 files changed, 58 insertions(+), 2 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 a3c6bc3..bc37b1d 100644
--- a/qihealonelibrary/src/main/res/layout/activity_admin_setup_qha.xml
+++ b/qihealonelibrary/src/main/res/layout/activity_admin_setup_qha.xml
@@ -28,7 +28,8 @@
             <LinearLayout
                 style="@style/newCardLL"
                 android:layout_width="match_parent"
-                android:layout_height="wrap_content">
+                android:layout_height="wrap_content"
+                android:visibility="gone">
 
                 <TextView
                     android:layout_width="0dp"
@@ -44,7 +45,8 @@
                     android:layout_weight="2"
                     android:background="@drawable/editbg"
                     android:inputType="number"
-                    android:maxLength="11"
+                    android:lines="1"
+                    android:maxLength="5"
                     android:paddingLeft="10dp"
                     android:textSize="@dimen/new_card_size" />
 
@@ -72,11 +74,65 @@
                     android:layout_weight="2"
                     android:background="@drawable/editbg"
                     android:inputType="number"
+                    android:lines="1"
+                    android:maxLength="5"
                     android:paddingLeft="10dp"
                     android:textSize="@dimen/new_card_size" />
             </LinearLayout>
 
             <LinearLayout
+                style="@style/newCardLL"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content"
+                android:visibility="gone">
+
+                <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/admin_waterPrice"
+                    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
+                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"
                 android:layout_width="match_parent"

--
Gitblit v1.8.0