From c3c9a779425ce31ada256399d2e289bf452c47b7 Mon Sep 17 00:00:00 2001 From: YANG JIANKUAN Date: Wed, 15 Jul 2026 15:47:18 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E5=85=AD=E4=B8=AA=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=87=BA=E6=B8=AF/=E8=BF=9B=E6=B8=AF=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E9=A1=B5=E7=BB=9F=E4=B8=80=E5=88=86=E5=8D=95=E5=AD=90=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E6=A0=B7=E5=BC=8F=E5=B9=B6=E7=8A=B6=E6=80=81=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参照国际出港运抵列表,为出港仓库/组装/理货、进港舱单/理货/仓库 六个页面的分单子列表统一外观:子列表整块白色圆角、表头浅蓝背景 顶部圆角、表头及内容行分割线改用 app:dividerColor 修复偏紫问题; 主表与子表状态字段改为按值着色的胶囊标签(清仓正常/复磅/回填/ 申报状态等)。tag_status_* 与 bg_arrive_sub_header 由 module_gjc 提升至 module_base 供进港模块共用。 Co-Authored-By: Claude Opus 4.6 --- .../res/drawable/bg_arrive_sub_header.xml | 0 .../src/main/res/drawable/tag_status_blue.xml | 0 .../src/main/res/drawable/tag_status_gray.xml | 0 .../main/res/drawable/tag_status_green.xml | 0 .../main/res/drawable/tag_status_orange.xml | 0 .../main/res/layout/item_int_exp_assemble.xml | 26 ++++++--- .../res/layout/item_int_exp_assemble_sub.xml | 5 +- .../res/layout/item_int_exp_storage_use.xml | 20 ++++--- .../layout/item_int_exp_storage_use_sub.xml | 3 +- .../main/res/layout/item_int_exp_tally.xml | 8 +-- .../res/layout/item_int_exp_tally_sub.xml | 25 +++++++-- .../main/res/layout/item_int_imp_manifest.xml | 15 ++--- .../res/layout/item_int_imp_manifest_sub.xml | 55 ++++++++++++++----- .../res/layout/item_int_imp_storage_use.xml | 20 ++++--- .../layout/item_int_imp_storage_use_sub.xml | 3 +- .../main/res/layout/item_int_imp_tally.xml | 21 ++++--- .../res/layout/item_int_imp_tally_sub.xml | 26 +++++++-- 17 files changed, 154 insertions(+), 73 deletions(-) rename {module_gjc => module_base}/src/main/res/drawable/bg_arrive_sub_header.xml (100%) rename {module_gjc => module_base}/src/main/res/drawable/tag_status_blue.xml (100%) rename {module_gjc => module_base}/src/main/res/drawable/tag_status_gray.xml (100%) rename {module_gjc => module_base}/src/main/res/drawable/tag_status_green.xml (100%) rename {module_gjc => module_base}/src/main/res/drawable/tag_status_orange.xml (100%) diff --git a/module_gjc/src/main/res/drawable/bg_arrive_sub_header.xml b/module_base/src/main/res/drawable/bg_arrive_sub_header.xml similarity index 100% rename from module_gjc/src/main/res/drawable/bg_arrive_sub_header.xml rename to module_base/src/main/res/drawable/bg_arrive_sub_header.xml diff --git a/module_gjc/src/main/res/drawable/tag_status_blue.xml b/module_base/src/main/res/drawable/tag_status_blue.xml similarity index 100% rename from module_gjc/src/main/res/drawable/tag_status_blue.xml rename to module_base/src/main/res/drawable/tag_status_blue.xml diff --git a/module_gjc/src/main/res/drawable/tag_status_gray.xml b/module_base/src/main/res/drawable/tag_status_gray.xml similarity index 100% rename from module_gjc/src/main/res/drawable/tag_status_gray.xml rename to module_base/src/main/res/drawable/tag_status_gray.xml diff --git a/module_gjc/src/main/res/drawable/tag_status_green.xml b/module_base/src/main/res/drawable/tag_status_green.xml similarity index 100% rename from module_gjc/src/main/res/drawable/tag_status_green.xml rename to module_base/src/main/res/drawable/tag_status_green.xml diff --git a/module_gjc/src/main/res/drawable/tag_status_orange.xml b/module_base/src/main/res/drawable/tag_status_orange.xml similarity index 100% rename from module_gjc/src/main/res/drawable/tag_status_orange.xml rename to module_base/src/main/res/drawable/tag_status_orange.xml diff --git a/module_gjc/src/main/res/layout/item_int_exp_assemble.xml b/module_gjc/src/main/res/layout/item_int_exp_assemble.xml index 62d8b24..67e38f9 100644 --- a/module_gjc/src/main/res/layout/item_int_exp_assemble.xml +++ b/module_gjc/src/main/res/layout/item_int_exp_assemble.xml @@ -163,9 +163,12 @@ + android:textColor="@{bean.wtDate != null && !bean.wtDate.isEmpty() ? @color/text_green : @color/text_gray}" + android:textSize="14sp" /> @@ -188,9 +191,13 @@ + android:textColor="@{`2`.equals(bean.fillWeightFlag) ? @color/text_green : (`1`.equals(bean.fillWeightFlag) ? @color/text_orange : @color/text_gray)}" + android:textSize="14sp" + android:visibility="@{bean.fillWeightFlagText != null && !bean.fillWeightFlagText.isEmpty() ? View.VISIBLE : View.GONE}" /> @@ -377,8 +384,8 @@ visible="@{bean.showMore}" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="5dp" - android:background="#e3f6e0" + android:layout_marginTop="10dp" + android:background="@drawable/bg_white_radius_8" android:orientation="vertical" android:visibility="gone"> @@ -416,14 +423,15 @@ android:textSize="14sp" android:visibility="gone" /> - + diff --git a/module_gjc/src/main/res/layout/item_int_exp_assemble_sub.xml b/module_gjc/src/main/res/layout/item_int_exp_assemble_sub.xml index 309b320..e4a06b9 100644 --- a/module_gjc/src/main/res/layout/item_int_exp_assemble_sub.xml +++ b/module_gjc/src/main/res/layout/item_int_exp_assemble_sub.xml @@ -1,5 +1,6 @@ - + @@ -110,7 +111,7 @@ + app:dividerColor="@color/sub_list_divider" /> diff --git a/module_gjc/src/main/res/layout/item_int_exp_storage_use.xml b/module_gjc/src/main/res/layout/item_int_exp_storage_use.xml index b75196c..eea3de2 100644 --- a/module_gjc/src/main/res/layout/item_int_exp_storage_use.xml +++ b/module_gjc/src/main/res/layout/item_int_exp_storage_use.xml @@ -246,8 +246,13 @@ + android:textColor="@{`1`.equals(bean.clearNormal) ? @color/text_green : (`0`.equals(bean.clearNormal) ? @color/text_orange : @color/text_gray)}" + android:textSize="14sp" + android:visibility="@{bean.clearNormalText != null && !bean.clearNormalText.isEmpty() ? View.VISIBLE : View.GONE}" /> @@ -319,18 +324,19 @@ visible="@{bean.showMore}" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="5dp" - android:background="#e3f6e0" + android:layout_marginTop="10dp" + android:background="@drawable/bg_white_radius_8" android:orientation="vertical" android:visibility="gone"> - + + android:paddingHorizontal="10dp" + android:paddingVertical="10dp"> + app:dividerColor="@color/sub_list_divider" /> @@ -95,7 +96,7 @@ + app:dividerColor="@color/sub_list_divider" /> diff --git a/module_gjc/src/main/res/layout/item_int_exp_tally.xml b/module_gjc/src/main/res/layout/item_int_exp_tally.xml index 70fdeda..f4a1415 100644 --- a/module_gjc/src/main/res/layout/item_int_exp_tally.xml +++ b/module_gjc/src/main/res/layout/item_int_exp_tally.xml @@ -25,7 +25,7 @@ - + @@ -84,7 +84,7 @@ android:src="@mipmap/img_down" /> - + - + @@ -113,7 +113,7 @@ android:id="@+id/divider_header" android:layout_width="match_parent" android:layout_height="1px" - android:background="@color/sub_list_divider"/> + app:dividerColor="@color/sub_list_divider"/> diff --git a/module_gjc/src/main/res/layout/item_int_exp_tally_sub.xml b/module_gjc/src/main/res/layout/item_int_exp_tally_sub.xml index 9b53add..d316e0a 100644 --- a/module_gjc/src/main/res/layout/item_int_exp_tally_sub.xml +++ b/module_gjc/src/main/res/layout/item_int_exp_tally_sub.xml @@ -5,6 +5,8 @@ + + @@ -67,15 +69,26 @@ android:textColor="@color/text_normal" android:textSize="14sp" /> - - + + android:orientation="horizontal"> + + + + + app:dividerColor="@color/sub_list_divider" /> diff --git a/module_gjj/src/main/res/layout/item_int_imp_manifest.xml b/module_gjj/src/main/res/layout/item_int_imp_manifest.xml index e9f684d..6e86c46 100644 --- a/module_gjj/src/main/res/layout/item_int_imp_manifest.xml +++ b/module_gjj/src/main/res/layout/item_int_imp_manifest.xml @@ -349,13 +349,13 @@ - + @@ -371,14 +371,15 @@ android:textSize="14sp" android:visibility="gone" /> - + + android:paddingHorizontal="10dp" + android:paddingVertical="10dp"> + app:dividerColor="@color/sub_list_divider" /> + + @@ -87,31 +90,53 @@ android:textColor="@color/text_normal" android:textSize="14sp" /> - - + + android:orientation="horizontal"> - - + + + + + + android:orientation="horizontal"> + + + + + app:dividerColor="@color/sub_list_divider" /> diff --git a/module_gjj/src/main/res/layout/item_int_imp_storage_use.xml b/module_gjj/src/main/res/layout/item_int_imp_storage_use.xml index 12924ef..0045227 100644 --- a/module_gjj/src/main/res/layout/item_int_imp_storage_use.xml +++ b/module_gjj/src/main/res/layout/item_int_imp_storage_use.xml @@ -247,8 +247,13 @@ + android:textColor="@{`1`.equals(bean.clearNormal) ? @color/text_green : (`0`.equals(bean.clearNormal) ? @color/text_orange : @color/text_gray)}" + android:textSize="14sp" + android:visibility="@{bean.clearNormalText != null && !bean.clearNormalText.isEmpty() ? View.VISIBLE : View.GONE}" /> @@ -319,8 +324,8 @@ visible="@{bean.showMore}" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="5dp" - android:background="#e3f6e0" + android:layout_marginTop="10dp" + android:background="@drawable/bg_white_radius_8" android:orientation="vertical" android:visibility="gone"> @@ -336,14 +341,15 @@ android:textSize="14sp" android:visibility="gone" /> - + + android:paddingHorizontal="10dp" + android:paddingVertical="10dp"> + app:dividerColor="@color/sub_list_divider" /> @@ -95,7 +96,7 @@ + app:dividerColor="@color/sub_list_divider" /> diff --git a/module_gjj/src/main/res/layout/item_int_imp_tally.xml b/module_gjj/src/main/res/layout/item_int_imp_tally.xml index 0811d19..7dc4c9b 100644 --- a/module_gjj/src/main/res/layout/item_int_imp_tally.xml +++ b/module_gjj/src/main/res/layout/item_int_imp_tally.xml @@ -109,9 +109,13 @@ + android:textColor="@{`01`.equals(bean.status) ? @color/text_green : (`W`.equals(bean.status) ? @color/colorPrimary : @color/text_gray)}" + android:visibility="@{bean.status != null && !bean.status.isEmpty() ? View.VISIBLE : View.GONE}" /> @@ -340,8 +344,8 @@ visible="@{bean.showMore}" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="5dp" - android:background="#e3f6e0" + android:layout_marginTop="10dp" + android:background="@drawable/bg_white_radius_8" android:orientation="vertical" android:visibility="gone"> @@ -357,14 +361,15 @@ android:textSize="14sp" android:visibility="gone" /> - + + android:paddingHorizontal="10dp" + android:paddingVertical="10dp"> + app:dividerColor="@color/sub_list_divider" /> + + @@ -68,16 +71,27 @@ android:textColor="@color/text_normal" android:textSize="14sp" /> - - + + android:orientation="horizontal"> + + + + + app:dividerColor="@color/sub_list_divider" />