From 9f74694d4fccc72bdea5e72cf206ed10162ac065 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Fri, 8 Aug 2025 16:23:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E8=80=81=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/const/tabs-magic.ts | 38 +++++++--------------------------- 1 file changed, 8 insertions(+), 30 deletions(-) diff --git a/src/config/const/tabs-magic.ts b/src/config/const/tabs-magic.ts index 39e09824..52c93f25 100644 --- a/src/config/const/tabs-magic.ts +++ b/src/config/const/tabs-magic.ts @@ -258,8 +258,15 @@ export const magic_config = { } } }, + // 通用样式 + magic_common: { + is_show: '0', + direction: '90deg', + color_list: [{ color: '', color_percentage: undefined }], + background_img_style: '2', + background_img: [], + }, } - const defaultTabs: defaultTabs = { content: { content_top: { @@ -294,14 +301,6 @@ const defaultTabs: defaultTabs = { category_list: {}, magic_type: 'carousel', rotating_background: '0', - // 通用样式 - magic_common: { - is_show: '0', - direction: '90deg', - color_list: [{ color: '', color_percentage: undefined }], - background_img_style: '2', - background_img: [], - }, ...cloneDeep(magic_config), }, tabs_list: [ @@ -320,13 +319,6 @@ const defaultTabs: defaultTabs = { category_list: {}, magic_type: '', rotating_background: '0', - magic_common: { - is_show: '0', - direction: '90deg', - color_list: [{ color: '', color_percentage: undefined }], - background_img_style: '2', - background_img: [], - }, ...cloneDeep(magic_config), }, { @@ -344,13 +336,6 @@ const defaultTabs: defaultTabs = { category_list: {}, magic_type: '', rotating_background: '0', - magic_common: { - is_show: '0', - direction: '90deg', - color_list: [{ color: '', color_percentage: undefined }], - background_img_style: '2', - background_img: [], - }, ...cloneDeep(magic_config), }, { @@ -368,13 +353,6 @@ const defaultTabs: defaultTabs = { category_list: {}, magic_type: '', rotating_background: '0', - magic_common: { - is_show: '0', - direction: '90deg', - color_list: [{ color: '', color_percentage: undefined }], - background_img_style: '2', - background_img: [], - }, ...cloneDeep(magic_config), }, ],