style: 优化国际进港详情页字段顺序与文案

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-14 19:47:08 +08:00
parent bdb8612081
commit b18f2cfe1f
5 changed files with 119 additions and 116 deletions

View File

@@ -32,7 +32,7 @@ class IntImpQueryActivity :
override fun viewModelClass() = IntImpQueryViewModel::class.java override fun viewModelClass() = IntImpQueryViewModel::class.java
override fun initOnCreate(savedInstanceState: Bundle?) { override fun initOnCreate(savedInstanceState: Bundle?) {
setBackArrow("进港查询") setBackArrow("国际进港查询")
binding.viewModel = viewModel binding.viewModel = viewModel

View File

@@ -41,34 +41,34 @@
android:orientation="horizontal"> android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew <com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
enable="@{false}" enable="@{false}"
title='@{"运单号"}' title='@{"运单号"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{viewModel.dataBean.wbNo}' /> value='@{viewModel.dataBean.wbNo}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"代理人"}' title='@{"代理人"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{viewModel.dataBean.agentCode}' /> value='@{viewModel.dataBean.agentCode}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"特码"}' title='@{"特码"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{viewModel.dataBean.spCode}' /> value='@{viewModel.dataBean.spCode}'
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout> </LinearLayout>
@@ -80,34 +80,34 @@
android:orientation="horizontal"> android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew <com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
enable="@{false}" enable="@{false}"
title='@{"提货编号"}' title='@{"提货编号"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{viewModel.dataBean.pkId}' /> value='@{viewModel.dataBean.pkId}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"件数"}' title='@{"件数"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.pc)}' /> value='@{String.valueOf(viewModel.dataBean.pc)}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"重量"}' title='@{"重量"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.weight)}' /> value='@{String.valueOf(viewModel.dataBean.weight)}'
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout> </LinearLayout>
@@ -119,34 +119,35 @@
android:orientation="horizontal"> android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew <com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
enable="@{false}" enable="@{false}"
title='@{"计费重量"}' title='@{"计费重量"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.cashWeight)}' /> value='@{String.valueOf(viewModel.dataBean.cashWeight)}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
enable="@{false}"
title='@{"信息费"}'
titleLength="@{7}"
type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.tranCharge)}' />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew <com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
enable="@{false}" enable="@{false}"
title='@{"服务费"}' title='@{"服务费"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.optCharge)}' /> value='@{String.valueOf(viewModel.dataBean.optCharge)}'
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}"
title='@{"仓储费"}'
titleLength="@{7}"
type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.whsCharge)}'
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout> </LinearLayout>
@@ -158,34 +159,35 @@
android:orientation="horizontal"> android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew <com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
enable="@{false}" enable="@{false}"
title='@{"仓储费"}' title='@{"信息费"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.whsCharge)}' /> value='@{String.valueOf(viewModel.dataBean.tranCharge)}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"文件处理费"}' title='@{"文件处理费"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.drawBillCharge)}' /> value='@{String.valueOf(viewModel.dataBean.drawBillCharge)}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"叉车费"}' title='@{"叉车费"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.svlCharge)}' /> value='@{String.valueOf(viewModel.dataBean.svlCharge)}'
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout> </LinearLayout>
@@ -197,34 +199,34 @@
android:orientation="horizontal"> android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew <com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
enable="@{false}" enable="@{false}"
title='@{"理货费"}' title='@{"理货费"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.tallyCharge)}' /> value='@{String.valueOf(viewModel.dataBean.tallyCharge)}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"精密仪器处理费"}' title='@{"精密仪器处理费"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.pipFee)}' /> value='@{String.valueOf(viewModel.dataBean.pipFee)}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"活体动物处理费"}' title='@{"活体动物处理费"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.lapFee)}' /> value='@{String.valueOf(viewModel.dataBean.lapFee)}'
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout> </LinearLayout>
@@ -236,34 +238,34 @@
android:orientation="horizontal"> android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew <com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
enable="@{false}" enable="@{false}"
title='@{"总费用"}' title='@{"总费用"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{String.valueOf(viewModel.dataBean.amount)}' /> value='@{String.valueOf(viewModel.dataBean.amount)}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"提取时间"}' title='@{"提取时间"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{viewModel.dataBean.chargeTime}' /> value='@{viewModel.dataBean.chargeTime}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"办理人"}' title='@{"办理人"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{viewModel.dataBean.chargeName}' /> value='@{viewModel.dataBean.chargeName}'
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1" />
</LinearLayout> </LinearLayout>
@@ -275,36 +277,36 @@
android:orientation="horizontal"> android:orientation="horizontal">
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew <com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
enable="@{false}" enable="@{false}"
title='@{"出库时间"}' title='@{"出库时间"}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{viewModel.dataBean.dlvTime}' /> value='@{viewModel.dataBean.dlvTime}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1" />
android:visibility="invisible"
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{""}' title='@{""}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{""}' /> value='@{""}'
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1" android:layout_weight="1"
android:visibility="invisible" android:visibility="invisible" />
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{""}' title='@{""}'
titleLength="@{7}" titleLength="@{7}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{""}' /> value='@{""}'
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:visibility="invisible" />
</LinearLayout> </LinearLayout>

View File

@@ -145,7 +145,7 @@
<com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew <com.lukouguoji.module_base.ui.weight.data.layout.PadDataLayoutNew
enable="@{false}" enable="@{false}"
title='@{"品名()"}' title='@{"品名()"}'
titleLength="@{5}" titleLength="@{5}"
type="@{DataLayoutType.INPUT}" type="@{DataLayoutType.INPUT}"
value='@{viewModel.dataBean.goods}' value='@{viewModel.dataBean.goods}'

View File

@@ -50,7 +50,7 @@
<androidx.appcompat.widget.LinearLayoutCompat <androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1.0" android:layout_weight="0.8"
android:gravity="center_vertical"> android:gravity="center_vertical">
<TextView <TextView
@@ -74,7 +74,7 @@
<androidx.appcompat.widget.LinearLayoutCompat <androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.6" android:layout_weight="1"
android:gravity="center_vertical"> android:gravity="center_vertical">
<TextView <TextView
@@ -170,7 +170,7 @@
<androidx.appcompat.widget.LinearLayoutCompat <androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="1.0" android:layout_weight="0.8"
android:gravity="center_vertical"> android:gravity="center_vertical">
<TextView <TextView
@@ -192,7 +192,7 @@
<androidx.appcompat.widget.LinearLayoutCompat <androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="0.6" android:layout_weight="1"
android:gravity="center_vertical"> android:gravity="center_vertical">
<TextView <TextView

View File

@@ -42,10 +42,10 @@
<!-- 选中图标 --> <!-- 选中图标 -->
<ImageView <ImageView
android:id="@+id/iv_icon" android:id="@+id/iv_icon"
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
android:layout_width="40dp" android:layout_width="40dp"
android:layout_height="40dp" android:layout_height="40dp"
android:layout_marginEnd="10dp" android:layout_marginEnd="10dp"
loadImage="@{bean.checked.get() ? @drawable/img_plane_s : @drawable/img_plane}"
android:src="@drawable/img_plane" /> android:src="@drawable/img_plane" />
<!-- 数据展示区域 --> <!-- 数据展示区域 -->
@@ -92,9 +92,9 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
completeSpace="@{5}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
completeSpace="@{5}"
android:text="航班信息:" android:text="航班信息:"
android:textSize="15sp" /> android:textSize="15sp" />
@@ -114,9 +114,9 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
completeSpace="@{5}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
completeSpace="@{5}"
android:text="航程:" android:text="航程:"
android:textSize="15sp" /> android:textSize="15sp" />
@@ -128,7 +128,7 @@
</LinearLayout> </LinearLayout>
<!-- 品名(英) --> <!-- 件数 -->
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -136,18 +136,16 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
completeSpace="@{5}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
completeSpace="@{5}" android:text="件数:"
android:text="品名(英)"
android:textSize="15sp" /> android:textSize="15sp" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ellipsize="end" android:text="@{String.valueOf(bean.pc)}"
android:maxLines="1"
android:text="@{bean.goods}"
android:textSize="15sp" /> android:textSize="15sp" />
</LinearLayout> </LinearLayout>
@@ -160,9 +158,9 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
completeSpace="@{4}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
completeSpace="@{4}"
android:text="重量:" android:text="重量:"
android:textSize="15sp" /> android:textSize="15sp" />
@@ -191,9 +189,9 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
completeSpace="@{4}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
completeSpace="@{4}"
android:text="代理人:" android:text="代理人:"
android:textSize="15sp" /> android:textSize="15sp" />
@@ -205,7 +203,7 @@
</LinearLayout> </LinearLayout>
<!-- 件数 --> <!-- 品名(英) -->
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@@ -213,20 +211,23 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
completeSpace="@{5}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
completeSpace="@{5}" android:text="品名(英)"
android:text="件数:"
android:textSize="15sp" /> android:textSize="15sp" />
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@{String.valueOf(bean.pc)}" android:ellipsize="end"
android:maxLines="1"
android:text="@{bean.goods}"
android:textSize="15sp" /> android:textSize="15sp" />
</LinearLayout> </LinearLayout>
<!-- 清仓正常否 --> <!-- 清仓正常否 -->
<LinearLayout <LinearLayout
android:layout_width="0dp" android:layout_width="0dp"
@@ -235,9 +236,9 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
completeSpace="@{5}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
completeSpace="@{5}"
android:text="清仓正常:" android:text="清仓正常:"
android:textSize="15sp" /> android:textSize="15sp" />
@@ -257,9 +258,9 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
completeSpace="@{5}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
completeSpace="@{5}"
android:text="入库时间:" android:text="入库时间:"
android:textSize="15sp" /> android:textSize="15sp" />
@@ -279,9 +280,9 @@
android:orientation="horizontal"> android:orientation="horizontal">
<TextView <TextView
completeSpace="@{4}"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
completeSpace="@{4}"
android:text="库位数:" android:text="库位数:"
android:textSize="15sp" /> android:textSize="15sp" />
@@ -302,12 +303,12 @@
<!-- 展开/折叠按钮 --> <!-- 展开/折叠按钮 -->
<ImageView <ImageView
android:id="@+id/iv_show" android:id="@+id/iv_show"
visible="@{bean.storageUseList != null &amp;&amp; !bean.storageUseList.empty}"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="18dp" android:layout_height="18dp"
android:layout_marginBottom="5dp" android:layout_marginBottom="5dp"
android:padding="4dp" android:padding="4dp"
android:src="@mipmap/img_down" android:src="@mipmap/img_down" />
visible="@{bean.storageUseList != null &amp;&amp; !bean.storageUseList.empty}" />
</LinearLayout> </LinearLayout>