- 国际出/进港所有列表项 KV 文字统一为 15sp - 子列表 checkbox 资源由 _gray 系列改为 _style 系列 - 含子列表卡片 padding 统一为 10dp,展开按钮高度 18dp/padding 4dp - ULD 管理状态字段"正常"改用 text_green - 日志查询标签格式规范化(补冒号、修正 completeSpace) - 航班管理非到达航班文字颜色改为 text_gray,保留航班号 colorPrimary 及 +1 text_red Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
283 lines
13 KiB
XML
283 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
||
|
||
<data>
|
||
|
||
<variable
|
||
name="bean"
|
||
type="com.lukouguoji.module_base.bean.GjjTallyBean" />
|
||
|
||
</data>
|
||
|
||
<com.mcxtzhang.swipemenulib.SwipeMenuLayout
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content">
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content">
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginHorizontal="15dp"
|
||
android:layout_marginVertical="6dp"
|
||
android:background="@drawable/bg_item"
|
||
android:padding="10dp">
|
||
|
||
<ImageView
|
||
android:id="@+id/iv_icon"
|
||
loadImage="@{bean.checked ? @drawable/img_plane_s : @drawable/img_plane}"
|
||
android:layout_width="40dp"
|
||
android:layout_height="40dp"
|
||
android:layout_gravity="center"
|
||
android:src="@drawable/img_plane" />
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginLeft="10dp"
|
||
android:orientation="vertical">
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:gravity="center_vertical">
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1.2">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="运单号:"
|
||
android:textStyle="bold" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="@{bean.waybillNo}"
|
||
android:textColor="@color/colorPrimary"
|
||
android:textStyle="bold" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="件数:" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="@{bean.pc}" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1.2">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="重量:" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="@{bean.weight}" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="代理:" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="@{bean.agent}" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="理货状态:" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:textSize="15sp"
|
||
android:textColor="@color/green"
|
||
android:layout_height="wrap_content"
|
||
android:text="@{bean.tallyStatus}" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="match_parent"
|
||
android:layout_height="wrap_content"
|
||
android:layout_marginTop="10dp"
|
||
android:gravity="center_vertical">
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1.2">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="航班:" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="@{bean.dateFlightNo}" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="始发站:" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="@{bean.origin}" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1.2">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="特码:" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="@{bean.spCode}" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="业务类型:" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="@{bean.businessType}" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="0dp"
|
||
android:layout_height="wrap_content"
|
||
android:layout_weight="1">
|
||
|
||
<TextView
|
||
android:layout_width="80dp"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="品名(中):" />
|
||
|
||
<TextView
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="wrap_content"
|
||
android:textSize="15sp"
|
||
android:text="@{bean.goods}" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
|
||
<androidx.appcompat.widget.LinearLayoutCompat
|
||
android:layout_width="wrap_content"
|
||
android:layout_height="match_parent">
|
||
|
||
<TextView
|
||
android:id="@+id/tv_details"
|
||
style="@style/tv_item_action"
|
||
android:background="#facd91"
|
||
android:text="详情" />
|
||
|
||
<TextView
|
||
android:id="@+id/tv_modify"
|
||
style="@style/tv_item_action"
|
||
visible="@{bean.canTally()}"
|
||
android:background="#9625ff"
|
||
android:text="修改" />
|
||
|
||
<TextView
|
||
android:id="@+id/tv_delete"
|
||
style="@style/tv_item_action"
|
||
android:background="#df253c"
|
||
android:text="删单" />
|
||
|
||
</androidx.appcompat.widget.LinearLayoutCompat>
|
||
</com.mcxtzhang.swipemenulib.SwipeMenuLayout>
|
||
|
||
</layout> |