修改头部内容显示
parent
3140e214a9
commit
bc96141328
|
|
@ -23,11 +23,19 @@ const props = defineProps({
|
|||
});
|
||||
const default_data = {
|
||||
content: {
|
||||
title: !isEmpty(common_store.common.config.site_name) ? common_store.common.config.site_name : '新建页面',
|
||||
indicator_location: 'flex-start',
|
||||
logo: [],
|
||||
data_alone_row_value: [],
|
||||
icon_setting: [
|
||||
{ id: get_math(), img: [], icon: 'applet-me-message-acquiesce', link: {} },
|
||||
],
|
||||
is_location_left_icon_show: '1',
|
||||
location_left_img: [],
|
||||
location_left_icon: 'location',
|
||||
is_location_right_icon_show: '1',
|
||||
location_right_img: [],
|
||||
location_right_icon: 'arrow-bottom',
|
||||
},
|
||||
style: {
|
||||
header_background_type: 'color_image',
|
||||
|
|
@ -38,16 +46,23 @@ const default_data = {
|
|||
header_background_title_color: '#333',
|
||||
header_background_title_typeface: '500',
|
||||
header_background_title_size: 14,
|
||||
data_alone_row_space: 5,
|
||||
function_buttons_type: '0',
|
||||
immersive_style: '0',
|
||||
up_slide_display: '1',
|
||||
up_slide_background_color_list: [{ color: '#fff', color_percentage: undefined }],
|
||||
up_slide_background_direction: '180deg',
|
||||
up_slide_background_img_style: '2',
|
||||
up_slide_background_img: [],
|
||||
left_back_btn_color: '#333',
|
||||
icon_color: '#ccc',
|
||||
button_inner_color: '#fff',
|
||||
search_botton_color_list: [{ color: '#FF973D', color_percentage: undefined }, { color: '#FF3131', color_percentage: undefined }],
|
||||
search_botton_color_list: [
|
||||
{ color: '#FF973D', color_percentage: undefined },
|
||||
{ color: '#FF3131', color_percentage: undefined },
|
||||
],
|
||||
search_botton_direction: '90deg',
|
||||
search_botton_background_img_style: '',
|
||||
search_botton_background_img_style: '2',
|
||||
search_botton_background_img: [],
|
||||
search_button_radius: {
|
||||
radius: 16,
|
||||
|
|
@ -56,10 +71,12 @@ const default_data = {
|
|||
radius_bottom_left: 16,
|
||||
radius_bottom_right: 16,
|
||||
},
|
||||
position_color: '#333',
|
||||
img_size: '23',
|
||||
img_space: '15',
|
||||
img_color: '#666',
|
||||
tips_color: '#ccc',
|
||||
hot_words_color: '#000',
|
||||
hot_words_color: '#999',
|
||||
search_border: '#E4E4E4',
|
||||
search_bg_color: '#fff',
|
||||
search_border_radius: {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
import { get_math } from '@/utils';
|
||||
import defaultCommon from './index';
|
||||
import { isEmpty } from 'lodash';
|
||||
import { commonStore } from '@/store';
|
||||
const common_store = commonStore();
|
||||
interface hot_word_list {
|
||||
id: string;
|
||||
value: string;
|
||||
|
|
@ -77,7 +80,7 @@ const defaultFooterNav: DefaultFooterNav = {
|
|||
content: {
|
||||
theme: '1',
|
||||
logo: [],
|
||||
title: '新建页面',
|
||||
title: !isEmpty(common_store.common.config.site_name) ? common_store.common.config.site_name : '新建页面',
|
||||
link: {},
|
||||
data_alone_row_value: [],
|
||||
indicator_location: 'center',
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ export const commonStore = defineStore('common', () => {
|
|||
site_logo_app: '',
|
||||
site_logo_wap: '',
|
||||
site_logo: '',
|
||||
site_name: '',
|
||||
} as any, // 基础数据配置参数
|
||||
});
|
||||
// 存储链接数据
|
||||
|
|
|
|||
Loading…
Reference in New Issue