From fdbd754f4a24ea2dbb8e48092dad4e956f7f1802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Thu, 19 Sep 2024 17:32:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9tabs=E5=B1=82=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/div-content/index.vue | 5 ++++- src/components/model-tabs/model-tabs-styles.vue | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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 @@
- +