修改tabs层级
parent
afe5c03441
commit
fdbd754f4a
|
|
@ -126,7 +126,7 @@ watch(() => props.diyData, (val) => {
|
||||||
// 模块的class
|
// 模块的class
|
||||||
const model_class = computed(() => {
|
const model_class = computed(() => {
|
||||||
return (item: { show_tabs: string; key: string; id: string }) => {
|
return (item: { show_tabs: string; key: string; id: string }) => {
|
||||||
return ['plug-in-table', { 'plug-in-border': item.show_tabs == '1', 'float-window': item.key == 'float-window', 'plug-in-animation': item.show_tabs != '1' && props.showModelBorder }];
|
return ['plug-in-table', { 'plug-in-border': item.show_tabs == '1', 'tabs-view': item.key == 'tabs', 'float-window': item.key == 'float-window', 'plug-in-animation': item.show_tabs != '1' && props.showModelBorder }];
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -381,4 +381,7 @@ const float_bottom_change = (val: { bottom: string; location: string }, id: stri
|
||||||
max-width: 39rem;
|
max-width: 39rem;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
.tabs-view {
|
||||||
|
z-index: 4;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -31,7 +31,7 @@
|
||||||
</card-container>
|
</card-container>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div class="divider-line"></div>
|
<div class="divider-line"></div>
|
||||||
<common-styles :value="form.common_style" @update:value="common_styles_update" />
|
<common-styles :value="form.common_style" :is-floating-up="false" @update:value="common_styles_update" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue