|
@@ -0,0 +1,243 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools">
|
|
|
+
|
|
|
+ <data>
|
|
|
+
|
|
|
+ <import type="android.view.View" />
|
|
|
+
|
|
|
+ <variable
|
|
|
+ name="item"
|
|
|
+ type="com.quansu.creativity.model.AmountList" />
|
|
|
+
|
|
|
+ </data>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="345dp">
|
|
|
+
|
|
|
+ <!-- app:url="@{item.images[0]}" 给值-->
|
|
|
+ <com.qmuiteam.qmui.widget.QMUIRadiusImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:src="@drawable/bg_need_error"
|
|
|
+ app:qmui_border_color="@color/translucent"
|
|
|
+ app:qmui_corner_radius="20dp" />
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ app:qmui_radius="12dp"
|
|
|
+ app:qmui_borderColor="@color/translucent"
|
|
|
+ app:qmui_backgroundColor="#33000000"
|
|
|
+ android:layout_marginTop="22dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:layout_marginStart="12dp"
|
|
|
+ android:paddingStart="12dp"
|
|
|
+ android:paddingEnd="11dp"
|
|
|
+ android:layout_height="24dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:src="@drawable/ct_time"
|
|
|
+ android:layout_marginEnd="6dp"
|
|
|
+ android:layout_width="12dp"
|
|
|
+ android:layout_height="12dp"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:text="即将开售 10:23:23"
|
|
|
+ android:textSize="10sp"
|
|
|
+ android:textColor="#62FFF0"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:qmui_borderColor="@color/translucent"
|
|
|
+ app:qmui_radius="14dp"
|
|
|
+ android:paddingTop="12dp"
|
|
|
+ android:paddingBottom="10dp"
|
|
|
+ android:paddingStart="10dp"
|
|
|
+ android:paddingEnd="10dp"
|
|
|
+ android:layout_gravity="bottom"
|
|
|
+ android:layout_marginBottom="10dp"
|
|
|
+ android:layout_marginEnd="10dp"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ app:qmui_backgroundColor="#66000000"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:hint="潮玩设计 | 闹仔NOWKNOW"
|
|
|
+ android:textSize="18sp"
|
|
|
+ android:textColor="#FFFFFF"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:background="#38D3D3"
|
|
|
+ android:hint="限量"
|
|
|
+ android:padding="9dp"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="16dp"
|
|
|
+ android:paddingBottom="15dp">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_icon"
|
|
|
+ android:layout_width="44dp"
|
|
|
+ android:layout_height="44dp"
|
|
|
+ android:src="@{item.set==1?@drawable/ic_account_enter:@drawable/ic_account_out}"
|
|
|
+ tools:src="@drawable/ic_account_enter"
|
|
|
+
|
|
|
+ />
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="12dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ll_top"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ android:layout_toEndOf="@id/img_icon"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="@{item.info_info!=null||item.order_info!=null?View.VISIBLE:View.GONE}">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="运单号:"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_sn"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{item.order_info!=null?item.order_info.order_sn:item.info_info.info_sn}"
|
|
|
+ android:textColor="#4E9FF8"
|
|
|
+ android:textSize="15sp"
|
|
|
+ tools:text="1234556699999999999999999999" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_name"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="@{item.data}"
|
|
|
+ android:textColor="#333333"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ tools:text="提现-提现到微信" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_desc"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:text="@{item.create_time}"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="14sp"
|
|
|
+ tools:text="今天 11:46" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_balance"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="@{item.set==1?@string/plus+item.money:@string/reduce+item.money}"
|
|
|
+ android:textColor="@{item.set==1?@color/pay_on:@color/pay_off}"
|
|
|
+ android:textSize="12sp"
|
|
|
+ tools:text="-500.00" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_available_balance"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:text="@{@string/yu+item.total}"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="13sp"
|
|
|
+ tools:text="当前余额:20000" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_alignParentBottom="true"
|
|
|
+ android:layout_marginStart="68dp"
|
|
|
+ android:background="#E5E5E5" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+</layout>
|