Explorar o código

feat:修改大屏默认主题色

liu.shiyi hai 1 ano
pai
achega
752e1cad84

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

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

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

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

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

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

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

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

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

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