Prechádzať zdrojové kódy

feat:修改明亮主题背景色

liu.shiyi 1 rok pred
rodič
commit
7dd6df1abd

+ 4 - 2
data-room-ui/packages/BigScreenDesign/OverallSetting/index.vue

@@ -284,7 +284,7 @@ export default {
         bg: '',
         bgColor: '#151a26', // 背景色
         lightBg: '',
-        lightBgColor: '#151a26',
+        lightBgColor: '#f5f7fa',
         opacity: 100,
         customTheme: 'dark',
         themeJson: {},
@@ -375,7 +375,9 @@ export default {
       pageInfo.chartList = themeToSetting(pageInfo.chartList, theme)
       this.changePageInfo(pageInfo)
       pageInfo.chartList.forEach(chart => {
-        // if (chart.type === 'remoteComponent')
+        if (chart.type === 'remoteComponent') {
+          // this.$refs['remoteComponent' + chart.code]?.changeStyle(chart)
+        }
       })
     },
     init () {

+ 1 - 1
data-room-ui/packages/BigScreenList/EditForm.vue

@@ -262,7 +262,7 @@ export default {
             w: this.type === 'component' ? 1024 : 1920,
             h: this.type === 'component' ? 768 : 1080,
             bgColor: '#151a26',
-            lightBgColor: '#151a26',
+            lightBgColor: '#f5f7fa',
             opacity: 100,
             customTheme: 'dark',
             bg: null,

+ 1 - 1
data-room-ui/packages/BigScreenManagement/addDialog.vue

@@ -365,7 +365,7 @@ export default {
             w: this.resolutionRatio.w || '1920',
             h: this.resolutionRatio.h || '1080',
             bgColor: '#151a26',
-            lightBgColor: '#151a26',
+            lightBgColor: '#f5f7fa',
             opacity: 100,
             customTheme: 'dark'
           },

+ 1 - 1
data-room-ui/packages/ComponentList/EditForm.vue

@@ -298,7 +298,7 @@ export default {
             opacity: 100,
             customTheme: 'dark',
             bg: null,
-            lightBgColor: '#151a26',
+            lightBgColor: '#f5f7fa',
             lightBg: null,
             fitMode: 'auto'
           })

+ 1 - 1
data-room-ui/packages/SourceList/EditForm.vue

@@ -249,7 +249,7 @@ export default {
             opacity: 100,
             customTheme: 'auto',
             bg: null,
-            lightBgColor: '#151a26',
+            lightBgColor: '#f5f7fa',
             lightBg: null
           })
           if (this.dataForm.type === 'bigScreen') {

+ 2 - 2
data-room-ui/packages/js/store/actions.js

@@ -55,7 +55,7 @@ export function handleResData (data) {
       ...data,
       pageConfig: {
         ...data.pageConfig,
-        lightBgColor: data.pageConfig.lightBgColor || '#151a26'
+        lightBgColor: data.pageConfig.lightBgColor || '#f5f7fa'
       }
     }
   } else {
@@ -65,7 +65,7 @@ export function handleResData (data) {
         w: 1920,
         h: 1080,
         bgColor: '#151a26', // 背景色
-        lightBgColor: '#151a26',
+        lightBgColor: '#f5f7fa',
         lightBg: '',
         bg: '', // 背景图
         customTheme: 'dark',

+ 1 - 1
data-room-ui/packages/js/store/state.js

@@ -22,7 +22,7 @@ export const defaultData = {
       h: 1080,
       bgColor: '#151a26', // 背景色
       bg: '', // 背景图
-      lightBgColor: '#151a26',
+      lightBgColor: '#f5f7fa',
       lightBg: '',
       opacity: 100,
       customTheme: 'dark',