@{
    Layout = null;
    var addData = new ViewDataDictionary();
    IEnumerable<dynamic> menuList = ViewBag.Menu;
    addData.Add("MenuList", menuList); //IEnumerable<dynimic>
    addData.Add("AdminPath", ViewBag.AdminPath);
    addData.Add("CanAdminTableList", ViewBag.CanAdminTableList); //Enumerable<dynimic>
    addData.Add("CurrentUser", ViewBag.CurrentUser);
    addData.Add("SiteId", ViewBag.CurrentSiteId);
}
<!DOCTYPE HTML>
<HTML>
<head>
    <title>PageAdmin网站管理系统</title>
    <meta name="Author" content="PageAdmin CMS" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="/Incs/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" href="~/Incs/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="/Areas/Admin/Css/index.css" type="text/css">
    <script src="/Js/jquery.min.js" type="text/javascript"></script>
    <script src="/Js/basic.js" type="text/javascript"></script>
    <script src="/Js/UI/ui.js" type="text/javascript"></script>
    <!--[if lte IE 9]>
    <script src="/Incs/bootstrap/js/respond.min.js"></script>
    <script src="/Incs/bootstrap/js/html5.js"></script>
    <![endif]-->
    <script src="/Incs/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<body style="overflow:hidden">
    <div class="header" id="header">
        <a href="http://www.pageadmin.net" target="_blank" class="logo"></a>
        @*<div class="left">
                <a href="javascript:void(0)" class="currentsite" id="currentsite" title="点击却换站点">华拓网络主站</a>
            </div>
            <div class="right">
                <a class="home_icon">管理首页</a>

            </div>*@
        @{
            Html.RenderPartial("TopMenu", addData);
        }
    </div>
    <div class="main" id="main">
        <div class="leftarea" id="leftarea">
            @{
                Html.RenderPartial("LeftMenu", addData);
            }
        </div>
        <div class="rightarea" id="rightarea"><div class="historytab" id="historytab"><ul></ul></div>
            <iframe name="mainContainer" id="mainContainer" src="@Url.Action("Home", "Default")" frameborder="0" scrolling="auto" style="border:none;" width="100%" height="100%" allowtransparency="true"></iframe>
        </div>
    </div>
    <script src="/Areas/Admin/js/index.js" type="text/javascript"></script>
    <script>
        var bgNum = Math.floor(Math.random() * 3);
        if (bgNum > 0) {
            //$("body").addClass("bg" + bgNum);
        }
        //随机背景
    </script>
</body>
</HTML>