feat: 出港组装 开始组装 status color
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user