From 49e70c75705c59f5897099c2d7484637361086c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8E=E8=82=96=E7=A3=8A?= <18851179580@163.com> Date: Mon, 26 Aug 2024 18:56:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=89=E9=A1=B9=E5=8D=A1?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/main/default/tabs.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layout/components/main/default/tabs.ts b/src/layout/components/main/default/tabs.ts index 98c0b6ed..26616d2c 100644 --- a/src/layout/components/main/default/tabs.ts +++ b/src/layout/components/main/default/tabs.ts @@ -11,12 +11,12 @@ interface tabs_page { } interface defaultTabs { content: { - tabs_style: string; + tabs_theme: string; tabs_top_up: boolean; tabs_list: tabs_page[]; }; style: { - tabs_checked: string[]; + tabs_checked: color_list[]; tabs_direction: string; tabs_weight_checked: string, tabs_size_checked: number, @@ -29,7 +29,7 @@ interface defaultTabs { } const defaultTabs: defaultTabs = { content: { - tabs_style: '0', + tabs_theme: '0', tabs_top_up: true, tabs_list: [ { id: get_math(), title: '热门推荐', desc: '简介', data_type: 'micro_page', classify: {}, micro_page: '', category_list: [] }, @@ -38,7 +38,7 @@ const defaultTabs: defaultTabs = { ], }, style: { - tabs_checked: ['rgba(212,212,212,2)', 'rgba(255,210,210,1)'], + tabs_checked: [{ color: 'rgba(212,212,212,2)', color_percentage: '' }, { color: 'rgba(255,210,210,1)', color_percentage: '' }], tabs_direction: '90deg', tabs_weight_checked: '500', tabs_size_checked: 14,