From a909f96d61d383e02da5aaff3139c607a80db469 Mon Sep 17 00:00:00 2001 From: YANG JIANKUAN Date: Wed, 21 Oct 2026 12:10:34 +0800 Subject: [PATCH] =?UTF-8?q?fix(gjc):=20=E5=87=BA=E6=B8=AF=E7=A7=BB?= =?UTF-8?q?=E5=BA=93=E7=BC=96=E8=BE=91=E9=A1=B5=E6=89=8B=E6=9C=BA=E5=8D=A1?= =?UTF-8?q?=E7=89=87=E6=94=B9=E4=B8=BA=E4=B8=8E=E5=87=BA=E6=B8=AF=E8=B4=A7?= =?UTF-8?q?=E7=89=A9=E8=BF=90=E5=8D=95=E4=BF=A1=E6=81=AF=E4=B8=80=E8=87=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 四张卡片统一 bg_phone_card + 左侧蓝色短竖条标题 + 分割线, 间距/内边距对齐 fragment_gjc_query_waybill(页面 12dp、卡片 14dp) - 字段改用 PhoneKvItem 两列网格;运单号/移交状态并入基本信息首行, 运单类型/品名改为整行字段 - 备注沿用无下划线输入,字号与 PhoneKvItem 一致,详情态空值占位与字段同色 - 删除上次为本页单独新增的 move_edit_ 色值与 drawable,及主卡 clipToOutline 设置 Refs: 禅道 Bug #632 Co-Authored-By: Claude Opus 5.5 --- .../gjc/page/move/IntExpMoveEditActivity.kt | 3 - .../main/res/drawable/bg_move_edit_card.xml | 10 - .../res/drawable/bg_move_edit_card_main.xml | 10 - .../res/drawable/bg_move_edit_dot_done.xml | 6 - .../res/drawable/bg_move_edit_dot_pending.xml | 6 - .../res/drawable/bg_move_edit_tag_red.xml | 7 - .../res/layout/activity_int_exp_move_edit.xml | 670 +++++++----------- .../src/main/res/values/colors_move_edit.xml | 19 - 8 files changed, 259 insertions(+), 472 deletions(-) delete mode 100644 module_gjc/src/main/res/drawable/bg_move_edit_card.xml delete mode 100644 module_gjc/src/main/res/drawable/bg_move_edit_card_main.xml delete mode 100644 module_gjc/src/main/res/drawable/bg_move_edit_dot_done.xml delete mode 100644 module_gjc/src/main/res/drawable/bg_move_edit_dot_pending.xml delete mode 100644 module_gjc/src/main/res/drawable/bg_move_edit_tag_red.xml delete mode 100644 module_gjc/src/main/res/values/colors_move_edit.xml diff --git a/module_gjc/src/main/java/com/lukouguoji/gjc/page/move/IntExpMoveEditActivity.kt b/module_gjc/src/main/java/com/lukouguoji/gjc/page/move/IntExpMoveEditActivity.kt index e66ea72..81efe26 100644 --- a/module_gjc/src/main/java/com/lukouguoji/gjc/page/move/IntExpMoveEditActivity.kt +++ b/module_gjc/src/main/java/com/lukouguoji/gjc/page/move/IntExpMoveEditActivity.kt @@ -41,9 +41,6 @@ class IntExpMoveEditActivity : binding.viewModel = viewModel - // 手机主信息卡:按圆角裁切子 View,让左侧蓝色装饰条贴合卡片圆角(平板布局无该 id) - binding.cardWaybill?.clipToOutline = true - // 绑定图片 RecyclerView 引用 viewModel.rvImages = binding.rvImages diff --git a/module_gjc/src/main/res/drawable/bg_move_edit_card.xml b/module_gjc/src/main/res/drawable/bg_move_edit_card.xml deleted file mode 100644 index 3b9cf05..0000000 --- a/module_gjc/src/main/res/drawable/bg_move_edit_card.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/module_gjc/src/main/res/drawable/bg_move_edit_card_main.xml b/module_gjc/src/main/res/drawable/bg_move_edit_card_main.xml deleted file mode 100644 index 857d7aa..0000000 --- a/module_gjc/src/main/res/drawable/bg_move_edit_card_main.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - diff --git a/module_gjc/src/main/res/drawable/bg_move_edit_dot_done.xml b/module_gjc/src/main/res/drawable/bg_move_edit_dot_done.xml deleted file mode 100644 index 2eaea09..0000000 --- a/module_gjc/src/main/res/drawable/bg_move_edit_dot_done.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/module_gjc/src/main/res/drawable/bg_move_edit_dot_pending.xml b/module_gjc/src/main/res/drawable/bg_move_edit_dot_pending.xml deleted file mode 100644 index 2814948..0000000 --- a/module_gjc/src/main/res/drawable/bg_move_edit_dot_pending.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/module_gjc/src/main/res/drawable/bg_move_edit_tag_red.xml b/module_gjc/src/main/res/drawable/bg_move_edit_tag_red.xml deleted file mode 100644 index 5880d4e..0000000 --- a/module_gjc/src/main/res/drawable/bg_move_edit_tag_red.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - diff --git a/module_gjc/src/main/res/layout/activity_int_exp_move_edit.xml b/module_gjc/src/main/res/layout/activity_int_exp_move_edit.xml index 735eb57..68e83e3 100644 --- a/module_gjc/src/main/res/layout/activity_int_exp_move_edit.xml +++ b/module_gjc/src/main/res/layout/activity_int_exp_move_edit.xml @@ -5,11 +5,11 @@ 详情(DetailsPageType.Details):列表卡片「查看详情」进入,全部只读; 编辑(DetailsPageType.Modify):列表卡片「编辑」进入(对应平板侧滑「编辑」),仅备注与交接图片可改。 - 样式取自「移库编辑」HTML 原型:主信息卡左侧蓝色装饰条,分区卡白底表头 + 分割线,两列字段网格;移库人/移库时间取列表数据(listBean)。 + 卡片样式与「出港货物」详情的运单信息 Tab(fragment_gjc_query_waybill.xml)一致: + bg_phone_card + 左侧蓝色短竖条标题 + 分割线 + PhoneKvItem 两列字段网格;移库人/移库时间取列表数据(listBean)。 --> + xmlns:app="http://schemas.android.com/apk/res-auto"> @@ -37,426 +37,270 @@ android:fillViewport="true" android:overScrollMode="never"> - + android:padding="12dp"> - - + - - + android:background="@drawable/bg_phone_card" + android:orientation="vertical" + android:paddingHorizontal="14dp" + android:paddingBottom="14dp"> + - - - - - - - - - - - + android:gravity="center_vertical" + android:orientation="horizontal" + android:paddingVertical="12dp"> + android:layout_width="4dp" + android:layout_height="16dp" + android:background="@color/phone_primary" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + android:layout_marginStart="8dp" + android:text="基本信息" + android:textColor="@color/phone_text_title" + android:textSize="15sp" + android:textStyle="bold" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + android:gravity="center_vertical" + android:orientation="horizontal" + android:paddingVertical="12dp"> - + + + android:layout_marginStart="8dp" + android:text="移库信息" + android:textColor="@color/phone_text_title" + android:textSize="15sp" + android:textStyle="bold" /> - + - + - + + - + - - - - - - - - - + - + + android:layout_marginTop="12dp" + android:background="@drawable/bg_phone_card" + android:orientation="vertical" + android:paddingHorizontal="14dp" + android:paddingBottom="14dp"> - + android:gravity="center_vertical" + android:orientation="horizontal" + android:paddingVertical="12dp"> - + + + + + + + android:layout_marginBottom="6dp" + android:background="@color/phone_divider" /> + @@ -479,62 +323,66 @@ - - - - + android:layout_marginTop="12dp" + android:background="@drawable/bg_phone_card" + android:orientation="vertical" + android:paddingHorizontal="14dp" + android:paddingBottom="14dp"> + android:paddingVertical="12dp"> + + - - + android:layout_marginStart="8dp" + android:text="补充信息" + android:textColor="@color/phone_text_title" + android:textSize="15sp" + android:textStyle="bold" /> + + + + + + + diff --git a/module_gjc/src/main/res/values/colors_move_edit.xml b/module_gjc/src/main/res/values/colors_move_edit.xml deleted file mode 100644 index 74fc227..0000000 --- a/module_gjc/src/main/res/values/colors_move_edit.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - #3B6FE0 - #E6EBF2 - #DCE4F0 - #1B3F8F - #132239 - #6B7A8D - #5A6B84 - #1F2A3C - #6B7280 - #D93025 - #F5A623 - #10B981 - - #80101E33 - #50101E33 -