|
@@ -1,7 +1,7 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<layout xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
- xmlns:tools="http://schemas.android.com/tools"
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
+<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>
|
|
|
|
|
@@ -17,541 +17,547 @@
|
|
|
android:background="#F5F5F5"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <ScrollView
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginStart="17dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:scrollbars="none">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
+ <ScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:scrollbars="none">
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="@dimen/dp_11"
|
|
|
- android:paddingEnd="@dimen/dp_16"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="@dimen/dp_11"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:paddingEnd="@dimen/dp_16"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center_vertical">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_yellow"
|
|
|
- android:layout_width="9dp"
|
|
|
- android:layout_height="10dp"
|
|
|
- android:src="@drawable/ic_circle_yellow" />
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_from"
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="22dp"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:textStyle="bold"
|
|
|
- android:text="@{vm.info.order.send[0].province.name+vm.info.order.send[0].city.name}"
|
|
|
- tools:text="12344" />
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/img_arrow"
|
|
|
- android:layout_width="26dp"
|
|
|
- android:layout_height="4dp"
|
|
|
- android:src="@drawable/ic_long_arrow" />
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center_vertical">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/iv_red"
|
|
|
- android:layout_width="9dp"
|
|
|
- android:layout_height="10dp"
|
|
|
- android:layout_marginStart="14dp"
|
|
|
- android:src="@drawable/ic_circle_red" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_to"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="22dp"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:textStyle="bold"
|
|
|
- android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].province.name+vm.info.order.send[vm.info.order.receive.size()-1].city.name}"
|
|
|
- tools:text="12344" />
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center_vertical">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_yellow"
|
|
|
+ android:layout_width="9dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:src="@drawable/ic_circle_yellow" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_from"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="22dp"
|
|
|
+ android:text="@{vm.info.order.send[0].province.name+vm.info.order.send[0].city.name}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ android:textStyle="bold"
|
|
|
+ tools:text="12344" />
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="8dp"
|
|
|
- android:layout_marginBottom="25dp"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- tools:text="经开区香港路9号"
|
|
|
- android:text="@{vm.info.order.send[0].address}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="13sp" />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_arrow"
|
|
|
+ android:layout_width="26dp"
|
|
|
+ android:layout_height="4dp"
|
|
|
+ android:src="@drawable/ic_long_arrow" />
|
|
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center_vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_red"
|
|
|
+ android:layout_width="9dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:layout_marginStart="14dp"
|
|
|
+ android:src="@drawable/ic_circle_red" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_to"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="22dp"
|
|
|
+ android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].province.name+vm.info.order.receive[vm.info.order.receive.size()-1].city.name}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ android:textStyle="bold"
|
|
|
+ tools:text="12344" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- tools:text="经开区香港路9号"
|
|
|
- android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].address}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="13sp" />
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginBottom="25dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@{vm.info.order.send[0].address}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="13sp"
|
|
|
+ tools:text="经开区香港路9号" />
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].address}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="13sp"
|
|
|
+ tools:text="经开区香港路9号" />
|
|
|
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_12"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:paddingStart="@dimen/dp_11"
|
|
|
- android:paddingEnd="@dimen/dp_16"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="40dp"
|
|
|
- android:layout_height="40dp"
|
|
|
- android:layout_marginTop="21dp"
|
|
|
- android:layout_marginBottom="21dp"
|
|
|
- android:src="@drawable/bg_need_error" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
- android:layout_marginEnd="8dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:orientation="vertical">
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="16sp"
|
|
|
- android:textStyle="bold"
|
|
|
- android:text="@{vm.info.company.company_name}"
|
|
|
- tools:text="临沂市昆仑物流有限公司" />
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_12"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="@dimen/dp_11"
|
|
|
+ android:paddingEnd="@dimen/dp_16"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="21dp"
|
|
|
+ android:layout_marginBottom="21dp"
|
|
|
+ android:src="@drawable/bg_need_error" />
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="7dp"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="#979899"
|
|
|
- android:textSize="16sp"
|
|
|
- android:text="累计交易"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="#979899"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:text="@{vm.info.company.company_name}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
android:textSize="16sp"
|
|
|
- android:text="@{vm.info.company.info_nums+@string/single}"
|
|
|
- tools:text="@string/single" />
|
|
|
-
|
|
|
+ android:textStyle="bold"
|
|
|
+ tools:text="临沂市昆仑物流有限公司" />
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:textColor="#979899"
|
|
|
- android:textSize="16sp"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:text="好评率" />
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="#979899"
|
|
|
- android:textSize="16sp"
|
|
|
- android:text="@{vm.info.company.hpl+@string/percent_sign}"
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:text="累计交易"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="16sp" />
|
|
|
|
|
|
- tools:text="@string/percent_sign" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.info.company.info_nums+@string/single}"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="16sp"
|
|
|
+ tools:text="@string/single" />
|
|
|
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:text="好评率"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="16sp" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.info.company.hpl+@string/percent_sign}"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="16sp"
|
|
|
|
|
|
+ tools:text="@string/percent_sign" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:onClick="@{v->vm.toCallPhone(vm.info.company.mobile)}"
|
|
|
- android:orientation="vertical">
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="24dp"
|
|
|
- android:layout_height="24dp"
|
|
|
- android:src="@drawable/ic_details_phone" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="13sp"
|
|
|
- android:text="@{vm.info.company.name}"
|
|
|
- tools:text="马勇" />
|
|
|
+ android:onClick="@{v->vm.toCallPhone(vm.info.company.mobile)}"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="24dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:src="@drawable/ic_details_phone" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:text="@{vm.info.company.name}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="13sp"
|
|
|
+ tools:text="马勇" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_12"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="21dp"
|
|
|
- android:paddingEnd="16dp"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
- android:gravity="center"
|
|
|
- android:text="详细信息"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="15sp"
|
|
|
- android:textStyle="bold" />
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="21dp"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginTop="@dimen/dp_12"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="21dp"
|
|
|
+ android:paddingEnd="16dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="装货时间"
|
|
|
- android:textColor="#767778"
|
|
|
- android:textSize="14sp" />
|
|
|
-
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="详细信息"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="15sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
- android:text="@{vm.info.order.send[0].time}"
|
|
|
+ android:layout_marginTop="21dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- tools:text="2020-09-03 下午" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="装货时间"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.order.send[0].time}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:orientation="horizontal">
|
|
|
+ tools:text="2020-09-03 下午" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="卸货时间"
|
|
|
- android:textColor="#767778"
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
- android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].time}"
|
|
|
- tools:text="2020-09-03 下午" />
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="卸货时间"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].time}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ tools:text="2020-09-03 下午" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="货物信息"
|
|
|
- android:textColor="#767778"
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
- android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].goods+@string/left_bracket+vm.info.order.receive[vm.info.order.receive.size()-1].goods_type.name+@string/right_bracket}"
|
|
|
- tools:text="苹果(农产品)" />
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="货物信息"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].goods+@string/left_bracket+vm.info.order.receive[vm.info.order.receive.size()-1].goods_type.name+@string/right_bracket}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ tools:text="苹果(农产品)" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="车辆类型"
|
|
|
- android:textColor="#767778"
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
- android:text="@{vm.info.order.type_info.type_name+@string/spot+vm.info.order.type_info.length}"
|
|
|
- tools:text="平板货车 · 13米" />
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="车辆类型"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="本单重量"
|
|
|
- android:textColor="#767778"
|
|
|
- android:textSize="14sp" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.order.type_info.type_name+@string/spot+vm.info.order.type_info.length}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ tools:text="平板货车 · 13米" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
- android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].nums+vm.info.order.receive[vm.info.order.receive.size()-1].nums_type.name}"
|
|
|
- tools:text="35吨" />
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="本单重量"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="本单价格"
|
|
|
- android:textColor="#767778"
|
|
|
- android:textSize="14sp" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.order.receive[vm.info.order.receive.size()-1].nums+vm.info.order.receive[vm.info.order.receive.size()-1].nums_type.name}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ tools:text="35吨" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
- android:text="@{@string/total_img+vm.info.order.receive[vm.info.order.receive.size()-1].price}"
|
|
|
- tools:text="¥3500" />
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="本单价格"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:layout_marginBottom="20dp"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="备注信息"
|
|
|
- android:textColor="#767778"
|
|
|
- android:textSize="14sp" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{@string/total_img+vm.info.order.receive[vm.info.order.receive.size()-1].price}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ tools:text="¥3500" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
- android:text="@{vm.info.order.data}"
|
|
|
- tools:text="稳中求快" />
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:layout_marginBottom="20dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="备注信息"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.order.data}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ tools:text="稳中求快" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="66dp"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:layout_marginEnd="66dp"
|
|
|
- android:gravity="center"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="14sp"
|
|
|
- tools:text="*货主共计需要10辆车,运输350吨货物 当前已有7辆车接单">
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </TextView>
|
|
|
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="66dp"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginEnd="66dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:text="@{vm.tips}"
|
|
|
+ tools:text="*货主共计需要10辆车,运输350吨货物 当前已有7辆车接单">
|
|
|
+
|
|
|
+ </TextView>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center"
|
|
|
- android:layout_marginTop="56dp"
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
<LinearLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginTop="56dp"
|
|
|
+ android:paddingBottom="106dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="20dp"
|
|
|
- android:text="使用协议"
|
|
|
- android:textColor="#FFBC00"
|
|
|
- android:textSize="13sp"></TextView>
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="1dp"
|
|
|
- android:layout_height="15dp"
|
|
|
- android:background="#979899" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:text="使用协议"
|
|
|
+ android:textColor="#FFBC00"
|
|
|
+ android:textSize="13sp"></TextView>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="20dp"
|
|
|
- android:text="操作指引"
|
|
|
- android:textColor="#FFBC00"
|
|
|
- android:textSize="13sp"></TextView>
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="15dp"
|
|
|
+ android:background="#979899" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:text="操作指引"
|
|
|
+ android:textColor="#FFBC00"
|
|
|
+ android:textSize="13sp"></TextView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
- <FrameLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:onClick="@{v->vm.toGrab(vm.info.order.info_id)}"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- <ImageView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="106dp"
|
|
|
- android:src="@drawable/ic_details_grab" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:text="抢单"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="16sp"
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
- </TextView>
|
|
|
|
|
|
- </FrameLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
+
|
|
|
+
|
|
|
+ <FrameLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="bottom"
|
|
|
+ android:onClick="@{v->vm.toGrab(vm.info.order.info_id)}">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="106dp"
|
|
|
+ android:src="@drawable/ic_details_grab" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_gravity="center"
|
|
|
+ android:text="抢单"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp">
|
|
|
+
|
|
|
+ </TextView>
|
|
|
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
- </ScrollView>
|
|
|
+ </FrameLayout>
|
|
|
</LinearLayout>
|
|
|
</layout>
|