提交 fef7b08a 编写于 作者: WodahsOrez's avatar WodahsOrez

lxm--看板视图默认卡片模式,支持无缝模式--fix2

上级 4a9c9484
......@@ -19,7 +19,7 @@
<#if layout == 'TABLE_24COL' && LayoutPos??><#t>
<i-col<#if LayoutPos.getColXS() != -1> :xs="{ span: ${LayoutPos.getColXS()}, offset: <#if LayoutPos.getColXSOffset() != -1>${LayoutPos.getColXSOffset()}<#else>0</#if>}"</#if><#if LayoutPos.getColSM() != -1> :sm="{ span: ${LayoutPos.getColSM()}, offset: <#if LayoutPos.getColSMOffset() != -1>${LayoutPos.getColSMOffset()}<#else>0</#if>}"</#if><#if LayoutPos.getColMD() != -1> :md="{ span: ${LayoutPos.getColMD()}, offset: <#if LayoutPos.getColMDOffset() != -1>${LayoutPos.getColMDOffset()}<#else>0</#if> }"</#if><#if LayoutPos.getColLG() != -1> :lg="{ span: ${LayoutPos.getColLG()}, offset: <#if LayoutPos.getColLGOffset() != -1>${LayoutPos.getColLGOffset()}<#else>0</#if> }"</#if>>
<card :bordered="false" dis-hover :padding="0">
<#if portlet.isShowTitleBar() && ctrl.getTitle()??>
<#if portlet.isShowTitleBar() && portlet.getTitle()??>
<p slot='title'>
${portlet.getTitle()}
<span class="line"></span>
......@@ -35,7 +35,7 @@ ${P.getCtrlCode(portlet, 'CONTROL.html').code}
</i-col>
<#else>
<card :bordered="false" dis-hover :padding="0">
<#if portlet.isShowTitleBar() && ctrl.getTitle()??><#t>
<#if portlet.isShowTitleBar() && portlet.getTitle()??><#t>
<p slot='title'>
${portlet.getTitle()}
</p>
......@@ -50,7 +50,7 @@ ${P.getCtrlCode(portlet, 'CONTROL.html').code}
</#if>
<#if layout == 'FLEX'>
<card :bordered="false" dis-hover :padding="0">
<#if portlet.isShowTitleBar() && ctrl.getTitle()??><#t>
<#if portlet.isShowTitleBar() && portlet.getTitle()??><#t>
<p slot='title'>
${portlet.getTitle()}
</p>
......@@ -72,7 +72,7 @@ ${P.getCtrlCode(portlet, 'CONTROL.html').code}
<row v-if="isHasCustomized" style="width: 100%;min-height: calc(100% - 40px);">
<div class="portlet-container" style="position: relative;width:100%;">
<template v-for="(item, index) of modelDta">
<#noparse><div :key="index" :style="{zIndex: 10, position: 'absolute', height: item.h*layoutRowH + 'px', width: `calc(100% / ${layoutColNum} * ${item.w})`,top: item.y*layoutRowH + 'px', left: `calc(100% / ${layoutColNum} * ${item.x})`,'padding':'8px'}"></#noparse>
<#noparse><div :key="index" :style="{zIndex: 10, position: 'absolute', height: item.h*layoutRowH + 'px', width: `calc(100% / ${layoutColNum} * ${item.w})`,top: item.y*layoutRowH + 'px', left: `calc(100% / ${layoutColNum} * ${item.x})`}"></#noparse>
<component :key="$util.createUUID()" :is="item.componentName" :name="item.portletCodeName" :context="JSON.parse(JSON.stringify(context))" :viewDefaultUsage="false" :isAdaptiveSize="true" :viewState="viewState"></component>
</div>
</template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册