feat:11

This commit is contained in:
dzc committed 2026-01-29 19:29:49 +08:00
1 parent fa6f374df3
commit b0588654f6
3 files changed
+89 -158

No files matched your search

+5 -1
View File
@@ -3,7 +3,8 @@
<div class="material-index">
<el-card class="!border-none" shadow="never">
<el-tabs v-model="activeTab">
<el-tab-pane v-for="item in tabsMap" :label="item.name" :name="item.type" :index="item.type" :key="item.type" lazy>
<el-tab-pane v-for="item in tabsMap" :label="item.name" :name="item.type" :index="item.type"
:key="item.type" lazy>
<material :type="item.type" mode="page" file-size="120px" :limit="-1" :page-size="20" />
</el-tab-pane>
</el-tabs>
@@ -37,13 +38,16 @@ const activeTab = ref('image');
<style lang="scss" scoped>
.material-index {
min-width: 700px;
:deep(.el-tabs) {
height: calc(100vh - 180px);
display: flex;
flex-direction: column;
.el-tabs__header {
margin-bottom: 0 !important;
}
.el-tabs__content,
.el-tab-pane {
min-height: 0;