feat: 出港组装 开始组装 status color

This commit is contained in:
2025-12-18 10:59:03 +08:00
parent 01306d1302
commit 1906e7ce65
2 changed files with 10 additions and 0 deletions

View File

@@ -276,6 +276,7 @@
titleLength="@{5}"
type="@{DataLayoutType.INPUT}"
value="@={viewModel.uldInfo.uldStatus}"
valueTextColor="@{viewModel.uldInfo.uldStatus.equals(`正常`) ? @color/text_green : (viewModel.uldInfo.uldStatus.equals(`故障`) ? @color/red : @color/text_normal)}"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />