feat:修改大屏默认主题色

main
liu.shiyi 2 years ago
parent 8f303cd135
commit 752e1cad84

@ -263,7 +263,7 @@ export default {
h: this.type === 'component' ? 768 : 1080, h: this.type === 'component' ? 768 : 1080,
bgColor: '#151a26', bgColor: '#151a26',
opacity: 100, opacity: 100,
customTheme: 'auto', customTheme: 'dark',
bg: null, bg: null,
fitMode: 'auto' fitMode: 'auto'
}) })

@ -366,7 +366,7 @@ export default {
h: this.resolutionRatio.h || '1080', h: this.resolutionRatio.h || '1080',
bgColor: '#151a26', bgColor: '#151a26',
opacity: 100, opacity: 100,
customTheme: 'auto' customTheme: 'dark'
}, },
pageTemplateId: this.dataForm.pageTemplateId pageTemplateId: this.dataForm.pageTemplateId
} }

@ -296,7 +296,7 @@ export default {
h: this.type === 'component' ? 768 : 1080, h: this.type === 'component' ? 768 : 1080,
bgColor: '#151a26', bgColor: '#151a26',
opacity: 100, opacity: 100,
customTheme: 'auto', customTheme: 'dark',
bg: null, bg: null,
fitMode: 'auto' fitMode: 'auto'
}) })

@ -60,7 +60,7 @@ export function handleResData (data) {
h: 1080, h: 1080,
bgColor: '#151a26', // 背景色 bgColor: '#151a26', // 背景色
bg: '', // 背景图 bg: '', // 背景图
customTheme: 'auto', customTheme: 'dark',
opacity: 100 opacity: 100
} }
} }

@ -23,7 +23,7 @@ export const defaultData = {
bgColor: '#151a26', // 背景色 bgColor: '#151a26', // 背景色
bg: '', // 背景图 bg: '', // 背景图
opacity: 100, opacity: 100,
customTheme: 'auto', customTheme: 'dark',
themeJson: {}, // 自定义主题配置 themeJson: {}, // 自定义主题配置
// 缓存的数据集 { name: '', dataSetId: '' } // 缓存的数据集 { name: '', dataSetId: '' }
cacheDataSets: [], cacheDataSets: [],

Loading…
Cancel
Save