zoukankan      html  css  js  c++  java
  • asp.net mvc adminlte第一波

    首页模板选用官方DEMO中的Blank模板,这个模板相对来说是最干净的。

    首页模板的分割:

    官方文档是分的4个部分

    • Wrapper .wrapper. A div that wraps the whole site.
    • Main Header .main-header. Contains the logo and navbar.
    • Sidebar .sidebar-wrapper. Contains the user panel and sidebar menu.
    • Content .content-wrapper. Contains the page header and content.

    我的 _Layout.cshtml 细分如图所示

    @*封装整个网站*@
    <div class="wrapper">

    @*上面导航栏*@
    @Html.Partial("_MainHeader")

    @*左边菜单栏*@
    @Html.Partial("_LeftSideMenus")

    @*中间内容页*@
    @RenderBody()

    @*页脚*@
    @Html.Partial("_MainFooter")

    @*右边弹出菜单栏*@
    @Html.Partial("_ControlSidebar")

    <!-- Add the sidebar's background. This div must be placed
    immediately after the control sidebar -->
    <div class="control-sidebar-bg"></div>
    </div>

     

    演示地址: http://mes.lianshui.org.cn/

    不断更新中

    http://mes.lianshui.org.cn/ WMS仓库管理系统
  • 相关阅读:
    条件
    循环
    列表
    字典
    集合
    公共操作
    函数-2
    函数-1
    函数加强
    文件操作
  • 原文地址:https://www.cnblogs.com/wileyyang/p/6240479.html
Copyright © 2011-2022 走看看