{layout name="public/layout_main"}

<style type="text/css">
.whitelink{
    color: white;
    text-decoration: none;
}
.whitelink:hover{
    color: #ddd;
}
.nav-tabs{
    margin-bottom: 15px;
}
</style>

<section class="wrapper">
    <h3><i class="fa fa-angle-right"></i> 数据概览</h3>
    <hr>
    <!--<ul class="nav nav-tabs">-->
        <!--<li class="<?php if(input('tab')=='index'){echo 'active';} ?>">-->
            <!--<a href="<?php echo url("@admin/Index/index", ['tab'=>'index'])?>">数据概览</a>-->
        <!--</li>-->
        <!--<li class="<?php if(input('tab')=='visitor'){echo 'active';} ?>">-->
            <!--<a href="<?php echo url("@admin/Index/index", ['tab'=>'visitor'])?>">访客数据</a>-->
        <!--</li>-->
        <!--<li class="<?php if(input('tab')=='miniapp'){echo 'active';} ?>">-->
            <!--<a href="<?php echo url("@admin/Index/index", ['tab'=>'miniapp'])?>">小程序数据</a>-->
        <!--</li>-->
    <!--</ul>-->
    
    <div class="row margin-bottom">
        <div class="col-md-4">
            <div class="bg-color-primary padding-lg text-center">
                <div class="row">
                    <div class="col-md-6">
                        <div class="margin-bottom-xs">
                            <i class="fa fa-user-circle-o fa-3x text-align-bottom"></i>
                            <span class="padding-left-xs text-xxl text-align-bottom">
                                {$user_num}
                            </span>
                        </div>
                        <span class="text-lg">
                            <a class="whitelink" href="/admin/User/index">用户总数</a>
                        </span>
                    </div>
                    <div class="col-md-6">
                        <div class="margin-bottom-xs">
                            <i class="fa fa-mobile fa-3x text-align-bottom"></i>
                            <span class="padding-left-xs text-xxl text-align-bottom">
                                {$user_num_today}
                            </span>
                        </div>
                        <span class="text-lg">
                            <a class="whitelink" href="/admin/User/index">今日新增用户数</a>
                        </span>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="bg-color-success padding-lg text-center">
                <div class="row">
                    <div class="col-md-6" id="div_wxqun" style="cursor: pointer;">
                        <div class="margin-bottom-xs">
                            <i class="fa fa-calendar-plus-o fa-3x text-align-bottom"></i>
                            <span class="padding-left-xs text-xxl text-align-bottom">
                                {$order_num}
                            </span>
                        </div>
                        <span class="text-lg">
                            <a class="whitelink" href="/admin/order/index">订单总数</a>
                        </span>
                    </div>
                    <div class="col-md-6">
                        <div class="margin-bottom-xs">
                            <i class="fa fa-book fa-3x text-align-bottom"></i>
                            <span class="padding-left-xs text-xxl text-align-bottom">
                                {$order_num_today}
                            </span>
                        </div>
                        <span class="text-lg">
                            <a class="whitelink" href="/admin/order/index">今日新增订单数</a>
                        </span>
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-4">
            <div class="bg-color-warning padding-lg text-center">
                <div class="row">
                    <div class="col-md-6" id="div_wxqun" style="cursor: pointer;">
                        <div class="margin-bottom-xs">
                            <i class="fa fa-calendar-plus-o fa-3x text-align-bottom"></i>
                            <span class="padding-left-xs text-xxl text-align-bottom">
                                {$wait_num_r}
                            </span>
                        </div>
                        <span class="text-lg">
                            <a class="whitelink" href="{:url('/admin/order/refund?status=1')}">退款待审核</a>
                        </span>
                    </div>
                    <div class="col-md-6">
                        <div class="margin-bottom-xs">
                            <i class="fa fa-book fa-3x text-align-bottom"></i>
                            <span class="padding-left-xs text-xxl text-align-bottom">
                                {$wait_num_c}
                            </span>
                        </div>
                        <span class="text-lg">
                            <a class="whitelink" href="{:url('/admin/order/comment?status=1')}">评论待审核</a>
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>

</section>


