Commit a3a56c2a authored by yinjiacheng's avatar yinjiacheng

fix SHQCLIENT-1526 选择自提点页提货点联系人无数据时不显示

parent 215881af
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
<import type="android.view.View" /> <import type="android.view.View" />
<import type="android.text.TextUtils" />
<variable <variable
name="vm" name="vm"
type="com.yidian.shenghuoquan.buserorder.viewmodel.PickupPointListItemViewModel" /> type="com.yidian.shenghuoquan.buserorder.viewmodel.PickupPointListItemViewModel" />
...@@ -92,6 +94,7 @@ ...@@ -92,6 +94,7 @@
android:text="@{@string/pickup_point_contract_name(data.contactName)}" android:text="@{@string/pickup_point_contract_name(data.contactName)}"
android:textColor="@color/color_999999" android:textColor="@color/color_999999"
android:textSize="@dimen/sp14" android:textSize="@dimen/sp14"
android:visibility="@{!TextUtils.isEmpty(data.contactName) ? View.VISIBLE : View.GONE}"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/tv_pickup_point_address" app:layout_constraintTop_toBottomOf="@id/tv_pickup_point_address"
tools:text="提货点联系人:面团儿" /> tools:text="提货点联系人:面团儿" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment