From f17b68a94cee73301f5a96949d4eec4aca688f5c Mon Sep 17 00:00:00 2001 From: YANGJIANKUAN Date: Fri, 5 Dec 2025 13:05:55 +0800 Subject: [PATCH] feat: ui opt v2 --- .../gjc/viewModel/GjcHandoverViewModel.kt | 7 + .../main/res/layout/activity_gjc_handover.xml | 2182 +++++++++-------- 2 files changed, 1112 insertions(+), 1077 deletions(-) diff --git a/module_gjc/src/main/java/com/lukouguoji/gjc/viewModel/GjcHandoverViewModel.kt b/module_gjc/src/main/java/com/lukouguoji/gjc/viewModel/GjcHandoverViewModel.kt index 00c0d8e..479d46f 100644 --- a/module_gjc/src/main/java/com/lukouguoji/gjc/viewModel/GjcHandoverViewModel.kt +++ b/module_gjc/src/main/java/com/lukouguoji/gjc/viewModel/GjcHandoverViewModel.kt @@ -9,4 +9,11 @@ class GjcHandoverViewModel : BaseViewModel() { // 暂时为静态页面,无业务逻辑 + fun cancelClick() { + + } + + fun saveClick() { + + } } diff --git a/module_gjc/src/main/res/layout/activity_gjc_handover.xml b/module_gjc/src/main/res/layout/activity_gjc_handover.xml index b798b94..2768bec 100644 --- a/module_gjc/src/main/res/layout/activity_gjc_handover.xml +++ b/module_gjc/src/main/res/layout/activity_gjc_handover.xml @@ -22,598 +22,432 @@ + android:fillViewport="true"> + android:padding="10dp" + android:orientation="vertical"> - - - - + android:background="@drawable/bg_white_radius_8" + android:orientation="vertical" + android:padding="15dp"> - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:layout_height="wrap_content" + android:background="@drawable/bg_table_cell" + android:orientation="vertical"> + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + android:orientation="horizontal"> - - + + + + + + + + + - - - - - - - - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:textSize="14sp" /> - + android:layout_height="36dp" + android:gravity="center_vertical|end" + android:orientation="horizontal" + android:paddingHorizontal="10dp"> + + + + + + + + - + + + android:gravity="center" + android:text="经办人签名" + android:textColor="@color/color_33" + android:textSize="14sp" /> - - - - - - - + android:gravity="center" + android:textColor="@color/color_33" + android:textSize="14sp" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - + - - - - + + android:orientation="vertical"> - + + + - + android:layout_height="wrap_content" + android:layout_weight="5" + android:orientation="vertical"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + android:minHeight="40dp" + android:orientation="horizontal"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + android:background="@drawable/bg_table_cell" + android:orientation="vertical"> - - - + + android:layout_width="match_parent" + android:layout_height="40dp" + android:orientation="horizontal"> - + + + + + - + + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:minHeight="50dp" + android:orientation="horizontal"> - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - - - + android:textSize="15sp" + android:textStyle="bold" /> + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + android:layout_weight="2" + android:orientation="horizontal"> + + + + + + + + + + + + + - -