|
@@ -0,0 +1,213 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
+
|
|
|
+ <data>
|
|
|
+
|
|
|
+ <variable
|
|
|
+ name="vm"
|
|
|
+ type="com.quansu.heifengwuliu.vmodel.RechargeVModel" />
|
|
|
+
|
|
|
+ </data>
|
|
|
+
|
|
|
+ <LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/color_bg"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="12dp"
|
|
|
+ android:paddingEnd="11dp">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="118dp"
|
|
|
+ android:layout_marginTop="19dp"
|
|
|
+ android:background="@drawable/ic_cash_top"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ 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:text="卡号:"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="17sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.infoBank.card}"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ tools:text="768 9876 2134 2344 78" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <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:text="银行:"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="17sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="@{vm.infoBank.bank}"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textStyle="bold"
|
|
|
+ tools:text="中国农业银行" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:layout_height="14dp"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_marginEnd="22dp"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:src="@drawable/ic_white_right" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/bg_withdraw_bottom"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:text="*根据上方账户打款之后将凭证通过本页面上传"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:textSize="12sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:layout_marginTop="21dp"
|
|
|
+ android:text="充值金额"
|
|
|
+ android:textColor="#1B1B1B"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="19dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:hint="输入充值金额"
|
|
|
+ android:inputType="number|numberDecimal"
|
|
|
+ android:paddingStart="26dp"
|
|
|
+ android:text="@={vm.money}"
|
|
|
+ android:textColor="#353535"
|
|
|
+ android:textColorHint="#696969"
|
|
|
+ android:textSize="30sp" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:layout_marginStart="26dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:background="#EBEBEB" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="26dp"
|
|
|
+ android:layout_marginTop="23dp"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="凭证"
|
|
|
+ android:textColor="#1B1B1B"
|
|
|
+ android:textSize="14sp" />
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="14dp"
|
|
|
+ android:onClick="@{v->vm.choseImg()}"
|
|
|
+ android:gravity="center_horizontal"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="57dp"
|
|
|
+ app:url="@{vm.url}"
|
|
|
+ android:src="@drawable/ic_recharge_photo"
|
|
|
+ android:layout_height="57dp" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:textSize="13dp"
|
|
|
+ android:textColor="#979899"
|
|
|
+ android:text="上传凭证"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="47dp"
|
|
|
+ android:layout_marginStart="26dp"
|
|
|
+ android:layout_marginTop="53dp"
|
|
|
+ android:layout_marginEnd="26dp"
|
|
|
+ android:layout_marginBottom="32dp"
|
|
|
+ android:onClick="@{v->vm.goSubmit()}"
|
|
|
+ android:text="提交"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp"
|
|
|
+ app:qmui_backgroundColor="#FFBB00"
|
|
|
+ app:qmui_borderColor="#FFBB00"
|
|
|
+ app:qmui_radius="25dp"
|
|
|
+ app:qmui_shadowAlpha="0.56"
|
|
|
+ app:qmui_shadowElevation="7dp" />
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+</layout>
|