From 55b196ea2e28a8d859c85326f2147a4f7b7196de Mon Sep 17 00:00:00 2001
From: zuojincheng <lf_zuo@163.com>
Date: 星期四, 10 四月 2025 10:58:32 +0800
Subject: [PATCH] feat(general): 新增开卡信息保存功能并优化界面布局- 新增 CardRegistrationBean 数据模型用于保存开卡信息 - 在数据库中添加 card_registration 表用于存储开卡记录 - 优化 NewCard2Activity 界面布局,调整样式和间距 - 添加协程支持,实现异步保存开卡信息到数据库 - 更新颜色配置,统一使用新加的 base_blue_bg 和 base_green_bg颜色

---
 qiheonlinelibrary/src/main/res/layout/activity_new_card_qhl.xml |   29 ++++++++++++++++++++++++++---
 1 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/qiheonlinelibrary/src/main/res/layout/activity_new_card_qhl.xml b/qiheonlinelibrary/src/main/res/layout/activity_new_card_qhl.xml
index 58933f4..d98d40e 100644
--- a/qiheonlinelibrary/src/main/res/layout/activity_new_card_qhl.xml
+++ b/qiheonlinelibrary/src/main/res/layout/activity_new_card_qhl.xml
@@ -35,7 +35,7 @@
                     android:textSize="@dimen/new_card_size" />
 
                 <TextView
-                    android:id="@+id/newCard_villageNum"
+                    android:id="@+id/newCard_arerNumber"
                     android:layout_width="match_parent"
                     android:layout_height="wrap_content"
                     android:inputType="number"
@@ -53,7 +53,7 @@
                 <TextView
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
-                    android:text="濮� 鍚嶏細"
+                    android:text="濮�    鍚嶏細"
                     android:textSize="@dimen/new_card_size" />
 
                 <EditText
@@ -61,6 +61,7 @@
                     android:layout_width="0dp"
                     android:layout_height="wrap_content"
                     android:layout_weight="1"
+                    android:text=""
                     android:textSize="@dimen/new_card_size" />
 
                 <ImageView
@@ -90,6 +91,7 @@
                     android:digits="0123456789Xx"
                     android:inputType="text"
                     android:maxLength="18"
+                    android:text=""
                     android:textSize="@dimen/new_card_size" />
 
 
@@ -137,7 +139,7 @@
                 <TextView
                     android:layout_width="wrap_content"
                     android:layout_height="wrap_content"
-                    android:text="鐢�  璇濓細"
+                    android:text="鐢�     璇濓細"
                     android:textSize="@dimen/new_card_size" />
 
                 <EditText
@@ -146,9 +148,30 @@
                     android:layout_height="wrap_content"
                     android:inputType="number"
                     android:maxLength="11"
+                    android:text=""
                     android:textSize="@dimen/new_card_size" />
             </LinearLayout>
 
+            <LinearLayout
+                style="@style/newCardLL"
+                android:layout_width="match_parent"
+                android:layout_height="wrap_content">
+
+                <TextView
+                    android:layout_width="wrap_content"
+                    android:layout_height="wrap_content"
+                    android:text="寮�鍗″伐鏈垂(鍏�)锛�"
+                    android:textSize="@dimen/new_card_size" />
+
+                <EditText
+                    android:id="@+id/newCard_morny"
+                    android:layout_width="match_parent"
+                    android:layout_height="wrap_content"
+                    android:inputType="numberDecimal"
+                    android:text=""
+
+                    android:textSize="@dimen/new_card_size" />
+            </LinearLayout>
 
         </LinearLayout>
 

--
Gitblit v1.8.0