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颜色
---
baselibrary/src/main/res/layout/custom_titlebar.xml | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diff --git a/baselibrary/src/main/res/layout/custom_titlebar.xml b/baselibrary/src/main/res/layout/custom_titlebar.xml
index e061c5f..ca1e8c3 100644
--- a/baselibrary/src/main/res/layout/custom_titlebar.xml
+++ b/baselibrary/src/main/res/layout/custom_titlebar.xml
@@ -71,7 +71,7 @@
android:ellipsize="end"
android:maxLines="1"
android:text="鏍囬"
- android:textColor="#333333"
+ android:textColor="#ffffff"
android:textSize="20sp"
android:visibility="visible" />
</LinearLayout>
@@ -84,17 +84,17 @@
android:layout_weight="2"
android:background="@null"
android:gravity="center_vertical|right"
- android:orientation="horizontal"
- android:paddingRight="15dp">
+ android:orientation="horizontal">
<TextView
android:id="@+id/tv_titlebar_right"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
+ android:layout_marginRight="15dp"
android:background="@null"
android:text="瀹屾垚"
- android:textColor="#333333"
+ android:textColor="#ffffff"
android:textSize="20sp"
android:visibility="gone" />
@@ -103,6 +103,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@null"
+ android:paddingLeft="5dp"
+ android:paddingTop="10dp"
+ android:paddingBottom="10dp"
android:src="@null"
android:visibility="visible" />
</LinearLayout>
--
Gitblit v1.8.0