fix:CN-971 1.卡片标题限定一行,超长做处理;描述内容长度限定到不遮住type和enabled按钮,留10px以上间隙;

2.取消select状态时,应清空已选数组;
3.设计图上,鼠标滑过卡片时,卡片边框应有阴影;
4.select状态下,整个卡片任意区域点击都可以选中,选中后边框色改变,且鼠标移开后边框阴影不消失;
5.All筛选框与下方的间隙太小,将间隙和其他统一;
6.只有2行时,卡片行距被拉开过大,应该不拉开;
7.删除弹框应竖向居中;
8.多选之后,点击搜索,卡片上的选择状态被取消,但点击删除按钮依旧在待删除列表里;
This commit is contained in:
hyx
2023-04-28 14:49:50 +08:00
parent 879256725b
commit 66760a2a57
4 changed files with 65 additions and 29 deletions

View File

@@ -124,6 +124,7 @@ export default {
const params = {
q: this.keyWord
}
this.clearList()
this.search(params)
},
handleClose () {
@@ -224,7 +225,11 @@ export default {
this.pageObj.total = 0
},
toSelect () {
this.$refs.dataTable.clearSelect()
this.isSelectedStatus = !this.isSelectedStatus
this.disableDelete = true
this.batchDeleteObjs = []
this.secondBatchDeleteObjs = []
},
editSelectRecord () {
if (this.batchDeleteObjs.length === 0) {
@@ -378,4 +383,12 @@ export default {
}
}
}
.el-dialog {
display: flex;
flex-direction: column; // 水平分布
margin: 0 !important;
position: absolute;
top: calc(50% - 150px);
left: calc(50% - 240px);
}
</style>