<!--shopping/pages/withdrawal/withdrawal.wxml-->

    <view class="direction" bindtap="openSelect" style="margin-top: 2rpx;">
        <text>提现至:</text>
        <image src="{{pingtaiimage}}" class="img1"></image>
        <text class="txt">{{pingtainame}}</text>
        <image src="/pages/image/right1.png" class="img2"></image>
    </view>


    <view class="direction"  wx:if="{{type==2}}"   style="margin-top: 14rpx;display: flex;align-items: center;">
        <text style="font-size: 28rpx;">到账支付宝:</text>
        <input style="font-size: 28rpx;" type="text" name='moneynum'  bindinput="zfzhanghao"  placeholder="请输入支付宝账号" />
    </view>

    <view class="direction"  wx:if="{{type==2}}"  style="margin-top: 4rpx;display: flex;align-items: center;">
        <text style="font-size: 28rpx;">姓名:</text>
        <input style="font-size: 28rpx; margin-left: 80rpx;" type="text" name='moneynum'  bindinput="zfname"  placeholder="请输入姓名"/>
    </view>

    <view style="width: 100%;height: 189rpx;background-color: white;display: flex;flex-direction:column;margin-top: 14rpx;">
        <view class="disply" style="margin-top: 14rpx;">可提现金额: {{money}}元</view>
        <view class="entry" style="align-items: center;background-color: #FFFFFF;">
        <text>￥</text>
        <input style="font-size: 28rpx;" type="text" name='moneynum'  bindinput="moneyInput"  placeholder="请输入要提现的金额" value="{{allmoney}}"/>
        <text style="font-size: 28rpx;color: #FF4C00;margin:0rpx 0 0rpx 200rpx;" bindtap="allmoney">全部</text>
    </view>
    </view>
    
   
    <view class="words" style="margin-top: 16rpx;">最低提现金额10元</view>
    <view class="words" style="margin:9rpx 0 60rpx 42rpx">将提现到已绑定的微信中，提现金额将在2小时内到账</view>
    <button class="btn" bindtap="confirm_pay">提现</button>
    <van-action-sheet
  show="{{ show }}"
  actions="{{ actions }}"
  cancel-text="取消"
  bind:close="onClose"
  bind:cancel ="onCancel"
  bind:select="onSelect"
/>
