|
@@ -4,7 +4,9 @@
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
|
<data>
|
|
|
+
|
|
|
<import type="android.view.View" />
|
|
|
+
|
|
|
<variable
|
|
|
name="vm"
|
|
|
type="com.quansu.heifengwuliu.vmodel.SourceDetailsVModel" />
|
|
@@ -18,406 +20,405 @@
|
|
|
android:background="@color/color_page_bg"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <ScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="0dp"
|
|
|
android:layout_weight="1"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
+ android:scrollbars="none">
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="@dimen/dp_10"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_10">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
-
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:text="@{vm.info.order.send[0].province.name+vm.info.order.send[0].city.name+vm.info.order.send[0].area.name}"
|
|
|
- android:textColor="#4D9EEB"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- tools:text="山东 临沂"></TextView>
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="40dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:src="@drawable/ic_arrow"></ImageView>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_city_in"
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- 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+vm.info.order.receive[vm.info.order.receive.size()-1].area.name}"
|
|
|
- android:textColor="#BC5B55"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- tools:text="河北 唐山"></TextView>
|
|
|
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view_out"
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
- tools:listitem="@layout/item_peopleinfo"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </androidx.recyclerview.widget.RecyclerView>
|
|
|
-
|
|
|
-
|
|
|
- <androidx.recyclerview.widget.RecyclerView
|
|
|
- android:id="@+id/recycler_view_in"
|
|
|
- android:layout_width="match_parent"
|
|
|
- app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
- tools:listitem="@layout/item_enterinfo"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </androidx.recyclerview.widget.RecyclerView>
|
|
|
-
|
|
|
-
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:padding="@dimen/dp_10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:visibility="@{vm.type==0?View.VISIBLE :View.GONE}"
|
|
|
- app:layout_goneMarginTop="@dimen/dp_10"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_10">
|
|
|
-
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="60dp"
|
|
|
- android:src="@drawable/ic_phone_enter"
|
|
|
- android:layout_height="60dp">
|
|
|
-
|
|
|
- </ImageView>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:layout_height="match_parent">
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/dp_10"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_10">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_marginTop="@dimen/dp_6"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- tools:text="乔治"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
|
|
|
- <TextView
|
|
|
android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="@{vm.info.order.send[0].province.name+vm.info.order.send[0].city.name+vm.info.order.send[0].area.name}"
|
|
|
+ android:textColor="#4D9EEB"
|
|
|
android:textSize="@dimen/sp_15"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- tools:text="18535965350"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
+ tools:text="山东 临沂"></TextView>
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_width="20dp"
|
|
|
- android:src="@drawable/ic_collect_off"
|
|
|
- android:layout_height="20dp">
|
|
|
-
|
|
|
- </ImageView>
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:src="@drawable/ic_arrow"></ImageView>
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_city_in"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ 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+vm.info.order.receive[vm.info.order.receive.size()-1].area.name}"
|
|
|
+ android:textColor="#BC5B55"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="河北 唐山"></TextView>
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_marginTop="@dimen/dp_4"
|
|
|
android:layout_height="wrap_content">
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view_out"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
+ tools:listitem="@layout/item_peopleinfo">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- tools:text="鲁QAA888"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:text="/"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- tools:text="平板车 13米"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </TextView>
|
|
|
-
|
|
|
-
|
|
|
+ </androidx.recyclerview.widget.RecyclerView>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <androidx.recyclerview.widget.RecyclerView
|
|
|
+ android:id="@+id/recycler_view_in"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
+ tools:listitem="@layout/item_enterinfo">
|
|
|
+ </androidx.recyclerview.widget.RecyclerView>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="20dp"
|
|
|
- android:src="@drawable/ic_phone_out"
|
|
|
- android:layout_height="20dp">
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- </ImageView>
|
|
|
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="@dimen/dp_10"
|
|
|
+ android:visibility="@{vm.type==0?View.VISIBLE :View.GONE}"
|
|
|
+ app:layout_goneMarginTop="@dimen/dp_10"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_10">
|
|
|
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="60dp"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:src="@drawable/ic_phone_enter">
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ </ImageView>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_6"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="乔治"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="18535965350"></TextView>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:src="@drawable/ic_collect_off">
|
|
|
+
|
|
|
+ </ImageView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_4"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="鲁QAA888"></TextView>
|
|
|
+
|
|
|
+ <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="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="平板车 13米"></TextView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:src="@drawable/ic_phone_out">
|
|
|
|
|
|
+ </ImageView>
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="@dimen/dp_10"
|
|
|
- app:layout_goneMarginTop="@dimen/dp_10"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_10">
|
|
|
+ </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_marginStart="@dimen/dp_10"
|
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="@dimen/dp_80"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_title1"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:text="运单号:"></TextView>
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/dp_10"
|
|
|
+ app:layout_goneMarginTop="@dimen/dp_10"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_10">
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="@{vm.info.order.info_sn}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- tools:text="电话:1835399999"></TextView>
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/dp_80"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="运单号:"
|
|
|
+ android:textColor="@color/text_title1"
|
|
|
+ android:textSize="@dimen/sp_15"></TextView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:visibility="@{vm.info.order.type==1?View.VISIBLE :View.GONE}"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@{vm.info.order.info_sn}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="电话:1835399999"></TextView>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="@dimen/dp_80"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_title1"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:text="货物信息:"></TextView>
|
|
|
|
|
|
- <TextView
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="@{vm.info.order.receive[0].goods+@string/spot+vm.info.order.receive[0].nums+vm.info.order.receive[0].nums_type.name}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- tools:text="电话:1835399999"></TextView>
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="@{vm.info.order.type==1?View.VISIBLE :View.GONE}">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/dp_80"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="货物信息:"
|
|
|
+ android:textColor="@color/text_title1"
|
|
|
+ android:textSize="@dimen/sp_15"></TextView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@{vm.info.order.receive[0].goods+@string/spot+vm.info.order.receive[0].nums+vm.info.order.receive[0].nums_type.name}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="电话:1835399999"></TextView>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="@dimen/dp_80"
|
|
|
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_title1"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:text="车型车长:"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:text="@{vm.info.order.type_info.type_name+@string/spot+vm.info.order.type_info.longx+@string/rice}"
|
|
|
- tools:text="电话:1835399999"></TextView>
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/dp_80"
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="车型车长:"
|
|
|
+ android:textColor="@color/text_title1"
|
|
|
+ android:textSize="@dimen/sp_15"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@{vm.info.order.type_info.type_name+@string/spot+vm.info.order.type_info.longx+@string/rice}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="电话:1835399999"></TextView>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="@dimen/dp_80"
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_title1"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:text="备注:"></TextView>
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/dp_80"
|
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:text="@{vm.info.order.data}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- tools:text="电话:1835399999"></TextView>
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="备注:"
|
|
|
+ android:textColor="@color/text_title1"
|
|
|
+ android:textSize="@dimen/sp_15"></TextView>
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:text="@{vm.info.order.data}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="电话:1835399999"></TextView>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginBottom="@dimen/dp_5"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="@dimen/dp_80"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_title1"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:text="纸质回单:"></TextView>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- tools:text="电话:1835399999"></TextView>
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginBottom="@dimen/dp_5"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/dp_80"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="纸质回单:"
|
|
|
+ android:textColor="@color/text_title1"
|
|
|
+ android:textSize="@dimen/sp_15"></TextView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="电话:1835399999"></TextView>
|
|
|
|
|
|
|
|
|
- </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_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:orientation="vertical"
|
|
|
- android:padding="@dimen/dp_10"
|
|
|
- app:layout_goneMarginTop="@dimen/dp_10"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_10">
|
|
|
+ </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_marginStart="@dimen/dp_10"
|
|
|
android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/dp_10"
|
|
|
+ app:layout_goneMarginTop="@dimen/dp_10"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_10">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="@dimen/dp_80"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_title1"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- android:text="总运费:"></TextView>
|
|
|
|
|
|
- <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_15"
|
|
|
- android:text="@{@string/total_img+vm.info.order.total}"
|
|
|
- tools:text="¥30000"></TextView>
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="@dimen/dp_80"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="总运费:"
|
|
|
+ android:textColor="@color/text_title1"
|
|
|
+ android:textSize="@dimen/sp_15"></TextView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <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.total}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="¥30000"></TextView>
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
@@ -433,8 +434,8 @@
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
android:onClick="@{v->vm.setCancelOrder(vm.info.order.info_id)}"
|
|
|
android:text="取消发布"
|
|
|
- android:visibility="@{vm.isShowCancelBut(vm.info.order.info_state)?View.VISIBLE:View.GONE}"
|
|
|
android:textColor="@color/text_title"
|
|
|
+ android:visibility="@{vm.isShowCancelBut(vm.info.order.info_state)?View.VISIBLE:View.GONE}"
|
|
|
app:qmui_borderColor="@color/color_line"
|
|
|
app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
@@ -445,10 +446,10 @@
|
|
|
android:layout_width="120dp"
|
|
|
android:layout_height="@dimen/dp_40"
|
|
|
android:layout_marginStart="@dimen/dp_15"
|
|
|
- android:text="再来一单"
|
|
|
- android:visibility="@{vm.type==1?View.VISIBLE:View.GONE}"
|
|
|
android:onClick="@{v->vm.anotherOne()}"
|
|
|
+ android:text="再来一单"
|
|
|
android:textColor="@color/text_title"
|
|
|
+ android:visibility="@{vm.type==1?View.VISIBLE:View.GONE}"
|
|
|
app:qmui_borderColor="@color/color_line"
|
|
|
app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
@@ -459,10 +460,10 @@
|
|
|
android:layout_width="120dp"
|
|
|
android:layout_height="@dimen/dp_40"
|
|
|
android:layout_marginStart="@dimen/dp_15"
|
|
|
- android:text="接单车辆"
|
|
|
android:onClick="@{v->vm.goDriverList()}"
|
|
|
- android:visibility="@{vm.isShowReceiveVehicle(vm.info.order.info_state)?View.VISIBLE:View.GONE}"
|
|
|
+ android:text="接单车辆"
|
|
|
android:textColor="@color/text_title"
|
|
|
+ android:visibility="@{vm.isShowReceiveVehicle(vm.info.order.info_state)?View.VISIBLE:View.GONE}"
|
|
|
app:qmui_borderColor="@color/color_line"
|
|
|
app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
@@ -474,10 +475,10 @@
|
|
|
android:layout_width="120dp"
|
|
|
android:layout_height="@dimen/dp_40"
|
|
|
android:layout_marginStart="@dimen/dp_15"
|
|
|
- android:text="运输轨迹"
|
|
|
android:onClick="@{v->vm.goTrack()}"
|
|
|
- android:visibility="@{vm.type==0?View.VISIBLE:View.GONE}"
|
|
|
+ android:text="运输轨迹"
|
|
|
android:textColor="@color/text_title"
|
|
|
+ android:visibility="@{vm.type==0?View.VISIBLE:View.GONE}"
|
|
|
app:qmui_borderColor="@color/color_line"
|
|
|
app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
@@ -489,18 +490,16 @@
|
|
|
android:layout_width="120dp"
|
|
|
android:layout_height="@dimen/dp_40"
|
|
|
android:layout_marginStart="@dimen/dp_15"
|
|
|
- android:text="下一步"
|
|
|
android:onClick="@{v->vm.goStep()}"
|
|
|
- android:visibility="@{vm.type==0?View.VISIBLE:View.GONE}"
|
|
|
+ android:text="下一步"
|
|
|
android:textColor="@color/text_title"
|
|
|
+ android:visibility="@{vm.type==0?View.VISIBLE:View.GONE}"
|
|
|
app:qmui_borderColor="@color/color_line"
|
|
|
app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
</com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton>
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
</LinearLayout>
|
|
|
|
|
|
|