提交 34a2b983 编写于 作者: tony001's avatar tony001

add:自定义布局 - a10

上级 bff91adc
...@@ -5,16 +5,15 @@ ...@@ -5,16 +5,15 @@
<#if view.getPSViewLayoutPanel()?? && view.getPSViewLayoutPanel().isUseDefaultLayout()> <#if view.getPSViewLayoutPanel()?? && view.getPSViewLayoutPanel().isUseDefaultLayout()>
${P.getLayoutCode('VIEW.vue').code} ${P.getLayoutCode('VIEW.vue').code}
<#else> <#else>
<#assign layoutPanel = view.getPSViewLayoutPanel() /> <#if view.getPSViewLayoutPanel()??>
<#if layoutPanel??> <#if view.getPSViewLayoutPanel().getPSLayout()?? && view.getPSViewLayoutPanel().getPSLayout().getLayout()?? view.getPSViewLayoutPanel().getPSLayout().getLayout() == "FLEX">
<#if layoutPanel.getPSLayout()?? && layoutPanel.getPSLayout().getLayout()?? layoutPanel.getPSLayout().getLayout() == "FLEX">
<#assign rootStyle = "height: '100%'; width: '100%';'display': 'flex';'flex-direction': 'column';" /> <#assign rootStyle = "height: '100%'; width: '100%';'display': 'flex';'flex-direction': 'column';" />
<#else> <#else>
<#assign rootStyle = "height: '100%'; width: '100%'; 'overflow': 'auto';" /> <#assign rootStyle = "height: '100%'; width: '100%'; 'overflow': 'auto';" />
</#if> </#if>
<div class="app-view-layout" style="${rootStyle}"> <div class="app-view-layout" style="${rootStyle}">
<#if layoutPanel.getRootPSPanelItems()??> <#if view.getPSViewLayoutPanel().getRootPSPanelItems()??>
<#list layoutPanel.getRootPSPanelItems() as panelDetail> <#list view.getPSViewLayoutPanel().getRootPSPanelItems() as panelDetail>
<@renderByDetailType panelDetail /> <@renderByDetailType panelDetail />
</#list> </#list>
</#if> </#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册