From 0beaa8c71465b0068a4680dedf72a1bcf553eb61 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, 17 Jan 2025 16:35:59 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E9=A1=B9=E5=8D=A1=E8=A3=85=E9=A5=B0?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/const/article-tabs.ts | 2 +- src/config/const/goods-tabs.ts | 2 +- src/config/const/tabs-carousel.ts | 19 +++++++++++++++++++ src/config/const/tabs.ts | 2 +- 4 files changed, 22 insertions(+), 3 deletions(-) diff --git a/src/config/const/article-tabs.ts b/src/config/const/article-tabs.ts index 4444d0b2..22a85071 100644 --- a/src/config/const/article-tabs.ts +++ b/src/config/const/article-tabs.ts @@ -171,7 +171,7 @@ const defaultArticleTabs: DefaultArticleTabs = { { color: '#FF9898', color_percentage: undefined }, ], is_tabs_adorn_img_background: '0', - tabs_adorn_icon_size: 10, + tabs_adorn_icon_size: 15, tabs_adorn_img_radius: { radius: 0, radius_top_left: 0, diff --git a/src/config/const/goods-tabs.ts b/src/config/const/goods-tabs.ts index 40db52ea..75207ba8 100644 --- a/src/config/const/goods-tabs.ts +++ b/src/config/const/goods-tabs.ts @@ -204,7 +204,7 @@ const defaultProductList: DefaultProductList = { { color: '#FF9898', color_percentage: undefined }, ], is_tabs_adorn_img_background: '0', - tabs_adorn_icon_size: 10, + tabs_adorn_icon_size: 15, tabs_adorn_img_radius: { radius: 0, radius_top_left: 0, diff --git a/src/config/const/tabs-carousel.ts b/src/config/const/tabs-carousel.ts index 185132ce..a9c3d6ec 100644 --- a/src/config/const/tabs-carousel.ts +++ b/src/config/const/tabs-carousel.ts @@ -32,6 +32,8 @@ interface defaultTabs { content: { content_top: object; tabs_theme: string; + tabs_adorn_icon: string; + tabs_adorn_img: uploadList[]; tabs_top_up: string; home_data: tabs_page; tabs_list: tabs_page[]; @@ -45,6 +47,10 @@ interface defaultTabs { style: { tabs_one_theme: string; tabs_checked: color_list[]; + is_tabs_adorn_img_background: string; + tabs_adorn_icon_size: number, + tabs_adorn_img_radius: radiusStyle, + tabs_adorn_img_height: number, tabs_direction: string; tabs_weight_checked: string; tabs_size_checked: number; @@ -119,6 +125,9 @@ const defaultTabs: defaultTabs = { }, // 选项卡风格 tabs_theme: '0', + // 选中装饰图标 + tabs_adorn_icon: 'checked-smooth', + tabs_adorn_img: [], // 是否置顶 tabs_top_up: '0', // 选项卡数据 @@ -204,6 +213,16 @@ const defaultTabs: defaultTabs = { { color: '#FF2222', color_percentage: undefined }, { color: '#FF9898', color_percentage: undefined }, ], + is_tabs_adorn_img_background: '0', + tabs_adorn_icon_size: 15, + tabs_adorn_img_radius: { + radius: 0, + radius_top_left: 0, + radius_top_right: 0, + radius_bottom_left: 0, + radius_bottom_right: 0, + }, + tabs_adorn_img_height: 10, tabs_direction: '90deg', tabs_weight_checked: 'bold', tabs_size_checked: 14, diff --git a/src/config/const/tabs.ts b/src/config/const/tabs.ts index 2df097c2..c7b3bfba 100644 --- a/src/config/const/tabs.ts +++ b/src/config/const/tabs.ts @@ -78,7 +78,7 @@ const defaultTabs: defaultTabs = { { color: '#FF9898', color_percentage: undefined }, ], is_tabs_adorn_img_background: '0', - tabs_adorn_icon_size: 10, + tabs_adorn_icon_size: 15, tabs_adorn_img_radius: { radius: 0, radius_top_left: 0,