From 00ea0bbb686009fee18a92ae1feb4a39b093df37 Mon Sep 17 00:00:00 2001 From: YANG JIANKUAN Date: Sat, 11 Jul 2026 16:22:15 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BC=98=E5=8C=96=E5=9B=BD=E9=99=85?= =?UTF-8?q?=E5=87=BA=E6=B8=AF=E8=BF=90=E6=8A=B5=E5=88=97=E8=A1=A8=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=B1=95=E7=A4=BA=E5=B9=B6=E6=9B=BF=E6=8D=A2=E5=87=BA?= =?UTF-8?q?=E5=BA=93=E4=BA=A4=E6=8E=A5=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 运抵列表主单/分单状态改为全圆角胶囊 Tag,按语义着色 - 分单改为白色圆角卡片,仅表头浅蓝底(#dbeafe) - 出库交接列表"总重/货重"替换为"装机重/板型" - 版本号升至 1.8.7 Co-Authored-By: Claude Opus 4.8 (1M context) --- app/build.gradle | 4 +- .../res/drawable/bg_arrive_sub_header.xml | 8 ++++ .../src/main/res/drawable/tag_status_blue.xml | 6 +++ .../src/main/res/drawable/tag_status_gray.xml | 6 +++ .../main/res/drawable/tag_status_green.xml | 6 +++ .../main/res/drawable/tag_status_orange.xml | 6 +++ .../main/res/layout/item_int_exp_arrive.xml | 37 +++++++++++++------ .../res/layout/item_int_exp_arrive_sub.xml | 23 +++++++++--- .../res/layout/item_int_exp_out_handover.xml | 14 +++---- .../ui/guobang/PdaGuoBangViewModel.kt | 2 +- 10 files changed, 85 insertions(+), 27 deletions(-) create mode 100644 module_gjc/src/main/res/drawable/bg_arrive_sub_header.xml create mode 100644 module_gjc/src/main/res/drawable/tag_status_blue.xml create mode 100644 module_gjc/src/main/res/drawable/tag_status_gray.xml create mode 100644 module_gjc/src/main/res/drawable/tag_status_green.xml create mode 100644 module_gjc/src/main/res/drawable/tag_status_orange.xml diff --git a/app/build.gradle b/app/build.gradle index 11f419d..794d215 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -26,8 +26,8 @@ android { applicationId "com.lukouguoji.aerologic" minSdkVersion 24 targetSdkVersion 30 - versionCode 85 - versionName "1.8.5" + versionCode 87 + versionName "1.8.7" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" diff --git a/module_gjc/src/main/res/drawable/bg_arrive_sub_header.xml b/module_gjc/src/main/res/drawable/bg_arrive_sub_header.xml new file mode 100644 index 0000000..b51d20f --- /dev/null +++ b/module_gjc/src/main/res/drawable/bg_arrive_sub_header.xml @@ -0,0 +1,8 @@ + + + + + diff --git a/module_gjc/src/main/res/drawable/tag_status_blue.xml b/module_gjc/src/main/res/drawable/tag_status_blue.xml new file mode 100644 index 0000000..dba1356 --- /dev/null +++ b/module_gjc/src/main/res/drawable/tag_status_blue.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/module_gjc/src/main/res/drawable/tag_status_gray.xml b/module_gjc/src/main/res/drawable/tag_status_gray.xml new file mode 100644 index 0000000..bfc9978 --- /dev/null +++ b/module_gjc/src/main/res/drawable/tag_status_gray.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/module_gjc/src/main/res/drawable/tag_status_green.xml b/module_gjc/src/main/res/drawable/tag_status_green.xml new file mode 100644 index 0000000..498cba8 --- /dev/null +++ b/module_gjc/src/main/res/drawable/tag_status_green.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/module_gjc/src/main/res/drawable/tag_status_orange.xml b/module_gjc/src/main/res/drawable/tag_status_orange.xml new file mode 100644 index 0000000..d0b60ba --- /dev/null +++ b/module_gjc/src/main/res/drawable/tag_status_orange.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/module_gjc/src/main/res/layout/item_int_exp_arrive.xml b/module_gjc/src/main/res/layout/item_int_exp_arrive.xml index ba11b74..e5e230b 100644 --- a/module_gjc/src/main/res/layout/item_int_exp_arrive.xml +++ b/module_gjc/src/main/res/layout/item_int_exp_arrive.xml @@ -108,9 +108,13 @@ + android:textColor="@{`01`.equals(bean.declareStatus) ? @color/text_green : (`W`.equals(bean.declareStatus) ? @color/colorPrimary : @color/text_gray)}" + android:textSize="14sp" + android:visibility="@{bean.declareStatus != null && !bean.declareStatus.isEmpty() ? View.VISIBLE : View.GONE}" /> @@ -246,9 +250,13 @@ + android:textColor="@{`1`.equals(bean.checkIn) ? @color/text_green : (`2`.equals(bean.checkIn) ? @color/colorPrimary : @color/text_gray)}" + android:textSize="14sp" + android:visibility="@{bean.checkIn != null && !bean.checkIn.isEmpty() ? View.VISIBLE : View.GONE}" /> @@ -271,9 +279,13 @@ + android:textColor="@{`0`.equals(bean.arriveFlag) ? @color/text_green : (`1`.equals(bean.arriveFlag) ? @color/text_orange : @color/text_gray)}" + android:textSize="14sp" + android:visibility="@{bean.arriveFlag != null && !bean.arriveFlag.isEmpty() ? View.VISIBLE : View.GONE}" /> @@ -345,13 +357,13 @@ - + @@ -367,14 +379,15 @@ android:textSize="14sp" android:visibility="gone" /> - + + android:paddingHorizontal="10dp" + android:paddingVertical="10dp"> + + @@ -67,15 +69,26 @@ android:textColor="@color/text_normal" android:textSize="14sp" /> - - + + android:orientation="horizontal"> + + + + - + - + - + diff --git a/module_p/src/main/java/com/sixin/module_p/ui/guobang/PdaGuoBangViewModel.kt b/module_p/src/main/java/com/sixin/module_p/ui/guobang/PdaGuoBangViewModel.kt index 0949cdd..09fbeab 100644 --- a/module_p/src/main/java/com/sixin/module_p/ui/guobang/PdaGuoBangViewModel.kt +++ b/module_p/src/main/java/com/sixin/module_p/ui/guobang/PdaGuoBangViewModel.kt @@ -28,7 +28,7 @@ class PdaGuoBangViewModel : BaseViewModel() { val channelList = MutableLiveData(emptyList()) private var channel = KeyValue("", "") - // 版型 + // 板型 val version = MutableLiveData("") // 高度