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颜色 --- app/build.gradle | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 7456738..6a96054 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ android { signingConfigs { debug { - storeFile file('../dycz.jks') + storeFile file("${project.rootDir}/dycz.jks") storePassword 'dycz@2023' keyAlias 'dayu' keyPassword 'dycz@2023' @@ -16,8 +16,8 @@ applicationId "com.dayu.recharge" minSdk 23 targetSdk 26 - versionCode 265 - versionName "2.6.5" + versionCode 266 + versionName "2.6.6" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { @@ -28,7 +28,10 @@ buildTypes { release { - minifyEnabled false + //琛ㄧず鍚敤浠g爜娣锋穯銆� + minifyEnabled true + // 琛ㄧず绉婚櫎鏈娇鐢ㄧ殑璧勬簮鏂囦欢銆� + shrinkResources true proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } @@ -64,14 +67,15 @@ runtimeOnly("androidx.room:room-common:2.3.0") annotationProcessor "androidx.room:room-compiler:2.3.0" - implementation 'com.google.zxing:core:3.4.1' +// implementation 'com.google.zxing:core:3.4.1' implementation group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12' - implementation 'com.wang.avi:library:2.1.3' +// implementation 'com.wang.avi:library:2.1.3' implementation project(':henanlibrary') implementation project(':baselibrary') implementation project(':qihealonelibrary') implementation project(':qiheonlinelibrary') + implementation project(':generallibrary') implementation 'com.tencent.bugly:crashreport:4.1.9.3' // 澶勭悊鍥剧墖 @@ -79,7 +83,7 @@ //鏉冮檺鐢宠 implementation 'com.github.getActivity:XXPermissions:18.5' //婊氬姩閫夋嫨妗� - implementation 'com.contrarywind:Android-PickerView:4.1.9' +// implementation 'com.contrarywind:Android-PickerView:4.1.9' //鍒楄〃 implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5' -- Gitblit v1.8.0