提交 7c0da8e5 编写于 作者: tony001's avatar tony001

add:自定义布局 - a15

上级 73355536
...@@ -21,19 +21,3 @@ ...@@ -21,19 +21,3 @@
</#if> </#if>
</#macro> </#macro>
<#-- 绘制顶层元素 -->
<#macro renderRootElement viewLayout>
<#if viewLayout.getPSLayout()?? && viewLayout.getPSLayout().getLayout()?? viewLayout.getPSLayout().getLayout() == "FLEX">
<#assign rootStyle = "height: '100%'; width: '100%';'display': 'flex';'flex-direction': 'column';">
<#else>
<#assign rootStyle = "height: '100%'; width: '100%'; 'overflow': 'auto';">
</#if>
<div class="app-view-layout" style="${rootStyle}">
<#if viewLayout.getRootPSPanelItems()??>
<#list viewLayout.getRootPSPanelItems() as panelDetail>
<@renderByDetailType panelDetail />
</#list>
</#if>
</div>
</#macro>
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册