diff --git a/src/components/common/div-content/index.vue b/src/components/common/div-content/index.vue index 616d2ab6..24eefe15 100644 --- a/src/components/common/div-content/index.vue +++ b/src/components/common/div-content/index.vue @@ -126,7 +126,7 @@ watch(() => props.diyData, (val) => { // 模块的class const model_class = computed(() => { 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; overflow: hidden; } +.tabs-view { + z-index: 4; +} \ No newline at end of file diff --git a/src/components/model-tabs/model-tabs-styles.vue b/src/components/model-tabs/model-tabs-styles.vue index f5bf7abb..21aabad4 100644 --- a/src/components/model-tabs/model-tabs-styles.vue +++ b/src/components/model-tabs/model-tabs-styles.vue @@ -31,7 +31,7 @@
- +