<!--pages/balance/index.wxml-->
<view class="setup">
<view class="balance">
 <view>总余额</view>
 <view class="money"><text class="money1">￥</text> <text class="moneys">{{accountdata.balance}}</text></view>
 <view class="top_up" bind:tap="ontopup">充值</view>
 <view class="withdraw" bind:tap="onwithdraw">提现</view>
</view>
<view class="balance_list">
  
  <view class="allocation" data-name="bill" bind:tap="ondetails">
<view class="allocation_3">账单明细</view>
<view class="allocation_1">
<view class="allocation_2"></view>
<t-icon name="chevron-right-s" size="40rpx" data-name="chevron-right-s"/>
</view>
</view>
<view class="allocation" data-name="withdraw" bind:tap="ondetails">
<view class="allocation_3">提现明细</view>
<view class="allocation_1">
<view class="allocation_2"></view>
<t-icon name="chevron-right-s" size="40rpx" data-name="chevron-right-s"/>
</view>
</view>
<view class="allocation" data-name="topup" bind:tap="ondetails">
<view class="allocation_3">充值明细</view>
<view class="allocation_1">
<view class="allocation_2"></view>
<t-icon name="chevron-right-s" size="40rpx" data-name="chevron-right-s"/>
</view>
</view>

<view class="allocation" data-name="bankcard" bind:tap="ondetails">
<view class="allocation_3">银行卡管理</view>
<view class="allocation_1">
<view class="allocation_2"></view>
<t-icon name="chevron-right-s" size="40rpx" data-name="chevron-right-s"/>
</view>
</view>
<view class="allocation" data-name="invoice" bind:tap="ondetails">
<view class="allocation_3">重置结算密码</view>
<view class="allocation_1">
<view class="allocation_2"></view>
<t-icon name="chevron-right-s" size="40rpx" data-name="chevron-right-s"/>
</view>
</view>
</view>
<view class="balance_list">
  <view class="allocation" data-name="balance" bind:tap="ondetails">
<view class="allocation_3">温馨提示</view>
 
</view>
</view>
</view>

<t-popup
  visible="{{visible}}"
  bind:visible-change="onVisibleChange1"
  placement="bottom"
>
<view class="driverpopup">
   <view class="driverpopup_title">提现到银行卡</view>

<!-- <view class="driverpopup_box" data-index="1" bind:tap="selected_wx">
    <view class="picker">
    <view>提现到微信</view>  
      <view class="selected" wx:if="{{selectedtype==1}}">✔</view>
    </view>
</view> -->
<view class="driverpopup_box" data-index="1" bind:tap="selected_wx">
    <view class="picker">
      <view>***9908 工商银行</view>  
      <view class="selected" wx:if="{{selectedtype==1}}">✔</view>
    </view>
</view>
<view class="driverpopup_box" data-index="2" bind:tap="selected_wx">
    <view class="picker">
      <view>***2207 农业银行</view>  
      <view class="selected" wx:if="{{selectedtype==2}}">✔</view>
    </view>
</view>
<view style="height: 80rpx;"></view>
<view class="botton">
<view class="botton_box" bind:tap="submit">添加银行卡</view>
</view>
</view>
</t-popup>
<!--
  
 --> 
 