File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 66
66
ref =" tableRef"
67
67
:header-cell-style =" { backgroundColor: isDark ? '' : '#edeff0', paddingLeft: '10px' }"
68
68
:cell-style =" { paddingLeft: '10px' }"
69
+ :row-style =" { height: '68px' }"
69
70
:data =" tableData"
70
71
row-key =" id"
71
72
>
@@ -509,9 +510,7 @@ watch(
509
510
:deep() {
510
511
.el-table__cell {
511
512
border-bottom : none !important ;
512
- }
513
- .el-table__row {
514
- height : 68px ;
513
+ overflow : hidden ;
515
514
}
516
515
}
517
516
</style >
Original file line number Diff line number Diff line change 61
61
62
62
<!-- 分类卡片组 -->
63
63
<div class =" px-15px" >
64
- <draggable v-model =" categoryGroup" item-key =" id" :animation =" 400" >
64
+ <draggable
65
+ :disabled =" !isCategorySorting"
66
+ v-model =" categoryGroup"
67
+ item-key =" id"
68
+ :animation =" 400"
69
+ >
65
70
<template #item =" { element } " >
66
- <ContentWrap v-loading =" loading" :body-style =" { padding: 0 }" :key =" element.id" >
71
+ <ContentWrap
72
+ class =" rounded-lg transition-all duration-300 ease-in-out hover:shadow-xl"
73
+ v-loading =" loading"
74
+ :body-style =" { padding: 0 }"
75
+ :key =" element.id"
76
+ >
67
77
<CategoryDraggableModel
68
78
ref =" categoryDraggableModelRef"
69
79
:isCategorySorting =" isCategorySorting"
@@ -202,6 +212,9 @@ onMounted(async () => {
202
212
203
213
<style lang="scss" scoped>
204
214
:deep() {
215
+ .el-table--fit .el-table__inner-wrapper :before {
216
+ height : 0 ;
217
+ }
205
218
.el-card {
206
219
border-radius : 8px ;
207
220
}
You can’t perform that action at this time.
0 commit comments