CONTROL-BASE.vue#ITEM_CTRLPOS.ftl 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
<#assign selfContent>
<#if view.hasPSControl('${item.name}')>
${P.getCtrlCode('${item.name}', 'CONTROL.html').code}
<#else>
当前视图不存在${item.name}部件
</#if>
</#assign>

<#ibizinclude>
./@MACRO/PLAYOUT.vue.ftl
</#ibizinclude>
<#if item.getParentLayoutMode()=='FLEX'>
13
<div v-show="detailsModel.${item.name}.visible" style="${flexAttr}<#if item.getWidth() != -1>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-ctrlpos<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
14 15 16
    ${content}
</div>
<#else>
tony001's avatar
tony001 committed
17
<i-col v-show="detailsModel.${item.name}.visible" ${tableAttr} style="<#if item.getWidth() != -1>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-ctrlpos<#if item.getPSSysCss()??> ${item.getPSSysCss().getCssName()}</#if>">
18 19 20
    ${content}
</i-col>
</#if>