<template>
  <pb-layout navbar="normal" class="withdraw-wrap" leftIcon="leftIcon" title="提现" :bgStyle="bgStyle">
    <view class="alert">
      提现至
    </view>
    <view class="method">
      <view class="label">其选择提现方式</view>
      <view class="cicon-angle"></view>
    </view>
    <view class="detail">
      <view class="label">提现金额</view>
      <view class="account">
        <uni-easyinput type="number" />
        <view class="all">全部提现</view>
      </view>
      <view class="note">
        <view class="last">
          剩余额度￥{{ state.last }}
        </view>
        <view class="can-use">
          可用额度￥{{ state.canUse }}
        </view>
      </view>
    </view>
  </pb-layout>
</template>

<script setup>
import { ref } from 'vue'

const bgStyle = {
  backgroundColor: '#fff',
  description: '',
}

const state = ref({
  last: 1000,
  canUse: 10000
})
</script>