-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.907d9785cec538974819.js
1 lines (1 loc) · 3.54 KB
/
layout.907d9785cec538974819.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{244:function(e,t,n){"use strict";n.r(t);var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"content ecode-doc"},[n("h1",[e._v("页面布局")]),e._v(" "),n("p",[e._v("协助进行页面级整体布局。")]),e._v(" "),e._m(0),e._v(" "),n("demo-block",[n("div",[n("p",[e._v("通过组合实现布局")])]),e._v(" "),n("template",{slot:"source"},[n("element-demo0")],1),e._v(" "),n("template",{slot:"highlight"},[n("pre",{pre:!0},[n("code",{pre:!0,attrs:{class:"html"}},[e._v(" <e-layout>\n <e-header>xxx管理系统</e-header>\n <e-content>内容</e-content>\n <e-footer>底部</e-footer>\n </e-layout>\n\n <e-layout>\n <e-header>xxx管理系统</e-header>\n <e-layout>\n <e-sider>导航菜单</e-sider>\n <e-content>内容</e-content>\n </e-layout>\n <e-footer>底部</e-footer>\n </e-layout>\n\n <e-layout>\n <e-header>xxx管理系统</e-header>\n <e-layout>\n <e-content>内容</e-content>\n <e-sider>导航菜单</e-sider> \n </e-layout>\n <e-footer>底部</e-footer>\n </e-layout>\n\n <e-layout>\n <e-sider>导航菜单</e-sider> \n \n <e-layout>\n <e-header>xxx管理系统</e-header>\n <e-content>内容</e-content>\n <e-footer>底部</e-footer>\n </e-layout>\n \n </e-layout>\n")])])])],2)],1)};o._withStripped=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},a={name:"component-doc",components:{"element-demo0":function(){var e=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("e-layout",[n("e-header",[e._v("xxx管理系统")]),e._v(" "),n("e-content",[e._v("内容")]),e._v(" "),n("e-footer",[e._v("底部")])],1),e._v(" "),n("e-layout",[n("e-header",[e._v("xxx管理系统")]),e._v(" "),n("e-layout",[n("e-sider",[e._v("导航菜单")]),e._v(" "),n("e-content",[e._v("内容")])],1),e._v(" "),n("e-footer",[e._v("底部")])],1),e._v(" "),n("e-layout",[n("e-header",[e._v("xxx管理系统")]),e._v(" "),n("e-layout",[n("e-content",[e._v("内容")]),e._v(" "),n("e-sider",[e._v("导航菜单")])],1),e._v(" "),n("e-footer",[e._v("底部")])],1),e._v(" "),n("e-layout",[n("e-sider",[e._v("导航菜单")]),e._v(" "),n("e-layout",[n("e-header",[e._v("xxx管理系统")]),e._v(" "),n("e-content",[e._v("内容")]),e._v(" "),n("e-footer",[e._v("底部")])],1)],1)],1)};e._withStripped=!0;return r({render:e,staticRenderFns:[]},{})}()}},v=n(0),_=Object(v.a)(a,o,[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("ul",[n("li",[n("p",[e._v("ELayout:布局容器,其下可嵌套 EHeader ESider EContent EFooter 或 ELayout 本身,可以放在任何父容器中。")])]),e._v(" "),n("li",[n("p",[e._v("EHeader:顶部布局,自带默认样式,其下可嵌套任何元素,只能放在 ELayout 中。")])]),e._v(" "),n("li",[n("p",[e._v("ESider:侧边栏,自带默认样式及基本功能,其下可嵌套任何元素,只能放在 ELayout 中。")])]),e._v(" "),n("li",[n("p",[e._v("EContent:内容部分,自带默认样式,其下可嵌套任何元素,只能放在 ELayout 中。")])]),e._v(" "),n("li",[n("p",[e._v("EFooter:底部布局,自带默认样式,其下可嵌套任何元素,只能放在 ELayout 中。")])])])}],!1,null,null,null);_.options.__file="doc/pages/layout.md";t.default=_.exports}}]);