|
@@ -3,6 +3,7 @@
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" >
|
|
|
|
|
|
<data >
|
|
|
+ <import type="android.view.View" />
|
|
|
|
|
|
<variable
|
|
|
name="vm"
|
|
@@ -29,6 +30,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="150dp"
|
|
|
android:layout_marginTop="@dimen/dp_8"
|
|
|
+ android:onClick="@{v->vm.choseImg()}"
|
|
|
android:src="@drawable/ic_default_image"
|
|
|
app:layout_constraintStart_toStartOf="@id/tv_title"
|
|
|
app:layout_constraintTop_toBottomOf="@id/tv_title"
|
|
@@ -44,7 +46,6 @@
|
|
|
android:orientation="vertical"
|
|
|
android:paddingStart="@dimen/dp_8"
|
|
|
android:paddingEnd="@dimen/dp_14"
|
|
|
- android:visibility="gone"
|
|
|
app:layout_constraintTop_toBottomOf="@id/img_id_man"
|
|
|
app:qmui_borderColor="#F4F3F9"
|
|
|
app:qmui_borderWidth="@dimen/dp_1"
|
|
@@ -60,15 +61,14 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/name" />
|
|
|
+ android:text="公司名称" />
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
|
android:id="@+id/edt_name"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
- android:hint="@string/name_must_equal_to_id_card"
|
|
|
- android:inputType="phone"
|
|
|
+ android:hint="请输入公司名称"
|
|
|
android:paddingStart="@dimen/dp_18"
|
|
|
android:text="@={vm.name}"
|
|
|
android:textSize="@dimen/sp_13" />
|
|
@@ -85,17 +85,16 @@
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="@string/id_number" />
|
|
|
+ android:text="证件编号" />
|
|
|
|
|
|
<com.ysnows.base.widget.DelEditText
|
|
|
android:id="@+id/edt_id_number"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:background="@color/white"
|
|
|
- android:hint="@string/please_input_id_number"
|
|
|
- android:inputType="phone"
|
|
|
+ android:hint="请输入证件编号"
|
|
|
android:paddingStart="@dimen/dp_18"
|
|
|
- android:text="@={vm.IDNumber}"
|
|
|
+ android:text="@={vm.iDNumber}"
|
|
|
android:textSize="@dimen/sp_13" />
|
|
|
|
|
|
</com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
@@ -120,9 +119,11 @@
|
|
|
android:layout_marginStart="@dimen/dp_30"
|
|
|
android:layout_marginEnd="@dimen/dp_30"
|
|
|
android:layout_marginBottom="@dimen/dp_30"
|
|
|
+ android:onClick="@{v->vm.toSubmit()}"
|
|
|
+ android:visibility="@{vm.isShow?View.VISIBLE :View.GONE}"
|
|
|
android:text="@string/submit"
|
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout >
|
|
|
|
|
|
-</layout >
|
|
|
+</layout >
|