vr-uniapp/src/layout/components/main/default/header-nav.ts

45 lines
1.3 KiB
TypeScript
Raw Normal View History

2024-08-28 07:31:08 +00:00
import defaultCommon from './index';
interface DefaultFooterNav {
content: {
2024-08-14 09:03:33 +00:00
color_list: color_list[];
title: string;
};
2024-08-28 07:31:08 +00:00
style: {
background_type: string;
background_color_list: color_list[];
background_direction: string;
2024-08-28 08:24:28 +00:00
background_img_style: number;
2024-08-28 07:31:08 +00:00
background_img_url: uploadList[];
background_title_color: string,
background_title_typeface: string,
background_title_size: number,
function_buttons_type: string,
immersive_style: boolean,
up_slide_display: boolean,
common_style: object;
}
}
const defaultFooterNav: DefaultFooterNav = {
content: {
2024-08-14 09:03:33 +00:00
color_list: [{ color: '#f5f5f5', color_percentage: '' }],
title: '',
2024-08-28 07:31:08 +00:00
},
style: {
2024-08-28 08:24:28 +00:00
background_type: 'color_image',
2024-08-28 07:31:08 +00:00
background_color_list: [{ color: '#fff', color_percentage: '' }],
background_direction: '180deg',
2024-08-28 08:24:28 +00:00
background_img_style: 2,
background_img_url: [],
2024-08-28 07:31:08 +00:00
background_title_color: '#000',
background_title_typeface: '500',
background_title_size: 14,
function_buttons_type: 'black',
immersive_style: false,
up_slide_display: true,
common_style: defaultCommon,
},
};
export default defaultFooterNav;