|
@@ -23,125 +23,126 @@
|
|
|
android:id="@+id/ll"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="15dp"
|
|
|
+ android:layout_marginEnd="13dp"
|
|
|
android:layout_marginBottom="@dimen/dp_10"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ <!-- <androidx.cardview.widget.CardView-->
|
|
|
+ <!-- android:layout_width="match_parent"-->
|
|
|
+ <!-- app:cardBackgroundColor="#EDffffff"-->
|
|
|
+ <!-- app:cardCornerRadius="16dp"-->
|
|
|
+ <!-- app:cardElevation="1dp"-->
|
|
|
+ <!-- app:contentPadding="2dp"-->
|
|
|
+ <!-- android:layout_height="wrap_content">-->
|
|
|
+
|
|
|
+ <!-- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout-->
|
|
|
+ <!-- android:id="@+id/ll_center"-->
|
|
|
+ <!-- android:layout_width="match_parent"-->
|
|
|
+ <!-- android:layout_height="wrap_content"-->
|
|
|
+ <!-- android:background="@color/white"-->
|
|
|
+ <!-- android:orientation="vertical"-->
|
|
|
+ <!-- app:qmui_backgroundColor="@color/white"-->
|
|
|
+ <!-- app:qmui_borderWidth="@dimen/dp_1"-->
|
|
|
+ <!-- app:qmui_borderColor="#0F000000"-->
|
|
|
+ <!-- app:qmui_radius="16dp">-->
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.layout.QMUILinearLayout
|
|
|
android:id="@+id/ll_center"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_margin="@dimen/dp_2"
|
|
|
android:background="@color/white"
|
|
|
android:orientation="vertical"
|
|
|
- app:qmui_borderColor="@null"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
app:qmui_radius="16dp"
|
|
|
- >
|
|
|
-
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ app:qmui_shadowAlpha="0.2"
|
|
|
+ app:qmui_shadowElevation="3dp">
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.QMUIRadiusImageView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="139dp"
|
|
|
- android:src="@drawable/bg_need_error"
|
|
|
- app:url="@{item.cover}"
|
|
|
- app:qmui_border_color="@color/translucent"
|
|
|
- app:qmui_corner_radius="12dp" />
|
|
|
-
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- app:qmui_radius="12dp"
|
|
|
- app:qmui_borderColor="#333333"
|
|
|
- app:qmui_backgroundColor="#333333"
|
|
|
- android:layout_marginStart="12dp"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:visibility="@{item.proInfoObj.syState==2?View.VISIBLE:View.GONE}"
|
|
|
- android:paddingStart="12dp"
|
|
|
- android:paddingEnd="12dp"
|
|
|
- android:paddingTop="2dp"
|
|
|
- android:paddingBottom="2dp"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <TextView
|
|
|
- android:text="寄售中"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="12sp"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
-
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- </FrameLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="10dp"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_marginEnd="10dp"
|
|
|
- android:text="@{item.name}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="14sp" />
|
|
|
+ <com.qmuiteam.qmui.widget.QMUIRadiusImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="139dp"
|
|
|
+ android:src="@drawable/bg_need_error"
|
|
|
+ app:qmui_border_color="@color/translucent"
|
|
|
+ app:qmui_corner_radius="12dp"
|
|
|
+ app:url="@{item.cover}" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="10dp"
|
|
|
- android:layout_marginTop="2dp"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="¥"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="@{item.name}"
|
|
|
android:textColor="@color/text_title"
|
|
|
- android:textSize="10sp" />
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@{item.resalePrice}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="20sp" />
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="¥"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="10sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{item.resalePrice}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="20sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="16dp"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:layout_marginBottom="14dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="4dp"
|
|
|
+ android:paddingEnd="10dp"
|
|
|
+ app:qmui_backgroundColor="#33D8D8D8"
|
|
|
+ app:qmui_borderColor="@color/translucent"
|
|
|
+ app:qmui_radius="4dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="10dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:src="@drawable/ct_sale" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:text="@{`订单编号·`+item.orderNo}"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="8sp" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
</LinearLayout>
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_marginStart="10dp"
|
|
|
- android:layout_marginEnd="20dp"
|
|
|
- android:layout_marginBottom="14dp"
|
|
|
- android:layout_marginTop="7dp"
|
|
|
- app:qmui_radius="4dp"
|
|
|
- app:qmui_borderColor="@color/translucent"
|
|
|
- app:qmui_backgroundColor="#D8D8D8"
|
|
|
- android:paddingStart="4dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:paddingEnd="10dp"
|
|
|
- android:layout_height="16dp">
|
|
|
- <ImageView
|
|
|
- android:src="@drawable/ct_sale"
|
|
|
- android:layout_width="10dp"
|
|
|
- android:layout_height="10dp"/>
|
|
|
- <TextView
|
|
|
- android:text="@{`订单编号·`+item.orderNo}"
|
|
|
- android:textColor="#333333"
|
|
|
- android:textSize="8sp"
|
|
|
- android:singleLine="true"
|
|
|
- android:ellipsize="end"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"/>
|
|
|
-
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.layout.QMUILinearLayout>
|
|
|
|
|
|
|
|
|
</LinearLayout>
|