<import src="../../wxParse/wxParse.wxml"/> 
<view class="container">
  <view class="mydata-box">
  <view class="tixin-item">
                    <view class="account">

                        <view class="flex-end" bindtap="ontixiantype" data-id="1" wx:if="{{t!=1}}">
                            <view class="account-item">
                                <view><image src="../../images/alipay.png" /></view>
                                <text>提现到支付宝</text>

                            </view>
                            <view class="current {{paytype==1?'on':''}}"></view>
                        </view>
                        <view class="flex-end" bindtap="ontixiantype" data-id="2" wx:if="{{t!=1}}">
                            <view class="account-item">
                                <view><image src="../../images/weixinpay.png" /></view>
                                <text>提现到微信</text>

                            </view>
                            <view class="current {{paytype==2?'on':''}}"></view>
                        </view>
                        <view class="flex-end" bindtap="ontixiantype" data-id="3" wx:if="{{t==1}}">
                            <view class="account-item">
                                <view><image src="../../images/Qianbao.png" /></view>
                                <text>提现到钱包地址</text>

                            </view>
                            <view class="current {{paytype==3?'on':''}}"></view>
                        </view>
                        <view class="flex-end" bindtap="ontixiantype" data-id="0" wx:if="{{t!=1}}">
                            <view class="account-item">
                                <view><image src="../../images/bank.png" /></view>
                                <text>提现到银行账号</text>
                            </view>
                            <view class="current {{paytype==0?'on':''}}"></view>
                        </view>

                    </view>
                    <view class="msg {{paytype==0?'on':''}}" id="bankpay_info">
                        <view class="flex-end">
                            <text>开户姓名</text>
                            <view id="KHName">{{KHName}}</view>
                        </view>
                        <view class="flex-end">
                            <text>银行名称</text>
                            <view id="BankName">{{BankName}}</view>
                        </view>
                        <view class="flex-end">
                            <text>银行卡号</text>
                            <view id="BankCard">{{BankCard}}</view>
                        </view>
                        <view class="flex-end">
                            <text>银行开户行</text>
                            <view id="BankKHH">{{BankKHH}}</view>
                        </view>
                    </view>
                    <view class="msg {{paytype==1?'on':''}}" id="alipay_info">
                        <view class="flex-end">
                            <text>支付宝账号</text>
                            <view id="AliAccount">{{AliAccount}}</view>
                        </view>
                        <view class="flex-end">
                            <text>支付宝姓名</text>
                            <view id="AliName">{{AliName}}</view>
                        </view>
                        <view class="flex-end ximage">
                            <text>支付宝收款码</text>
                            <view id="aliimage" wx:if='{{aliimage!=""}}'><image src="{{aliimage}}"></image></view>
                        </view>
                    </view>
                    <view class="msg {{paytype==2?'on':''}}" id="weixinpay_info">
                        <view class="flex-end ximage">
                            <text>微信收款码</text>
                            <view class="weixinimage" wx:if='{{weixinimage!=""}}'><image src="{{weixinimage}}"></image></view>
                        </view>
                    </view>
                    <view class="msg {{paytype==3?'on':''}}" id="qbaddress_info">
                        <view>
                            <text>TP钱包地址</text>
                            <view id="qbaddress" style="width:100%;line-height:1.2em; word-break:break-all;"></view>
                        </view>
                    </view>
                    <view class="msg on" id="bind_info" bindtap="goeditpay">
                       
                            <view class="mybtn">去修改</view>
                        
                    </view>
                </view>   
    
      
      <view class="frombody"> 
            <form bindsubmit='withdrawal'> 
              
                 
           <view class="umoney">
                  <text>可提余额：</text>￥{{umoney}}
            </view> 
            <view class="getumoney">
                  <text>提现金额：</text>
                  <view class="sjdzmoney"><input name="txje" type="text" bindinput='getsjdzmoney' placeholder="请输入提现金额" value="{{getumoney}}" /></view>
                  <text class="getfull" bindtap="getfull">全部</text>
            </view>
            <view class="getumoney0">
                  <text>技术服务费：</text>
                  <text class="sjdzmoney">{{sjsxfmoney}}元</text>
            </view>    
            <view class="getumoney0"> 
                  <text>实际到账：</text>
                  <text class="sjdzmoney">{{sjdzmoney}}</text>
            </view>    
            <view>
                  <text>安全密码：</text><input name="txpwd" value=""   placeholder="请填写您的安全密码" type="password" />
            </view>
            <!--<view>
                  <text>手机验证码：</text><input name="txcode" type="text" value="" style="width:7.5em;"   placeholder="请填写验证码" /><view class="getcode" bindtap="getcode">{{getcode}}</view>
            </view>-->
        
           
            <view class="button">
                  <button form-type="submit" class="{{savedisable}}">{{savebutton}}</button>
                  
            </view>   
         
            <view class="txzh">
                  <text>提现提示：</text><text class="msg">{{txmsg}}</text>
            </view>
      </form>
     </view>
 
</view>

<view class="mybalance-box">
      <view class="text">
        <view class="line_flag"></view>
        <text>提现记录</text>
    </view>
           <view class="mybalance-item" wx:for="{{mybalance}}" wx:for-index="index">
                <view class="Total">
                  <view><text>提现金额：</text>{{item.Totalmoney}}</view>
                  <view class="right"><text>手续费：</text>{{item.b1}}</view>
                </view>
                <view class="Total">
                  <view><text>实提金额：</text>{{item.b0}}</view>
                  <view class="right"></view>
                </view>
                <view class="Total0">
                  <view><text>时间：</text>{{item.addtime}}</view>
                  <view class="right"><text>状态：</text>{{(item.seef==1?"已发放":(item.seef==2?"已退款":(item.seef==3?"拒绝支付":"未发放")))}}
                  </view>
                </view>
                <view>
                  
                </view>
              
               
          </view> 
    </view>

</view>

   
<loading hidden="{{loadingHidden}}">
        加载中...
    </loading> 