提交 a0ef8e0a authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

feat: 过滤组件样式

上级 4ee166e8
...@@ -73,7 +73,9 @@ ...@@ -73,7 +73,9 @@
:visible.sync="filterVisible" :visible.sync="filterVisible"
custom-class="de-filter-dialog" custom-class="de-filter-dialog"
> >
<filter-dialog /> <filter-dialog>
<h1>aaaaaaaaa</h1>
</filter-dialog>
</el-dialog> </el-dialog>
</el-container> </el-container>
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
group="dimension" group="dimension"
animation="300" animation="300"
:move="onMove" :move="onMove"
style="width:100%;height: 100%;margin:0 10px;border-radius: 4px;border: 1px solid #DCDFE6;overflow-x: auto;display: flex;align-items: center;background-color: white;" style="width:100%;height: 100%;margin:0 10px;border-radius: 4px;overflow-x: auto;display: flex;align-items: center;background-color: white;"
@end="end2" @end="end2"
> >
<transition-group class="draggable-group"> <transition-group class="draggable-group">
...@@ -120,7 +120,12 @@ ...@@ -120,7 +120,12 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="24"> <el-col :span="24">
<div class="filter-content" /> <div class="filter-content">
<el-card class="box-card">
<slot />
</el-card>
</div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
...@@ -292,9 +297,10 @@ export default { ...@@ -292,9 +297,10 @@ export default {
min-width: 230px !important; min-width: 230px !important;
max-width: 260px !important; max-width: 260px !important;
height: 100%; height: 100%;
min-height: 400px; min-height: 390px;
padding: 5px; padding: 5px;
border: none; border: none;
padding-bottom: 20px !important;
} }
.ms-main-container { .ms-main-container {
...@@ -343,7 +349,7 @@ export default { ...@@ -343,7 +349,7 @@ export default {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;
margin: 0px; margin: 0px;
padding: 0 0 0 10px; padding: 0 0 0 0;
height: 100%; height: 100%;
} }
} }
...@@ -367,9 +373,9 @@ export default { ...@@ -367,9 +373,9 @@ export default {
} }
.filter-content { .filter-content {
height: calc(50vh - 150px); height: calc(50vh - 130px);
top: 160px; top: 160px;
background: #99a9bf;
} }
.filter-dialog-tabs { .filter-dialog-tabs {
...@@ -404,4 +410,8 @@ export default { ...@@ -404,4 +410,8 @@ export default {
width: 100%; width: 100%;
height: calc(100% - 6px); height: calc(100% - 6px);
} }
.box-card {
width: 100%;
height: 100%;
}
</style> </style>
...@@ -2,25 +2,6 @@ ...@@ -2,25 +2,6 @@
<div class="filter-container" @dragstart="handleDragStart"> <div class="filter-container" @dragstart="handleDragStart">
<!-- <el-card class="filter-card-class">
<div slot="header">
<span>卡片名称</span>
</div>
<div style="position: relative;margin-left: 5px;" @dragstart="handleDragStart">
<div
v-for="(item, index) in componentList"
:key="index"
:data-id="item.id"
draggable
:data-index="index"
>
<span class="iconfont" :class="'icon-' + item.icon" />
<span>{{ item.label }}</span>
</div>
</div>
</el-card> -->
<div v-for="(item, key) in widgetSubjects" :key="key" class="widget-subject"> <div v-for="(item, key) in widgetSubjects" :key="key" class="widget-subject">
<div class="filter-header"> <div class="filter-header">
<div class="filter-header-text"> {{ key }} </div> <div class="filter-header-text"> {{ key }} </div>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论