|
@@ -20,11 +20,10 @@
|
|
|
android:background="@color/color_page_bg"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <ScrollView
|
|
|
+ <FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="0dp"
|
|
|
- android:layout_weight="1"
|
|
|
- android:scrollbars="none">
|
|
|
+ android:layout_height="match_parent">
|
|
|
+
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
@@ -32,315 +31,734 @@
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ <ScrollView
|
|
|
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">
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:scrollbars="none">
|
|
|
|
|
|
<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"
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
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>
|
|
|
-
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="11dp"
|
|
|
+ android:paddingTop="20dp"
|
|
|
+ android:paddingEnd="14dp"
|
|
|
+ android:paddingBottom="20dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/iv_yellow"
|
|
|
+ android:layout_width="9dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:layout_marginStart="18dp"
|
|
|
+ android:src="@drawable/ic_circle_yellow" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ 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"
|
|
|
+ tools:text="山东 临沂"></TextView>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="26dp"
|
|
|
+ android:layout_height="4dp"
|
|
|
+ android:src="@drawable/ic_long_arrow"></ImageView>
|
|
|
+
|
|
|
+
|
|
|
+ <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_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}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_15"
|
|
|
+ tools:text="河北 唐山"></TextView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginStart="2dp"
|
|
|
+ android:layout_marginTop="17dp"
|
|
|
+ android:background="#E3E4E5" />
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ 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">
|
|
|
+
|
|
|
+ </androidx.recyclerview.widget.RecyclerView>
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginStart="2dp"
|
|
|
+ android:layout_marginTop="24dp"
|
|
|
+ android:background="#E3E4E5" />
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+
|
|
|
+ <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" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="76dp"
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="11dp"
|
|
|
+ android:paddingEnd="26dp"
|
|
|
+ android:visibility="@{vm.type==2?View.VISIBLE :View.GONE}"
|
|
|
+ app:layout_goneMarginTop="@dimen/dp_10"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- 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">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginTop="21dp"
|
|
|
+ android:layout_marginBottom="21dp"
|
|
|
+ android:src="@drawable/bg_need_error" />
|
|
|
|
|
|
- </androidx.recyclerview.widget.RecyclerView>
|
|
|
- </RelativeLayout>
|
|
|
+ <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">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:text="@{vm.info.company.company_name}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ tools:text="临沂市昆仑物流有限公司" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <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" />
|
|
|
+
|
|
|
+ <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" />
|
|
|
+
|
|
|
+ <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>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ 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" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
|
|
|
+ <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="马勇" />
|
|
|
|
|
|
- <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>
|
|
|
|
|
|
- </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: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">
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="60dp"
|
|
|
- android:layout_height="60dp"
|
|
|
- android:src="@drawable/ic_phone_enter">
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="76dp"
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingStart="11dp"
|
|
|
+ android:paddingEnd="26dp"
|
|
|
+ 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_4">
|
|
|
|
|
|
- </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">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="40dp"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:src="@drawable/bg_need_error">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- tools:text="乔治"></TextView>
|
|
|
+ </ImageView>
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginEnd="@dimen/dp_10"
|
|
|
android:layout_weight="1"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- tools:text="18535965350"></TextView>
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ 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>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ 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="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"></TextView>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ tools:text="平板车 13米"></TextView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<ImageView
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:src="@drawable/ic_collect_off">
|
|
|
+ android:layout_width="24dp"
|
|
|
+ android:layout_height="24dp"
|
|
|
+ android:src="@drawable/ic_details_phone">
|
|
|
|
|
|
</ImageView>
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </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_4"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="21dp"
|
|
|
+ android:paddingTop="20dp"
|
|
|
+ android:paddingEnd="16dp"
|
|
|
+ android:paddingBottom="18dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
+
|
|
|
+
|
|
|
+ <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="wrap_content"
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="运单号"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="@dimen/sp_14" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.order.info_sn}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_13"
|
|
|
+ tools:text="电话:1835399999"></TextView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_15"
|
|
|
- tools:text="鲁QAA888"></TextView>
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="@{vm.info.order.type==1?View.VISIBLE :View.GONE}">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="货物信息"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="@dimen/sp_14" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ 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_13"
|
|
|
+ tools:text="电话:1835399999"></TextView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
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>
|
|
|
+ android:layout_marginTop="@dimen/dp_14"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="车型车长"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="@dimen/sp_14" />
|
|
|
+
|
|
|
+
|
|
|
+ <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.longx+@string/rice}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ tools:text="电话:1835399999"></TextView>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
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>
|
|
|
+ android:layout_marginTop="@dimen/dp_13"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="备注"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="@dimen/sp_14" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
+ <TextView
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ 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_14"
|
|
|
+ tools:text="电话:1835399999"></TextView>
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:src="@drawable/ic_phone_out">
|
|
|
|
|
|
- </ImageView>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="纸质回单"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="@dimen/sp_14" />
|
|
|
|
|
|
|
|
|
- <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">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_14"
|
|
|
+ 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">
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <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>
|
|
|
|
|
|
- <TextView
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- 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>
|
|
|
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="50dp"
|
|
|
+ android:layout_marginStart="@dimen/dp_17"
|
|
|
+ android:layout_marginTop="@dimen/dp_12"
|
|
|
+ android:layout_marginEnd="@dimen/dp_16"
|
|
|
+ android:layout_marginBottom="9dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="21dp"
|
|
|
+ android:paddingEnd="16dp"
|
|
|
+ app:layout_goneMarginTop="@dimen/dp_10"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <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:visibility="@{vm.info.order.type==1?View.VISIBLE :View.GONE}">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ 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>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="运费"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:textSize="@dimen/sp_14"></TextView>
|
|
|
|
|
|
- <TextView
|
|
|
+ <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_14"
|
|
|
+ tools:text="¥30000"></TextView>
|
|
|
|
|
|
- android:layout_width="0dp"
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <!-- 司机端按钮 -->
|
|
|
+ <FrameLayout
|
|
|
+ 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_marginStart="16dp"
|
|
|
+ android:layout_marginEnd="@dimen/dp_16"
|
|
|
+ android:onClick="@{v->vm.toStartShip(vm.info.user_order.order_id)}"
|
|
|
+ android:visibility="@{vm.butShow?View.VISIBLE:View.GONE}">
|
|
|
+
|
|
|
+ <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="@{vm.tvTitle}"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp">
|
|
|
+
|
|
|
+ </TextView>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
+ <!-- 货主端按钮-->
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginBottom="@dimen/dp_10"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:visibility="@{vm.type==2?View.GONE:View.VISIBLE}">
|
|
|
|
|
|
- <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>
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:id="@+id/but_cancel"
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:onClick="@{v->vm.setCancelOrder(vm.info.order.info_id)}"
|
|
|
+ android:text="取消发布"
|
|
|
+ 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">
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton>
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:id="@+id/but_comeback"
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_marginStart="@dimen/dp_15"
|
|
|
+ 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">
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton>
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:id="@+id/but_driver"
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_marginStart="@dimen/dp_15"
|
|
|
+ android:onClick="@{v->vm.goDriverList()}"
|
|
|
+ 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">
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton>
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:id="@+id/but_track"
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_marginStart="@dimen/dp_15"
|
|
|
+ android:onClick="@{v->vm.goTrack()}"
|
|
|
+ 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>
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:id="@+id/but_step"
|
|
|
+ android:layout_width="120dp"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_marginStart="@dimen/dp_15"
|
|
|
+ android:onClick="@{v->vm.goStep()}"
|
|
|
+ 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>
|
|
|
|
|
|
- <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>
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#80000000"
|
|
|
+ android:gravity="center"
|
|
|
+ android:visibility="@{vm.isDialogShow?View.VISIBLE:View.GONE}"
|
|
|
+ android:onClick="@{v->vm.interceptClick()}"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="27dp"
|
|
|
+ android:layout_marginEnd="27dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="8dp">
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/dp_10"
|
|
|
+ android:layout_marginStart="20dp"
|
|
|
+ android:layout_marginTop="36dp"
|
|
|
+ android:layout_marginEnd="20dp"
|
|
|
+ android:layout_marginBottom="24dp"
|
|
|
android:gravity="center_vertical"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="@dimen/dp_80"
|
|
|
-
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="备注:"
|
|
|
- android:textColor="@color/text_title1"
|
|
|
- android:textSize="@dimen/sp_15"></TextView>
|
|
|
+ android:text="输入运送数量"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- <TextView
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="40dp"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ app:qmui_backgroundColor="#F4F5F6"
|
|
|
+ app:qmui_borderColor="#F4F5F6"
|
|
|
+ app:qmui_radius="4dp">
|
|
|
|
|
|
- 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>
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="请输入要实际送达数量"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:text="@={vm.number}"
|
|
|
+ android:paddingStart="15dp"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
@@ -348,159 +766,91 @@
|
|
|
<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:layout_marginStart="20dp"
|
|
|
+ android:layout_marginBottom="4dp"
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
<TextView
|
|
|
- android:layout_width="@dimen/dp_80"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="纸质回单:"
|
|
|
- android:textColor="@color/text_title1"
|
|
|
- android:textSize="@dimen/sp_15"></TextView>
|
|
|
+ android:text="凭证"
|
|
|
+ android:textColor="#000000"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
- <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>
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="57dp"
|
|
|
+ android:layout_height="59dp"
|
|
|
+ android:layout_marginStart="18dp"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:onClick="@{v->vm.choseImg()}"
|
|
|
+ app:url="@{vm.img}"
|
|
|
+ android:src="@drawable/ic_chose_img" />
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="68dp"
|
|
|
+ android:layout_marginBottom="25dp"
|
|
|
+ android:text="(上传照片)"
|
|
|
+ android:textColor="#9D9D9D"
|
|
|
+ android:textSize="11dp">
|
|
|
|
|
|
- </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="vertical"
|
|
|
- android:padding="@dimen/dp_10"
|
|
|
- app:layout_goneMarginTop="@dimen/dp_10"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_10">
|
|
|
+ </TextView>
|
|
|
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="#E3E4E5" />
|
|
|
|
|
|
<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"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="总运费:"
|
|
|
- android:textColor="@color/text_title1"
|
|
|
- android:textSize="@dimen/sp_15"></TextView>
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:layout_marginBottom="17dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:onClick="@{v->vm.goOperation(1,vm.info.user_order.order_id,vm.info.order.send[0].data_id)}"
|
|
|
+ android:text="取消"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="17sp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="1dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="#E3E4E5" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="15dp"
|
|
|
+ android:layout_marginBottom="17dp"
|
|
|
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>
|
|
|
+ android:onClick="@{v->vm.goOperation(2,vm.info.user_order.order_id,vm.info.order.send[0].data_id)}"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="确定"
|
|
|
+ android:textColor="#FFBC00"
|
|
|
+ android:textSize="17sp" />
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
+
|
|
|
</com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
+
|
|
|
</LinearLayout>
|
|
|
- </ScrollView>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginBottom="@dimen/dp_10"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
-
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
- android:id="@+id/but_cancel"
|
|
|
- android:layout_width="120dp"
|
|
|
- android:layout_height="@dimen/dp_40"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:onClick="@{v->vm.setCancelOrder(vm.info.order.info_id)}"
|
|
|
- android:text="取消发布"
|
|
|
- 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">
|
|
|
-
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton>
|
|
|
-
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
- android:id="@+id/but_comeback"
|
|
|
- android:layout_width="120dp"
|
|
|
- android:layout_height="@dimen/dp_40"
|
|
|
- android:layout_marginStart="@dimen/dp_15"
|
|
|
- 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">
|
|
|
-
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton>
|
|
|
-
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
- android:id="@+id/but_driver"
|
|
|
- android:layout_width="120dp"
|
|
|
- android:layout_height="@dimen/dp_40"
|
|
|
- android:layout_marginStart="@dimen/dp_15"
|
|
|
- android:onClick="@{v->vm.goDriverList()}"
|
|
|
- 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">
|
|
|
-
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton>
|
|
|
-
|
|
|
-
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
- android:id="@+id/but_track"
|
|
|
- android:layout_width="120dp"
|
|
|
- android:layout_height="@dimen/dp_40"
|
|
|
- android:layout_marginStart="@dimen/dp_15"
|
|
|
- android:onClick="@{v->vm.goTrack()}"
|
|
|
- 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>
|
|
|
-
|
|
|
-
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
- android:id="@+id/but_step"
|
|
|
- android:layout_width="120dp"
|
|
|
- android:layout_height="@dimen/dp_40"
|
|
|
- android:layout_marginStart="@dimen/dp_15"
|
|
|
- android:onClick="@{v->vm.goStep()}"
|
|
|
- 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>
|
|
|
+
|
|
|
+ </FrameLayout>
|
|
|
|
|
|
|
|
|
</LinearLayout>
|