mvc布局(一)

negut添加Optimization

@System.Web.Optimization.Styles.Render(
        "~/Content/styles/css/font-awesome.min.css",
        "~/Content/js/jquery/jquery-ui/jquery-ui.min.css")
@System.Web.Optimization.Scripts.Render(
        "~/Content/js/jquery/jQuery-2.2.0.min.js",
        "~/Content/js/jquery/jquery-ui/jquery-ui.min.js")

<body>
    @RenderBody()
    @*@Html.AntiForgeryToken()*@
</body

//其他界面直接
@{
    ViewBag.Title = "MVC权限框架";
    Layout = "/Views/Shared/_LoadJsAndCss.cshtml";
}

 

posted @ 2018-11-19 14:39  世人皆萌  阅读(182)  评论(0编辑  收藏  举报