<view class='withdrawal-mian'>
  <form class='withdrawal-mian-form'>
    <!-- <view class='withdrawal-tab1'>
      <text class='withdrawal-tab1-text'>提现账户</text>
      <image src='../../images/icon/pay.png'></image>
      <text>支付宝</text>
    </view> -->
    <view class='withdrawal-tab2'>
      <text class='withdrawal-tab2-text'>提现金额</text>
      <input type='number' placeholder='可提现金额￥{{settledAmount}}' bindinput="onAmountInput" value="{{amount}}"></input>
      <text class='withdrawal-tab2-text2' bindtap="onAllWithdraw">全部提现</text>
    </view>
    <!-- <view class='withdrawal-tab3'>
      <text class='withdrawal-tab3-text'>短信验证码</text>
      <input type='text' placeholder='请输入验证码'></input>
      <view class='line'></view>
      <text class='withdrawal-tab3-text2'>获取验证码</text>
    </view> -->
    <button class='withdrawal-btn' bindtap="confirmWithdraw">确认提现</button>
    <!-- 提现tips -->
    <view class='rule-block'>
      <text class='tip'>1.单次提现额度不得低于{{amountMin}}元</text>
      <text class='tip'>2.单次提现额度不得高于{{amountMax}}元</text>
      <text class='tip' wx:if="{{frequency==-1}}">3.每个用户每天提现次数无限制</text>
      <text class='tip' wx:else>3.每个用户每{{frequency}}天有{{number}}次提现订单的机会</text>
      <text class='tip'>4.{{paymentExplain}}</text>
    </view>

  </form>

</view>