@extends('theme.default.pc.frame')

@section('pageTitle','我的钱包')

@section('bodyContent')

    <div class="main-container">

        <div class="uk-grid">
            <div class="uk-width-1-4">
                @include('theme.default.pc.memberProfile.menu')
            </div>
            <div class="uk-width-3-4">
                <div class="pb pb-member-money">
                    <div class="head">
                        <div class="more">
                            {{--<a href="/member/profile_tip_sent"><i class="uk-icon-list"></i> 发出的打赏</a>--}}
                        </div>
                        <h2>
                            账户余额
                        </h2>
                    </div>
                    <div class="body">
                        <div class="uk-grid">
                            <div class="uk-width-2-3">
                                <div class="dashboard">
                                    <div class="value">
                                        <span>
                                            {{$totalMoney}} 元
                                        </span>
                                    </div>
                                    <div class="action">
                                        <a class="cash" href="/member/money_cash">提现</a>
                                        <a class="cash-log" href="/member/money_cash_log">提现记录</a>
                                        <a class="log" href="/member/money_log">资金历史记录</a>
                                    </div>
                                </div>
                            </div>
                            <div class="uk-width-1-3">
                                <div class="money-tip">
                                    <p>每次提现最小额度为￥100.00</p>
                                    <p>每次提现收取 {{\TechSoft\Laravel\Config\ConfigUtil::get('customTipCashRate',0)}}% 手续费</p>
                                    <p>提现会在 3-5 个工作日内到账</p>
                                </div>
                            </div>
                        </div>
                        <div class="log">
                            <table class="uk-table">
                                <thead>
                                    <tr>
                                        <th>时间</th>
                                        <th>金额 ￥</th>
                                        <th>备注</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    @include('theme.default.pc.memberMoney.logListItems')
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    </div>

@endsection