提交 c2a0b1d8 编写于 作者: Mosher's avatar Mosher

增加数据看板卡片功能 --- fix5

上级 b9b95ecc
......@@ -37,6 +37,7 @@
<#else>
<card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
</#if>
${}
<#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content>
<#if ctrl.getViewStyle?? && ctrl.getViewStyle()?? && ctrl.getViewStyle() == 'CARDPORTAL'>
<a slot='extra'></a>
......@@ -63,7 +64,10 @@
<card class="portlet-card custom-card" :bordered="false" dis-hover :padding="10">
</#if>
<#if portlet.getPortletType() == 'CONTAINER' && portlet.isShowTitleBar() && portlet.getTitle()?has_content>
${ctrl.getViewStyle}
${ctrl.getViewStyle()}
<#if ctrl.getViewStyle?? && ctrl.getViewStyle()?? && ctrl.getViewStyle() == 'CARDPORTAL'>
<a slot='extra'></a>
<#else>
<p slot='title'>
......
......@@ -21,13 +21,16 @@
}
.portlet-card {
background-color: #f0f0f0;
background-color: #f0f2f5;
}
.custom-card {
background-color: #ffffff;
margin: 5px;
box-shadow: 1px 1px 5px rgb(209, 205, 205);
.view-card {
background-color: #ffffff;
}
}
}
......
......@@ -3,4 +3,11 @@
</#ibizinclude>
.${srffilepath2(view.getCodeName())}{
display: block;
}
.CARDPORTAL {
background-color: #F0F2F5;
.view-card {
background-color: #F0F2F5;
}
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册