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颜色
---
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