This commit is contained in:
yanran200730
2023-04-25 14:32:47 +08:00
parent 3724b25e4c
commit aca3b38dab
2 changed files with 334 additions and 33 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div class="aiDvTable" :class="'aiDvTable-' + theme">
<div class="aiDvTable" :class="'aiDvTable-' + theme + ' aiDvTable-' + size">
<div class="header" :style="headerStyle">
<span
v-for="(item, index) in header"
@@ -65,6 +65,11 @@
config: {
type: Array,
default: () => []
},
size: {
type: 'String',
default: 'small'
}
},
@@ -227,6 +232,16 @@
}
}
&.aiDvTable-mini {
.header {
height: 36px;
}
.row {
height: 40px;
}
}
&.aiDvTable-1 {
::-webkit-scrollbar {
width: 5px;