<!--pages/withdrawal/withdrawal.wxml-->
<view class="container">
  <view class="message">
    钱包余额{{moneyBalance}}元，可提现{{can_draw}}元
  </view>
  <view class="money">
    <view class="money-content">
      <view class="money-content-title">提款金额</view>
      <view class="money-content-input">
        <view class="input">
          <text>￥</text>
          <input value="{{money}}" placeholder="0.00" placeholder-style="color:#999999" bindblur="changeMoney" bindinput="show"></input>
        </view>
        <view class="all">
          <text bindtap="all">全部提现</text>
          <image src="/images/happyjob/clear.png" class="all-icon" bindtap="clear"></image>
        </view>
      </view>
    </view>
    <view class="hint">
      提现金额只能输入10的整倍数
    </view>
  </view>
  <view class="pay-method">
    <view class="method {{active_index === '1'&&'border'}}" data-index="1" bindtap="choose">
      <image class="wechat" src="/images/happyjob/wechatpay.png"></image>
      <text class="pay-text">微信钱包</text>
      <image class="choose-pay" src="/images/happyjob/choose-pay.png" hidden="{{active_index !== '1'}}"></image>
    </view>
    <view class="method  {{active_index === '2'&&'border'}}" data-index="2" bindtap="choose">
      <image class="alipay" src="/images/happyjob/alipay.png"></image>
      <text class="pay-text">支付宝余额</text>
      <image class="choose-pay" src="/images/happyjob/choose-pay.png" hidden="{{active_index !== '2'}}"></image>
    </view>
  </view>

  <view class="button {{money&&'background'}}" bindtap="withdrawal">
    预计两小时内到账，确认提现
  </view>
</view>