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/confirm_dialog.xml | 22 +++++++++++++++++++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/baselibrary/src/main/res/layout/confirm_dialog.xml b/baselibrary/src/main/res/layout/confirm_dialog.xml index eb1bbf4..32e0b2a 100644 --- a/baselibrary/src/main/res/layout/confirm_dialog.xml +++ b/baselibrary/src/main/res/layout/confirm_dialog.xml @@ -2,7 +2,7 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" - android:background="#00ffffff" + android:background="#40000000" android:gravity="center" android:orientation="vertical"> @@ -13,6 +13,22 @@ android:background="@drawable/base_bg_dialog_top_stroke" android:gravity="center" android:orientation="vertical"> + + <TextView + android:id="@+id/title" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="20dp" + android:layout_marginTop="20dp" + android:layout_marginRight="20dp" + android:layout_marginBottom="5dp" + android:gravity="center" + android:text="" + android:textColor="@color/dialog_btn" + android:textSize="25sp" + android:textStyle="bold" + android:visibility="gone" /> + <TextView android:id="@+id/confirm_data" @@ -26,7 +42,7 @@ <View android:layout_width="match_parent" - android:layout_height="2px" + android:layout_height="1dp" android:layout_marginTop="20dp" android:background="@color/line_bg" /> @@ -48,7 +64,7 @@ android:textSize="20sp" /> <View - android:layout_width="2px" + android:layout_width="1dp" android:layout_height="match_parent" android:background="@color/line_bg" /> -- Gitblit v1.8.0