|
@@ -0,0 +1,204 @@
|
|
|
+<?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.WithdrawalVModel" />
|
|
|
+
|
|
|
+ </data >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/color_bg"
|
|
|
+ android:paddingStart="12dp"
|
|
|
+ xmlns:tools="http://schemas.android.com/tools"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:paddingEnd="11dp"
|
|
|
+ android:orientation="vertical" >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:background="@drawable/ic_cash_top"
|
|
|
+ android:layout_marginTop="19dp"
|
|
|
+ android:gravity="center"
|
|
|
+ android:onClick="@{v->vm.goBank()}"
|
|
|
+ android:layout_height="118dp">
|
|
|
+
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_marginStart="25dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="卡号:"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ tools:text="768 9876 2134 2344 78"
|
|
|
+ android:text="@{vm.infoBank.number}"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginTop="7dp"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="银行:"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ tools:text="中国农业银行"
|
|
|
+ android:text="@{vm.infoBank.bank}"
|
|
|
+ android:textStyle="bold"
|
|
|
+ android:textSize="17sp"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="8dp"
|
|
|
+ android:src="@drawable/ic_white_right"
|
|
|
+ android:layout_marginEnd="22dp"
|
|
|
+ android:layout_marginStart="10dp"
|
|
|
+ android:layout_height="14dp"/>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="@drawable/bg_withdraw_bottom"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:text="提现金额"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:layout_marginTop="22dp"
|
|
|
+ android:textColor="#1B1B1B"
|
|
|
+ android:layout_marginStart="36dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:textSize="30sp"
|
|
|
+ android:hint="输入提现金额"
|
|
|
+ android:textColor="#353535"
|
|
|
+ android:background="@null"
|
|
|
+ android:text="@={vm.money}"
|
|
|
+ android:layout_marginTop="17dp"
|
|
|
+ android:paddingStart="36dp"
|
|
|
+ android:inputType="number|numberDecimal"
|
|
|
+ android:textColorHint="#696969"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:background="#EBEBEB"
|
|
|
+ android:layout_marginStart="36dp"
|
|
|
+ android:layout_marginTop="16dp"
|
|
|
+ android:layout_height="1dp"/>
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:layout_marginStart="36dp"
|
|
|
+ android:layout_marginTop="18dp"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:textSize="13sp"
|
|
|
+ android:textColor="#696969"
|
|
|
+ android:text="@{@string/withdrawal_amount+@string/total_img+vm.canUseMoney+@string/comma}"
|
|
|
+ tools:text="@string/withdrawal_amount"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:textSize="13sp"
|
|
|
+ android:textColor="#F5BF41"
|
|
|
+ android:text=" 全部提现"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:text="1.单笔不低于1元"
|
|
|
+ android:layout_marginTop="36dp"
|
|
|
+ android:layout_marginStart="36dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:textSize="14sp"
|
|
|
+ android:textColor="#767778"
|
|
|
+ android:text="2.每月不超过5次"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginStart="36dp"
|
|
|
+ android:layout_height="wrap_content"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_marginTop="53dp"
|
|
|
+ android:layout_marginBottom="32dp"
|
|
|
+ android:layout_marginStart="26dp"
|
|
|
+ android:layout_marginEnd="26dp"
|
|
|
+ app:qmui_radius="25dp"
|
|
|
+ app:qmui_backgroundColor="#FFBB00"
|
|
|
+ app:qmui_borderColor="#FFBB00"
|
|
|
+ android:text="提现"
|
|
|
+ android:textColor="@color/white"
|
|
|
+ android:textSize="16sp"
|
|
|
+ android:onClick="@{v->vm.goWithdrawal()}"
|
|
|
+ app:qmui_shadowAlpha="0.56"
|
|
|
+ app:qmui_shadowElevation="7dp"
|
|
|
+ android:layout_height="47dp"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </LinearLayout >
|
|
|
+</layout >
|