选项卡装饰逻辑修改
parent
002451dcd9
commit
0beaa8c714
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue