提交 00dae9c0 编写于 作者: JunZai's avatar JunZai

update

上级 952cbc4f
<template> <template>
<div class="app-data-view-group"> <div class="app-data-view-group">
<#if ctrl.render??> <#if ctrl.render??>
${ctrl.render.code} ${ctrl.render.code}
<#else> <#else>
<template v-for="(group, index) of groups"> <template v-for="(group, index) of groups">
<draggable :key="group + index" :list="group.items" group="${ctrl.name}" class="dataview-group-content" style="<#if ctrl.getGroupWidth() gt 0>width: ${ctrl.getGroupWidth()?c}px;<#else>flex-grow: 1;</#if>"> <draggable :key="group + index" :list="group.items" group="${ctrl.name}" class="dataview-group-content" style="<#if ctrl.getGroupWidth() gt 0>width: ${ctrl.getGroupWidth()?c}px;<#else>flex-grow: 1;</#if>">
<div slot="header" class="dataview-group-header"> <div slot="header" class="dataview-group-header">
......
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
line-height: 36px; line-height: 36px;
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
padding: 0 8px; padding: 0 8px;
.group-action {
.group-action-item:nth-child(1) + .group-action-item {
margin-top: 5px;
}
}
} }
.dataview-group-item { .dataview-group-item {
margin: 8px 8px 0 8px; margin: 8px 8px 0 8px;
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册