OA.WEB/Views/Home/TestHomePage.cshtml

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。


@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>TestHomePage</title>
    <link href="~/Easyui1.3.6/themes/default/easyui.css" rel="stylesheet" />
    <link href="~/Easyui1.3.6/themes/icon.css" rel="stylesheet" />
    <link href="~/Easyui1.3.6/demo/demo.css" rel="stylesheet" />
    <script src="~/Easyui1.3.6/jquery.min.js"></script>
    <script src="~/Easyui1.3.6/jquery.easyui.min.js"></script>
    <!--点左侧手风琴在右侧显示-->
    <script type="text/javascript">
        $(function () {
            bindEvent();
        });
        function bindEvent()
        {
            $(".Link").click(function () {
                var title = $(this).text();
                var url = $(this).attr("url");
                var isExists = $('#tabs').tabs('exists', title);//根据标题判断选择是否存在了
                if (isExists) {//存在就选中
                    $('#tabs').tabs('select', title);
                    return;
                }
                $('#tabs').tabs('add', {//添加
                    title: title,
                    content: createContent(url),
                    closable: true
                });
            });
        }
        function createContent(url)
        {
            var strHtml = '<iframe src="' + url + '" scrolling="no" frameborder="0" width="100%" height="100%"></iframe>';
            return strHtml;
        }
    </script>
</head>
<body class="easyui-layout">
    <div data-options="region:'north',border:false" style="height:70px;background:#B3DFDA;padding:10px;overflow:hidden;background-image:url(~/Content/Images/bg3.png)">
    <span style="float:right">欢迎Admin登录   @DateTime.Now.ToString("yyyy-MM-dd  HH:mm:ss")</span>
    </div>
    <div data-options="region:'west',split:true,title:'West'" style="width:150px;padding:1px;overflow:hidden">
        <div class="easyui-accordion" style="width:auto;height:auto;">
            <div title="用户管理" data-options="iconCls:'icon-ok'" style="overflow:hidden;padding:10px;">
                <a href="javascript:void(0)" class="Link" url="/UserInfo/Home">用户管理</a>
            </div>
            <div title="角色管理" data-options="iconCls:'icon-ok'" style="overflow:hidden;padding:10px;">
                <a href="javascript:void(0)" class="Link" url="/UserInfo/Index">角色管理</a>
            </div>
            <div title="TreeMenu" data-options="iconCls:'icon-ok'" style="padding:10px;overflow:hidden">
                <ul class="easyui-tree">
                    <li>
后面还有 39 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。