|
@@ -1,88 +1,73 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
- xmlns:tools="http://schemas.android.com/tools" >
|
|
|
+ xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
|
- <data >
|
|
|
+ <data>
|
|
|
+ <import type="android.view.View" />
|
|
|
|
|
|
<variable
|
|
|
name="vm"
|
|
|
type="com.quansu.heifengwuliu.vmodel.MineVModel" />
|
|
|
- </data >
|
|
|
+ </data>
|
|
|
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/color_page_bg"
|
|
|
- android:orientation="vertical" >
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
android:id="@+id/refresh_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent" >
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:orientation="vertical" >
|
|
|
-
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:background="@drawable/ic_mine_bg"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- android:layout_height="wrap_content">
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
+ app:layout_constraintTop_toTopOf="parent"></LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/img_info"
|
|
|
+ android:layout_width="26dp"
|
|
|
+ android:layout_height="26dp"
|
|
|
+ android:layout_marginTop="30dp"
|
|
|
+ android:layout_marginEnd="24dp"
|
|
|
+ android:onClick="@{v->vm.goMsg()}"
|
|
|
+ android:padding="2dp"
|
|
|
+ android:src="@drawable/ic_msg"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/lay_title"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/title_bar_height"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toTopOf="parent" >
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/tv_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerInParent="true"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:text="个人中心"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_16"
|
|
|
- android:textStyle="bold" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:layout_width="25dp"
|
|
|
- android:layout_height="25dp"
|
|
|
- android:layout_alignParentEnd="true"
|
|
|
- android:layout_centerVertical="true"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
- android:onClick="@{v->vm.goMsg()}"
|
|
|
- android:padding="@dimen/dp_2"
|
|
|
- android:src="@drawable/ic_msg" />
|
|
|
-
|
|
|
- </RelativeLayout >
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
|
android:id="@+id/lay_user_info"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="106dp"
|
|
|
- android:paddingStart="@dimen/dp_10"
|
|
|
- android:paddingEnd="@dimen/dp_10"
|
|
|
+ android:layout_height="158dp"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:background="@drawable/ic_mine_two"
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/lay_title" >
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/img_info">
|
|
|
|
|
|
<com.qmuiteam.qmui.widget.QMUIRadiusImageView
|
|
|
android:id="@+id/img_user_avater"
|
|
|
android:layout_width="55dp"
|
|
|
android:layout_height="55dp"
|
|
|
- android:src="@drawable/ic_default_image"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent"
|
|
|
+ android:layout_marginStart="38dp"
|
|
|
+ android:layout_marginTop="34dp"
|
|
|
+ android:src="@drawable/ic_default_avatar"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:qmui_border_color="@color/white"
|
|
|
app:qmui_is_circle="true"
|
|
|
app:url="@{vm.user.avatar()}" />
|
|
|
|
|
@@ -90,9 +75,11 @@
|
|
|
android:id="@+id/tv_user_name"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginStart="7dp"
|
|
|
android:text="@{vm.user.name}"
|
|
|
+ android:textColor="#111111"
|
|
|
+ android:textSize="20sp"
|
|
|
+ android:textStyle="bold"
|
|
|
app:layout_constraintStart_toEndOf="@id/img_user_avater"
|
|
|
app:layout_constraintTop_toTopOf="@id/img_user_avater"
|
|
|
tools:text="郑货主" />
|
|
@@ -102,231 +89,405 @@
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="2dp"
|
|
|
android:layout_marginBottom="10dp"
|
|
|
android:text="@{vm.user.mobile}"
|
|
|
- app:layout_constraintBottom_toBottomOf="@id/img_user_avater"
|
|
|
+ android:textColor="#606060"
|
|
|
+ android:textSize="14sp"
|
|
|
app:layout_constraintStart_toEndOf="@id/img_user_avater"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/tv_user_name"
|
|
|
tools:text="18353965350" />
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:id="@+id/btn_identity_unverified"
|
|
|
- android:layout_width="80dp"
|
|
|
+ android:layout_width="84dp"
|
|
|
android:layout_height="26dp"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_marginEnd="49dp"
|
|
|
+ android:gravity="center"
|
|
|
android:onClick="@{v->vm.goPersonalVerify()}"
|
|
|
- android:text="@{vm.user.isInfo()?@string/identity_certified:@string/identity_unverified,default=@string/identity_unverified}"
|
|
|
- android:textColor="#459AEA"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
+ android:orientation="horizontal"
|
|
|
app:layout_constraintBottom_toTopOf="@id/btn_com_unverified"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toTopOf="@id/img_user_avater"
|
|
|
- app:qmui_backgroundColor="#E8F1FB"
|
|
|
- app:qmui_borderColor="#459AEA"
|
|
|
- app:qmui_radius="@dimen/dp_4" />
|
|
|
+ app:qmui_borderColor="#FFBC00"
|
|
|
+ app:qmui_borderWidth="1dp"
|
|
|
+ app:qmui_radius="4dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.user.isInfo()?@string/identity_certified:@string/identity_unverified,default=@string/identity_unverified}"
|
|
|
+ android:textColor="#FFBC00"
|
|
|
+ android:textSize="11sp"
|
|
|
+ tools:text="身份未认证" />
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:src="@drawable/ic_yellow_right" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:id="@+id/btn_com_unverified"
|
|
|
- android:layout_width="80dp"
|
|
|
+ android:layout_width="84dp"
|
|
|
android:layout_height="26dp"
|
|
|
- android:layout_marginTop="@dimen/dp_8"
|
|
|
- android:layout_marginEnd="@dimen/dp_10"
|
|
|
+ android:layout_marginTop="8dp"
|
|
|
+ android:layout_marginEnd="49dp"
|
|
|
+ android:gravity="center"
|
|
|
android:onClick="@{v->vm.user.isDriver()?vm.goVehicleVerify():vm.goComVerify()}"
|
|
|
- android:text="@{vm.user.isDriver()? vm.user.isCar()? @string/vehicle_certified:@string/vehicle_unverified :vm.user.isCompany()?@string/com_certified:@string/com_unverified}"
|
|
|
- android:textColor="#459AEA"
|
|
|
- android:textSize="@dimen/sp_13"
|
|
|
+ android:orientation="horizontal"
|
|
|
app:layout_constraintBottom_toBottomOf="@id/img_user_avater"
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@id/btn_identity_unverified"
|
|
|
- app:qmui_backgroundColor="#E8F1FB"
|
|
|
- app:qmui_borderColor="#459AEA"
|
|
|
- app:qmui_radius="@dimen/dp_4" />
|
|
|
+ app:qmui_borderColor="#FFBC00"
|
|
|
+ app:qmui_borderWidth="1dp"
|
|
|
+ app:qmui_radius="4dp">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.user.isDriver()? vm.user.isCar()? @string/vehicle_certified:@string/vehicle_unverified :vm.user.isCompany()?@string/com_certified:@string/com_unverified}"
|
|
|
+ android:textColor="#FFBC00"
|
|
|
+ android:textSize="11sp"
|
|
|
+ tools:text="身份未认证" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:src="@drawable/ic_yellow_right" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout >
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
|
|
- <com.qmuiteam.qmui.layout.QMUILinearLayout
|
|
|
- android:id="@+id/ll_center"
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="10dp"
|
|
|
- android:layout_marginTop="@dimen/dp_20"
|
|
|
- android:layout_marginEnd="10dp"
|
|
|
- android:background="@color/white"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:paddingTop="15dp"
|
|
|
- android:paddingBottom="20dp"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/lay_user_info" >
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:background="@drawable/bg_mine_bottom"
|
|
|
+ android:orientation="vertical"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/lay_user_info"
|
|
|
+ app:layout_constraintVertical_weight="1">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:id="@+id/ll_center"
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:onClick="@{v->vm.goMyAccount()}"
|
|
|
- android:orientation="vertical" >
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="9dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="16dp"
|
|
|
+ android:paddingBottom="15dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ android:visibility="@{vm.user.isDriver()?View.VISIBLE:View.GONE}"
|
|
|
+ app:qmui_radius="10dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:onClick="@{v->vm.goMyAccount()}"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ style="@style/img_mine"
|
|
|
+ android:src="@drawable/ic_my_account" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="3dp"
|
|
|
+ android:text="@string/my_account"
|
|
|
+ android:textColor="#48494A"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:onClick="@{v->vm.goCollection()}"
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/img_mine"
|
|
|
- android:src="@drawable/ic_default_image" />
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <ImageView
|
|
|
+ style="@style/img_mine"
|
|
|
+ android:src="@drawable/ic_my_owner" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:text="我的货主"
|
|
|
+ android:textColor="#48494A"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:text="@string/my_account" />
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:onClick="@{v->vm.goInvoice()}"
|
|
|
|
|
|
- </LinearLayout >
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:onClick="@{v->vm.goCollection()}"
|
|
|
+ <ImageView
|
|
|
+ style="@style/img_mine"
|
|
|
+ android:src="@drawable/ic_my_evaluate" />
|
|
|
|
|
|
- android:orientation="vertical" >
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="6dp"
|
|
|
+ android:text="我的评价"
|
|
|
+ android:textColor="#48494A"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/img_mine"
|
|
|
- android:src="@drawable/ic_default_image" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:text="@string/my_collection" />
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ style="@style/img_mine"
|
|
|
+ android:src="@drawable/ic_my_service" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:text="@string/connect_service"
|
|
|
+ android:textColor="#48494A"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- </LinearLayout >
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
+ <!-- 货主端-->
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:onClick="@{v->vm.goInvoice()}"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:layout_marginEnd="9dp"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:paddingTop="16dp"
|
|
|
+ android:paddingBottom="15dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ android:visibility="@{vm.user.isDriver()?View.GONE:View.VISIBLE}"
|
|
|
+ app:qmui_radius="10dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:onClick="@{v->vm.goMyAccount()}"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ style="@style/img_mine"
|
|
|
+ android:src="@drawable/ic_my_account" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="3dp"
|
|
|
+ android:text="@string/my_account"
|
|
|
+ android:textColor="#48494A"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:onClick="@{v->vm.goCollection()}"
|
|
|
|
|
|
- android:orientation="vertical" >
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/img_mine"
|
|
|
- android:src="@drawable/ic_default_image" />
|
|
|
+ <ImageView
|
|
|
+ style="@style/img_mine"
|
|
|
+ android:src="@drawable/ic_my_collection" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:text="@string/my_collection"
|
|
|
+ android:textColor="#48494A"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:text="@string/invoice_manage" />
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:onClick="@{v->vm.goInvoice()}"
|
|
|
|
|
|
- </LinearLayout >
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical" >
|
|
|
+ <ImageView
|
|
|
+ style="@style/img_mine"
|
|
|
+ android:src="@drawable/ic_my_invoice" />
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/img_mine"
|
|
|
- android:src="@drawable/ic_default_image" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="3dp"
|
|
|
+ android:text="@string/invoice_manage"
|
|
|
+ android:textColor="#48494A"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:text="@string/connect_service" />
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- </LinearLayout >
|
|
|
+ <ImageView
|
|
|
+ style="@style/img_mine"
|
|
|
+ android:src="@drawable/ic_my_service" />
|
|
|
|
|
|
- </com.qmuiteam.qmui.layout.QMUILinearLayout >
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:text="@string/connect_service"
|
|
|
+ android:textColor="#48494A"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:orientation="vertical"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@id/ll_center" >
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- style="@style/mine_list"
|
|
|
- android:layout_marginTop="4dp" >
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/mine_img"
|
|
|
- android:src="@drawable/ic_cloud_sync" />
|
|
|
|
|
|
- <TextView
|
|
|
- style="@style/mine_text"
|
|
|
- android:text="我的评价" />
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/mine_arrow_right"
|
|
|
- android:src="@drawable/mine_right" />
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="9dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="15dp"
|
|
|
+ android:paddingTop="19dp"
|
|
|
+ android:paddingEnd="31dp"
|
|
|
+ android:paddingBottom="19dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="10dp">
|
|
|
|
|
|
- </LinearLayout >
|
|
|
+ <LinearLayout
|
|
|
+ style="@style/mine_list"
|
|
|
+ android:visibility="@{vm.user.isDriver()?View.GONE:View.VISIBLE}"
|
|
|
+ >
|
|
|
|
|
|
- <View style="@style/line_mine" />
|
|
|
+ <ImageView
|
|
|
+ style="@style/mine_img"
|
|
|
+ android:src="@drawable/my_coment" />
|
|
|
|
|
|
- <LinearLayout style="@style/mine_list"
|
|
|
- android:onClick="@{v->vm.goAdress()}"
|
|
|
- >
|
|
|
+ <TextView
|
|
|
+ style="@style/mine_text"
|
|
|
+ android:text="我的评价" />
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/mine_img"
|
|
|
- android:src="@drawable/ic_backup" />
|
|
|
+ <ImageView
|
|
|
+ style="@style/mine_arrow_right"
|
|
|
+ android:src="@drawable/mine_right" />
|
|
|
|
|
|
- <TextView
|
|
|
- style="@style/mine_text"
|
|
|
- android:text="地址薄" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/mine_arrow_right"
|
|
|
- android:src="@drawable/mine_right" />
|
|
|
+ <LinearLayout
|
|
|
+ android:visibility="@{vm.user.isDriver()?View.GONE:View.VISIBLE}"
|
|
|
+ style="@style/mine_list"
|
|
|
+ android:onClick="@{v->vm.goAdress()}">
|
|
|
|
|
|
- </LinearLayout >
|
|
|
+ <ImageView
|
|
|
+ style="@style/mine_img"
|
|
|
+ android:src="@drawable/my_address" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ style="@style/mine_text"
|
|
|
+ android:text="地址薄" />
|
|
|
|
|
|
+ <ImageView
|
|
|
+ style="@style/mine_arrow_right"
|
|
|
+ android:src="@drawable/mine_right" />
|
|
|
|
|
|
- <View style="@style/line_mine" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/lay_settings"
|
|
|
- style="@style/mine_list"
|
|
|
- android:onClick="@{v->vm.goSettings()}" >
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/lay_settings"
|
|
|
+ style="@style/mine_list"
|
|
|
+ android:onClick="@{v->vm.goSettings()}">
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/mine_img"
|
|
|
- android:src="@drawable/ic_private_settings" />
|
|
|
+ <ImageView
|
|
|
+ style="@style/mine_img"
|
|
|
+ android:src="@drawable/my_setting" />
|
|
|
|
|
|
- <TextView
|
|
|
- style="@style/mine_text"
|
|
|
- android:text="设置" />
|
|
|
+ <TextView
|
|
|
+ style="@style/mine_text"
|
|
|
+ android:text="设置" />
|
|
|
|
|
|
- <ImageView
|
|
|
- style="@style/mine_arrow_right"
|
|
|
- android:src="@drawable/mine_right" />
|
|
|
+ <ImageView
|
|
|
+ style="@style/mine_arrow_right"
|
|
|
+ android:src="@drawable/mine_right" />
|
|
|
|
|
|
- </LinearLayout >
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <View style="@style/line_mine" />
|
|
|
|
|
|
- </LinearLayout >
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:layout_weight="1" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:layout_marginBottom="14dp"
|
|
|
+ android:textSize="12sp"
|
|
|
+ android:onClick="@{v->vm.callPhone()}"
|
|
|
+ android:text="平台联系方式:1835397689"
|
|
|
+ android:textColor="#979899"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- style="@style/mine_text"
|
|
|
- android:layout_gravity="center"
|
|
|
- android:layout_marginBottom="@dimen/dp_40"
|
|
|
- android:onClick="@{v->vm.callPhone()}"
|
|
|
- android:text="平台联系方式:1835397689"
|
|
|
- android:textColor="@color/qmui_config_color_gray_5"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent"
|
|
|
- app:layout_constraintEnd_toEndOf="parent"
|
|
|
- app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
|
|
- </androidx.constraintlayout.widget.ConstraintLayout >
|
|
|
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout >
|
|
|
- </LinearLayout >
|
|
|
-</layout >
|
|
|
+ </androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
+ </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
+ </LinearLayout>
|
|
|
+</layout>
|