@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>系统主页</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link href="~/Content/css/common.css" rel="stylesheet" />
    <link href="~/Content/layui/css/layui.css" rel="stylesheet" />
    <link href="~/Content/css/angeladmin.theme.css" rel="stylesheet" />
    <link href="~/Content/loading/angelLoading.css" rel="stylesheet" />
    <script src="~/Content/echarts/echarts.min.js"></script>
    <script src="~/Content/echarts/echarts.themez.js"></script>
    <link rel="stylesheet" href="~/Content/css/angelsub.css" media="all" />
</head>
<body class="console console1 angel-body-scroll">
    <div class="angel-body home">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-xs6 layui-col-md4">
                <div class="angel-card layui-card">
                    <div class="angel-card-body p0 clearfix cart-data">
                        <div class="data-body">
                            <div class="media-cont">
                                <p class="tit">科一试题总量</p>
                                <h5 class="num">@ViewBag.TiKucount </h5>
                            </div>
                            <div class="w-img" angel-pc-in-show>
                                <img src="~/Content/images/home-01.png" alt="科一" />
                            </div>
                        </div>
                        <div id="echIncome" class="line-home-a"></div>
                    </div>
                </div>
            </div>

            <div class="layui-col-xs6 layui-col-md4">
                <div class="angel-card layui-card">
                    <div class="angel-card-body p0 clearfix cart-data">
                        <div class="data-body">
                            <div class="media-cont">
                                <p class="tit">科四试题总量</p>
                                <h5 class="num">@ViewBag.TiKukscount </h5>
                            </div>
                            <div class="w-img" angel-pc-in-show>
                                <img src="~/Content/images/home-03.png" alt="科四" />
                            </div>
                        </div>
                        <div id="echBlogs" class="line-home-a"></div>
                    </div>
                </div>
            </div>
            <div class="layui-col-xs6 layui-col-md4">
                <div class="angel-card layui-card">
                    <div class="angel-card-body p0 clearfix cart-data">
                        <div class="data-body">
                            <div class="media-cont">
                                <p class="tit">会员人数</p>
                                <h5 class="num">@ViewBag.Membercount </h5>
                            </div>
                            <div class="w-img" angel-pc-in-show>
                                <img src="~/Content/images/home-04.png" alt="会员数" />
                            </div>
                        </div>
                        <div id="echUser" class="line-home-a"></div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-card">
                    <div class="layui-card-header">
                        <div class="angel-card-title">最近会员登录记录</div>
                    </div>
                    <div class="angel-card-body map-body">
                        <table class="layui-hide" id="tableId" lay-filter="tableFilter"></table>
                    </div>
                </div>
            </div>

        </div>

    </div>
    <script type="text/javascript" src="~/Content/layui/layui.js"></script>
    <script src="~/Scripts/global.js"></script>
    <script>
    layui.use(["table"], function () {
        var table = layui.table;

        var AllTable = table.render({
            elem: "#tableId",
            url: "/api/amemberapi/loglist",
            limit: 9,
          //  page: true,
            size: "sm",
            height: "320",
            cols: [[
                { field: "id", title: "ID", width: 80, sort: true },
                { field: "userName", title: "登录账号", width: 120 },
                { field: "keMuName", title: "考试科目", width: 120 },
                { field: "clientIp", title: "登录IP", width: 120 },
                { field: "isSucceed", title: "是否成功", width: 120 },
                { field: "addTime", title: "登录日期", width: 220 }
            ]],
            done: function (res, curr, count) {
                //console.log(res, curr, count);
            }
        });
    })
    </script>
</body>
</html>