@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/credit.js')"></script>
@endsection

@section('body')

    <div class="mui-content" data-page-credit>

        <div class="pb-credit">
            <div class="icon">
                <span class="mui-icon-extra mui-icon-extra-gold"></span>
            </div>
            <div class="title">
                我的积分
            </div>
            <div class="value">
                {{sprintf('%d',$_user['credit'])}}
            </div>
            @if(0)
            <div class="action">
                <a href="/m/user_credit_{{$memberUser['alias']}}_cash" class="mui-btn mui-btn-primary mui-btn-block" @if($_user['credit']<1.00) style="background:#999 !important;border-color:#999 !important;" @endif>余额提现</a>
            </div>
            @endif
        </div>

        <div class="pb-credit-log">
            <div class="head">积分变化</div>
            <div class="lister">
                <div class="list">
                </div>
                <div class="no-more">没有更多了~</div>
                <div class="loading"><span class="mui-spinner"></span><br />玩命加载...</div>
            </div>
        </div>

    </div>

@endsection