@extends('res::frame')

@section('pageTitle','资金提现')

@section('headScript')
    <script src="@assets('assets/init.js')"></script>
    <link rel="stylesheet" href="@assets('assets/mui/css/mui.css')">
    <link rel="stylesheet" href="@assets('res/user/default/mobile/css/style.css')">
@endsection

@section('bodyScript')
    <script src="@assets('assets/m/user/money.js')"></script>
@endsection

@section('body')

    <div class="mui-content">


        <div class="pb-money-cash">
            <form action="?" method="post" data-ajax-form>
                <div class="title">
                    提取资金到微信零钱
                </div>
                <div class="field">
                    <div class="label">提取金额</div>
                    <div class="input">
                        <span>￥</span>
                        <input type="text" name="money" value="" />
                    </div>
                </div>
                <div class="value">
                    最少提取金额1.00元，可提取 ￥{{sprintf('%0.2f',$_user['money'])}}元，<a href="javascript:;" onclick="$('input').val('{{sprintf('%0.2f',$_user['money'])}}');">全部提现</a>
                </div>
                <div class="action">
                    <button class="mui-btn mui-btn-primary mui-btn-block">余额提现</button>
                </div>
                <div class="desc">
                    提取后1-5天内到账
                </div>
            </form>
        </div>

    </div>

@endsection