|
@@ -8,6 +8,8 @@
|
|
|
<variable
|
|
<variable
|
|
|
name="orderBean"
|
|
name="orderBean"
|
|
|
type="com.datarecovery.master.data.api.bean.OrderBean" />
|
|
type="com.datarecovery.master.data.api.bean.OrderBean" />
|
|
|
|
|
+
|
|
|
|
|
+ <import type="com.datarecovery.master.utils.DateUtil" />
|
|
|
</data>
|
|
</data>
|
|
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
@@ -36,6 +38,7 @@
|
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:text="@{orderBean.outTradeNo}"
|
|
|
android:id="@+id/tv_order"
|
|
android:id="@+id/tv_order"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
@@ -80,6 +83,7 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/space1" />
|
|
app:layout_constraintTop_toBottomOf="@+id/space1" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:text="@{orderBean.itemName}"
|
|
|
style="@style/Order_List_Content_Txt"
|
|
style="@style/Order_List_Content_Txt"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
@@ -105,6 +109,7 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/space2" />
|
|
app:layout_constraintTop_toBottomOf="@+id/space2" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:text="@{DateUtil.formatNormalDate(DateUtil.YYYY_MM_DD,orderBean.startTimestamp)}"
|
|
|
style="@style/Order_List_Content_Txt"
|
|
style="@style/Order_List_Content_Txt"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
@@ -132,6 +137,7 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/space3" />
|
|
app:layout_constraintTop_toBottomOf="@+id/space3" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:text="@{orderBean.expireDate}"
|
|
|
style="@style/Order_List_Content_Txt"
|
|
style="@style/Order_List_Content_Txt"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
@@ -165,6 +171,7 @@
|
|
|
app:layout_constraintTop_toBottomOf="@+id/v_line" />
|
|
app:layout_constraintTop_toBottomOf="@+id/v_line" />
|
|
|
|
|
|
|
|
<TextView
|
|
<TextView
|
|
|
|
|
+ android:text="@{@string/member_price(orderBean.amount)}"
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
|
android:textColor="#404040"
|
|
android:textColor="#404040"
|