|
@@ -4,7 +4,9 @@
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
|
<data>
|
|
|
+
|
|
|
<import type="android.view.View" />
|
|
|
+
|
|
|
<import type="com.quansu.heifengwuliu.BuildConfig" />
|
|
|
|
|
|
<variable
|
|
@@ -29,525 +31,536 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:scrollbars="none">
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="17dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="11dp"
|
|
|
- android:paddingEnd="8dp"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="19dp"
|
|
|
- android:text="投保人信息"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="15sp" />
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="14dp"
|
|
|
- android:layout_marginBottom="20dp">
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="11dp"
|
|
|
+ android:paddingEnd="8dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="投保人"
|
|
|
+ android:layout_marginTop="19dp"
|
|
|
+ android:text="投保人信息"
|
|
|
android:textColor="#26292F"
|
|
|
- android:textSize="14sp" />
|
|
|
+ android:textSize="15sp" />
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp"
|
|
|
- android:text="山东鑫运必达物流科技有限责任公司" />
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:layout_marginBottom="20dp">
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="投保人"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.applicantInfo.name}"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="17dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="11dp"
|
|
|
- android:paddingEnd="8dp"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="19dp"
|
|
|
- android:text="被保人信息"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="15sp" />
|
|
|
+ </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="13dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="11dp"
|
|
|
+ android:paddingEnd="8dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
+
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="姓名"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_16">
|
|
|
+ android:layout_marginTop="19dp"
|
|
|
+ android:text="被保人信息"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="15sp" />
|
|
|
+
|
|
|
|
|
|
- </TextView>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <EditText
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@null"
|
|
|
- android:text="@={vm.name}"
|
|
|
- android:gravity="center_vertical|right"
|
|
|
- android:hint="请输入被保人姓名"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textColorHint="#979899"
|
|
|
- android:textSize="@dimen/sp_13"></EditText>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="姓名"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_16">
|
|
|
|
|
|
+ </TextView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <EditText
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="center_vertical|right"
|
|
|
+ android:hint="请输入被保人姓名"
|
|
|
+ android:text="@={vm.name}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"></EditText>
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="企业统一信用代码"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_16">
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
|
|
|
- </TextView>
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <EditText
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@null"
|
|
|
- android:text="@={vm.number}"
|
|
|
- android:gravity="center_vertical|right"
|
|
|
- android:hint="请输入企业统一信用代码"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textColorHint="#979899"
|
|
|
- android:textSize="@dimen/sp_13"></EditText>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="企业统一信用代码"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_16">
|
|
|
|
|
|
+ </TextView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <EditText
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="center_vertical|right"
|
|
|
+ android:hint="请输入企业统一信用代码"
|
|
|
+ android:text="@={vm.number}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"></EditText>
|
|
|
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:layout_marginBottom="19dp"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="horizontal">
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="手机号"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textSize="@dimen/sp_16">
|
|
|
|
|
|
- </TextView>
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:layout_marginBottom="19dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- <EditText
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@null"
|
|
|
- android:text="@={vm.phone}"
|
|
|
- android:gravity="center_vertical|right"
|
|
|
- android:hint="请输入手机号"
|
|
|
- android:inputType="phone"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textColorHint="#979899"
|
|
|
- android:textSize="@dimen/sp_13"></EditText>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="手机号"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textSize="@dimen/sp_16">
|
|
|
|
|
|
+ </TextView>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <EditText
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="center_vertical|right"
|
|
|
+ android:hint="请输入手机号"
|
|
|
+ android:inputType="phone"
|
|
|
+ android:text="@={vm.phone}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"></EditText>
|
|
|
|
|
|
|
|
|
- </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="17dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="11dp"
|
|
|
- android:paddingEnd="8dp"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="19dp"
|
|
|
- android:text="车辆信息"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="15sp" />
|
|
|
+ </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="14dp"
|
|
|
- android:layout_marginBottom="20dp">
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="11dp"
|
|
|
+ android:paddingEnd="8dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="车牌号"
|
|
|
+ android:layout_marginTop="19dp"
|
|
|
+ android:text="车辆信息"
|
|
|
android:textColor="#26292F"
|
|
|
- android:textSize="14sp" />
|
|
|
+ android:textSize="15sp" />
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:text="@{vm.info.driver.number}"
|
|
|
- android:textSize="14sp"
|
|
|
- tools:text="鲁Q99999" />
|
|
|
-
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginTop="14dp"
|
|
|
+ android:layout_marginBottom="20dp">
|
|
|
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="车牌号"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="17dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="11dp"
|
|
|
- android:paddingEnd="8dp"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="19dp"
|
|
|
- android:text="货物信息"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="15sp" />
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp">
|
|
|
-
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.vehicleInfoList[0].licensePlateNo}"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp"
|
|
|
+ tools:text="鲁Q99999" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="货物名称"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp"
|
|
|
- android:text="@{vm.info.info.receive[vm.info.info.receive.size()-1].goods}"
|
|
|
- tools:text="水泥" />
|
|
|
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:onClick="@{v->vm.choseType()}"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp">
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="11dp"
|
|
|
+ android:paddingEnd="8dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="货物类型"
|
|
|
+ android:layout_marginTop="19dp"
|
|
|
+ android:text="货物信息"
|
|
|
android:textColor="#26292F"
|
|
|
- android:textSize="14sp" />
|
|
|
+ android:textSize="15sp" />
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="0dp"
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_weight="1"
|
|
|
- android:gravity="right"
|
|
|
- android:text="@{vm.schemeName}"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp"
|
|
|
- tools:text="水泥" />
|
|
|
+ android:layout_marginTop="13dp">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="8dp"
|
|
|
- android:layout_height="13dp"
|
|
|
- android:layout_marginStart="4dp"
|
|
|
- android:src="@drawable/ic_insure_back" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="货物名称"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp">
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.goodsInfoList[0].goodsName}"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp"
|
|
|
+ tools:text="水泥" />
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="保险费率"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp" />
|
|
|
-
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:text="@{vm.schemeCodeName}"
|
|
|
- android:textSize="14sp"
|
|
|
- tools:text="水泥" />
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:onClick="@{v->vm.choseType()}">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="货物类型"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.schemeName}"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp"
|
|
|
+ tools:text="水泥" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="13dp"
|
|
|
+ android:visibility="@{vm.type==0?View.VISIBLE:View.GONE}"
|
|
|
+ android:layout_marginStart="4dp"
|
|
|
+ android:src="@drawable/ic_insure_back" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="13dp">
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="保险费率"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.schemeCodeName}"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp"
|
|
|
+ tools:text="水泥" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="起运地"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp"
|
|
|
- android:text="@{vm.info.info.send[vm.info.info.send.size()-1].province.name+vm.info.info.send[vm.info.info.send.size()-1].city.name+vm.info.info.send[vm.info.info.send.size()-1].area.name+vm.info.info.send[vm.info.info.send.size()-1].address}"
|
|
|
- tools:text="水泥" />
|
|
|
+ android:layout_marginTop="13dp">
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="起运地"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:layout_marginBottom="19dp">
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.startPlace.areaName}"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp"
|
|
|
+ tools:text="水泥" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="目的地"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:gravity="right"
|
|
|
- android:text="@{vm.info.info.receive[vm.info.info.receive.size()-1].province.name+vm.info.info.receive[vm.info.info.receive.size()-1].city.name+vm.info.info.receive[vm.info.info.receive.size()-1].area.name+vm.info.info.receive[vm.info.info.receive.size()-1].address}"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp"
|
|
|
- tools:text="水泥" />
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:layout_marginBottom="19dp">
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="目的地"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.info.finishPlace.areaName}"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp"
|
|
|
+ tools:text="水泥" />
|
|
|
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginStart="17dp"
|
|
|
- android:layout_marginTop="12dp"
|
|
|
- android:layout_marginEnd="16dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:paddingStart="11dp"
|
|
|
- android:paddingEnd="8dp"
|
|
|
- app:qmui_backgroundColor="@color/white"
|
|
|
- app:qmui_borderColor="@color/white"
|
|
|
- app:qmui_radius="@dimen/dp_4">
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="19dp"
|
|
|
- android:text="保险计算器"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="15sp" />
|
|
|
+ </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="13dp">
|
|
|
+ android:layout_marginStart="17dp"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ android:layout_marginEnd="16dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="11dp"
|
|
|
+ android:paddingEnd="8dp"
|
|
|
+ app:qmui_backgroundColor="@color/white"
|
|
|
+ app:qmui_borderColor="@color/white"
|
|
|
+ app:qmui_radius="@dimen/dp_4">
|
|
|
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="保额"
|
|
|
+ android:layout_marginTop="19dp"
|
|
|
+ android:text="保险计算器"
|
|
|
android:textColor="#26292F"
|
|
|
- android:textSize="14sp" />
|
|
|
+ android:textSize="15sp" />
|
|
|
|
|
|
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="13dp">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="保额"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+
|
|
|
+ <EditText
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginStart="@dimen/dp_10"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:background="@null"
|
|
|
+ android:gravity="center_vertical|right"
|
|
|
+ android:hint="@{@string/insure_tips+vm.minAmount}"
|
|
|
+ android:text="@={vm.money}"
|
|
|
+ android:textColor="@color/text_title"
|
|
|
+ android:textColorHint="#979899"
|
|
|
+ android:textSize="@dimen/sp_13"></EditText>
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:layout_width="68dp"
|
|
|
+ android:layout_height="26dp"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:onClick="@{v->vm.sumMoney()}"
|
|
|
+ android:text="计算保费"
|
|
|
+ android:visibility="@{vm.type==0?View.VISIBLE:View.GONE}"
|
|
|
+ android:textColor="#F6C553"
|
|
|
+ android:textSize="14sp"
|
|
|
+ app:qmui_backgroundColor="#FDF9F1"
|
|
|
+ app:qmui_borderColor="#F5BF41"
|
|
|
+ app:qmui_borderWidth="1dp"
|
|
|
+ app:qmui_radius="2dp" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="13dp"
|
|
|
+ android:layout_marginBottom="20dp">
|
|
|
|
|
|
- <EditText
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginStart="@dimen/dp_10"
|
|
|
- android:layout_weight="1"
|
|
|
- android:background="@null"
|
|
|
- android:gravity="center_vertical|right"
|
|
|
- android:hint="@{@string/insure_tips+vm.minAmount}"
|
|
|
- android:text="@={vm.money}"
|
|
|
- android:textColor="@color/text_title"
|
|
|
- android:textColorHint="#979899"
|
|
|
- android:textSize="@dimen/sp_13"></EditText>
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="保费金额"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
- android:layout_width="68dp"
|
|
|
- android:layout_height="26dp"
|
|
|
- android:layout_marginStart="8dp"
|
|
|
- android:text="计算保费"
|
|
|
- android:textColor="#F6C553"
|
|
|
- android:onClick="@{v->vm.sumMoney()}"
|
|
|
- android:textSize="14sp"
|
|
|
- app:qmui_backgroundColor="#FDF9F1"
|
|
|
- app:qmui_borderColor="#F5BF41"
|
|
|
- app:qmui_borderWidth="1dp"
|
|
|
- app:qmui_radius="2dp" />
|
|
|
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="right"
|
|
|
+ android:text="@{vm.priceFormat}"
|
|
|
+ android:textColor="#26292F"
|
|
|
+ android:textSize="14sp"
|
|
|
+ tools:text="300元" />
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="13dp"
|
|
|
- android:layout_marginBottom="20dp">
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="80dp" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="保费金额"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp" />
|
|
|
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:gravity="right"
|
|
|
- android:textColor="#26292F"
|
|
|
- android:textSize="14sp"
|
|
|
- android:text="@{vm.priceFormat}"
|
|
|
- tools:text="300元" />
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
|
|
|
- </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout>
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="80dp"/>
|
|
|
- </LinearLayout>
|
|
|
</ScrollView>
|
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_marginStart="16dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_gravity="bottom"
|
|
|
+ android:layout_marginStart="16dp"
|
|
|
android:layout_marginEnd="15dp"
|
|
|
- android:visibility="@{vm.type==1?View.VISIBLE:View.GONE}"
|
|
|
android:onClick="@{v->vm.putInsure()}"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:visibility="@{vm.type==0?View.VISIBLE:View.GONE}">
|
|
|
+
|
|
|
<ImageView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="71dp"
|
|
@@ -556,18 +569,17 @@
|
|
|
<TextView
|
|
|
android:id="@+id/tv_tips"
|
|
|
android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center"
|
|
|
android:text="立即投保"
|
|
|
android:textColor="@color/white"
|
|
|
- android:textSize="16sp"
|
|
|
- android:layout_height="wrap_content">
|
|
|
+ android:textSize="16sp">
|
|
|
|
|
|
</TextView>
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
-
|
|
|
</FrameLayout>
|
|
|
</LinearLayout>
|
|
|
</layout>
|