CONTROL-BASE.vue#ITEM_USERCONTROL.ftl 1.0 KB
Newer Older
Shine-zwj's avatar
Shine-zwj committed
1 2
<#assign selfContent>
<#if item.render??>
Shine-zwj's avatar
Shine-zwj committed
3
    ${item.render.code}
Shine-zwj's avatar
Shine-zwj committed
4 5 6 7 8
<#else>
面板自定义插件没有定义插件
</#if>
</#assign>

9 10 11 12
<#ibizinclude>
./@MACRO/PLAYOUT.vue.ftl
</#ibizinclude>
<#if item.getParentLayoutMode()=='FLEX'>
13
<div v-show="detailsModel.${item.name}.visible" style="${flexAttr}<#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}</#if>" class="app-layoutpanel-usercontrol<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
14 15 16
    ${content}
</div>
<#else>
17
<i-col v-show="detailsModel.${item.name}.visible" ${tableAttr} style="${flexAttr}<#if item.getWidth() gt 0>width: ${item.getWidth()?c}px;</#if><#if item.getHeight() gt 0>height: ${item.getHeight()?c}px;</#if><#if item.getPSSysCss()??>${item.getPSSysCss().getRawCssStyle()}</#if>" class="app-layoutpanel-usercontrol<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
18 19 20
    ${content}
</i-col>
</#if>