style: 国际出港/进港列表项文字样式统一为四个基准页规范
主题未覆盖 textViewStyle,旧列表项未显式写 textColor 导致文字发灰、 字号与卡片边距不一。以出港运抵/组装/装载/理货为基准统一: - Key/Value 显式 15sp + text_normal,首要字段 colorPrimary 加粗, 状态值 14sp 带颜色表达式 - 卡片外边距 10dp/10dp,bg_item 统一为 bg_white_radius_8, 图标与内容区间距 15dp - 原始舱单子列表改为标准白卡片 + 表头底色,查询详情表格改用 text_normal - 修复出港查询布局 xmlns:tools 误绑 android 命名空间 - CLAUDE.md 列表项规范表同步更新为基准页真实数值 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -19,9 +19,9 @@
|
||||
android:id="@+id/ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginHorizontal="15dp"
|
||||
android:layout_marginVertical="5dp"
|
||||
android:background="@{bean.checkIn.equals(`2`) ? @drawable/bg_item_green : @drawable/bg_item}"
|
||||
android:layout_marginHorizontal="10dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@{bean.checkIn.equals(`2`) ? @drawable/bg_item_green : @drawable/bg_white_radius_8}"
|
||||
android:orientation="horizontal"
|
||||
android:paddingVertical="20dp"
|
||||
android:paddingHorizontal="10dp">
|
||||
@@ -32,12 +32,13 @@
|
||||
android:layout_width="40dp"
|
||||
android:layout_height="40dp"
|
||||
android:layout_gravity="center"
|
||||
android:src="@drawable/img_plane" />
|
||||
android:src="@drawable/img_plane"
|
||||
android:layout_marginTop="0.5px" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
@@ -58,7 +59,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="运单号:" />
|
||||
android:text="运单号:"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -66,7 +68,8 @@
|
||||
android:textSize="15sp"
|
||||
android:text="@{bean.wbNo}"
|
||||
android:textColor="@color/colorPrimary"
|
||||
tools:text="78109081212" />
|
||||
tools:text="78109081212"
|
||||
android:textStyle="bold" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -82,7 +85,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="代理人:" />
|
||||
android:text="代理人:"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -92,7 +96,8 @@
|
||||
android:lines="1"
|
||||
android:ellipsize="end"
|
||||
android:text='@{bean.agentName}'
|
||||
tools:text="SF" />
|
||||
tools:text="SF"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -108,14 +113,16 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="特码:" />
|
||||
android:text="特码:"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="@{bean.spCode}"
|
||||
tools:text="NOR" />
|
||||
tools:text="NOR"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -131,14 +138,16 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="预配件数:" />
|
||||
android:text="预配件数:"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text='@{String.valueOf(bean.pc)}'
|
||||
tools:text="11" />
|
||||
tools:text="11"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -154,14 +163,16 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="预配重量:" />
|
||||
android:text="预配重量:"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text='@{String.valueOf(bean.weight)}'
|
||||
tools:text="12" />
|
||||
tools:text="12"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -185,14 +196,16 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="计划航班:" />
|
||||
android:text="计划航班:"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="@{bean.flight}"
|
||||
tools:text="20240216/MU2026" />
|
||||
tools:text="20240216/MU2026"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -208,14 +221,16 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="航程:" />
|
||||
android:text="航程:"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text='@{bean.range}'
|
||||
tools:text="HFE - PEK" />
|
||||
tools:text="HFE - PEK"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -231,14 +246,16 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="预计起飞:" />
|
||||
android:text="预计起飞:"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="@{bean.scheduledTackOffHM}"
|
||||
tools:text="09:12" />
|
||||
tools:text="09:12"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvDayPlus"
|
||||
@@ -247,7 +264,8 @@
|
||||
android:layout_marginStart="4dp"
|
||||
android:text="+1"
|
||||
android:textColor="@color/text_red"
|
||||
android:visibility="@{bean.verifyScheduledTackOffNextDay() ? View.VISIBLE : View.GONE}" />
|
||||
android:visibility="@{bean.verifyScheduledTackOffNextDay() ? View.VISIBLE : View.GONE}"
|
||||
android:textSize="15sp" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -263,14 +281,16 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="业务类型:" />
|
||||
android:text="业务类型:"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text='@{bean.businessName}'
|
||||
tools:text="普通货物运输" />
|
||||
tools:text="普通货物运输"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
@@ -286,7 +306,8 @@
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="15sp"
|
||||
android:text="品名(中):" />
|
||||
android:text="品名(中):"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -296,7 +317,8 @@
|
||||
android:lines="1"
|
||||
android:maxLines="1"
|
||||
android:text='@{bean.goodsCn}'
|
||||
tools:text="电子元器件" />
|
||||
tools:text="电子元器件"
|
||||
android:textColor="@color/text_normal" />
|
||||
|
||||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user