@extends('admin::frame')

@section('pageTitle','后台首页')

@section('adminScript')
    @parent
    @include('soft::admin.dashboardVersion')
@endsection

@section('bodyContent')

    @include('soft::admin.dashboardDemo')

    <div class="uk-grid">
        <div class="uk-width-1-2">
            <div class="admin-block-stat">
                <div class="icon green">
                    <i class="uk-icon-list"></i>
                </div>
                <a class="number" href="{{action('\App\Modules\Egg\Manage\HomeController@index')}}">
                    {{number_format(\TechOnline\Laravel\Dao\ModelUtil::count('module_egg_activity'))}}
                </a>
                <div class="name">
                    砸金蛋活动
                </div>
            </div>
        </div>
        <div class="uk-width-1-2">
            <div class="admin-block-stat">
                <div class="icon red">
                    <i class="uk-icon-users"></i>
                </div>
                <a class="number" href="{{action('\App\Modules\Egg\Manage\HomeController@index')}}">
                    {{number_format(\TechOnline\Laravel\Dao\ModelUtil::count('member_user'))}}
                </a>
                <div class="name">
                    总参加人数
                </div>
            </div>
        </div>
    </div>

    @include('soft::admin.dashboardCopyright')

@endsection

