From 5edfd12deb166302708857515a833d1471a0f208 Mon Sep 17 00:00:00 2001 From: zuoxiao <lf_zuo@163.com> Date: 星期三, 25 六月 2025 16:15:23 +0800 Subject: [PATCH] feat(database): 增加管理卡相关功能并优化数据库结构- 新增 ManagerCardBean 数据类用于管理卡信息 - 在 AppDataBase 中添加 ManagerCardDao 接口 - 实现管理卡的数据库迁移策略 - 优化支付方式 ID 类型,从 Long改为 String - 重构更新写卡和上报状态的逻辑,支持管理卡和用户卡 --- generallibrary/src/main/res/layout/item_user_list.xml | 26 +++++++++++++++++++++----- 1 files changed, 21 insertions(+), 5 deletions(-) diff --git a/generallibrary/src/main/res/layout/item_user_list.xml b/generallibrary/src/main/res/layout/item_user_list.xml index f2e4eab..1fa1abb 100644 --- a/generallibrary/src/main/res/layout/item_user_list.xml +++ b/generallibrary/src/main/res/layout/item_user_list.xml @@ -62,14 +62,30 @@ android:textColor="#666666" android:layout_marginBottom="4dp"/> - <TextView - android:id="@+id/tvAddress" + <LinearLayout + android:id="@+id/llAddress" android:layout_width="match_parent" android:layout_height="wrap_content" - android:textSize="14sp" - android:textColor="#666666" + android:orientation="horizontal" android:layout_marginBottom="4dp" - android:visibility="gone"/> + android:visibility="gone"> + + <TextView + android:id="@+id/tvAddressLabel" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="鍦板潃锛�" + android:textSize="14sp" + android:textColor="#666666"/> + + <TextView + android:id="@+id/tvAddressValue" + android:layout_width="0dp" + android:layout_weight="1" + android:layout_height="wrap_content" + android:textSize="14sp" + android:textColor="#666666"/> + </LinearLayout> <TextView android:id="@+id/tvOperateDate" -- Gitblit v1.8.0