From 42ff3c2f04410e9c3047eea567a56862fa9d79f3 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Mon, 21 Oct 2024 18:04:04 +0800 Subject: [PATCH] =?UTF-8?q?1.=E8=BD=AE=E6=92=AD=E9=80=89=E9=A1=B9=E5=8D=A1?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/tabs-view/index.vue | 226 ++++++++++--------- src/components/model-tabs-carousel/index.vue | 4 +- src/config/const/tabs-carousel.ts | 2 +- 3 files changed, 120 insertions(+), 112 deletions(-) diff --git a/src/components/common/tabs-view/index.vue b/src/components/common/tabs-view/index.vue index 882a0477..c14c9c13 100644 --- a/src/components/common/tabs-view/index.vue +++ b/src/components/common/tabs-view/index.vue @@ -1,8 +1,8 @@ @@ -64,6 +64,9 @@ const tabs_theme = computed(() => { const tabs_bottom_line_theme = computed(() => { return new_style.value.tabs_one_theme == '1' ? 'tabs-bottom-line-theme' : ''; }); +const tabs_theme_1_style = computed(() => { + return new_style.value.tabs_one_theme == '1'; +}); // 选中的背景渐变色样式 const tabs_check = computed(() => { @@ -100,126 +103,129 @@ const icon_tabs_check = () => { }; diff --git a/src/components/model-tabs-carousel/index.vue b/src/components/model-tabs-carousel/index.vue index adcc2c0f..c463ca80 100644 --- a/src/components/model-tabs-carousel/index.vue +++ b/src/components/model-tabs-carousel/index.vue @@ -2,7 +2,9 @@
- +
+ +
diff --git a/src/config/const/tabs-carousel.ts b/src/config/const/tabs-carousel.ts index 45a57b24..49a367c1 100644 --- a/src/config/const/tabs-carousel.ts +++ b/src/config/const/tabs-carousel.ts @@ -138,7 +138,7 @@ const defaultTabs: defaultTabs = { more_icon_color: '#000', more_icon_size: 14, // 选项卡与轮播之间的间距 - data_spacing: 10, + data_spacing: 0, // 图片圆角 radius: 0, radius_top_left: 0,