Bläddra i källkod

Merge branch 'local' of https://github.com/le5le-com/visualization-design into local

ananzhusen 1 år sedan
förälder
incheckning
dae2535c2f
1 ändrade filer med 18 tillägg och 11 borttagningar
  1. 18 11
      src/services/defaults.ts

+ 18 - 11
src/services/defaults.ts

@@ -1026,6 +1026,7 @@ export const formComponents = [
           progressColor: '#4583FF',
           progress: 0.8,
           background: '#303746',
+          disableInput: true,
           lineWidth: 0,
           borderWidth: 0,
           props: {
@@ -1522,11 +1523,11 @@ export const formComponents = [
                   text: '编辑',
                   fontSize: 0.6,
                   disableAnchor: true,
-                  activeBackground: '#40a9ff',
+                  activeBackground: '#2D71EC',
                   activeColor: '#40a9ff',
-                  background: '#1890ff',
+                  background: '#4583FF',
                   color: '#1890ff',
-                  hoverBackground: '#40a9ff',
+                  hoverBackground: '#7DA4FF',
                   hoverColor: '#40a9ff',
                   textColor: '#ffffff',
                   hoverTextColor: '#ffffff',
@@ -1546,11 +1547,11 @@ export const formComponents = [
                   text: '实时数据',
                   fontSize: 0.6,
                   disableAnchor: true,
-                  activeBackground: '#40a9ff',
+                  activeBackground: '#2D71EC',
                   activeColor: '#40a9ff',
-                  background: '#1890ff',
+                  background: '#4583FF',
                   color: '#1890ff',
-                  hoverBackground: '#40a9ff',
+                  hoverBackground: '#7DA4FF',
                   hoverColor: '#40a9ff',
                   textColor: '#ffffff',
                   hoverTextColor: '#ffffff',
@@ -2527,8 +2528,10 @@ export const formComponents = [
           ellipsis: true,
           text: '输入文本',
           textAlign: 'left',
+          background:'#15181C',
+          color:'#424B61',
+          textColor: '#FFFFFFE6',
           // color: '#D9D9D9FF',
-          // textColor: '#000000FF',
           // hoverTextColor: '#000000FF',
           // activeTextColor: '#000000FF',
           textLeft: 10,
@@ -2549,6 +2552,9 @@ export const formComponents = [
           ellipsis: true,
           text: '输入数字',
           textAlign: 'left',
+          background:'#15181C',
+          color:'#424B61',
+          textColor: '#FFFFFFE6',
           // color: '#D9D9D9FF',
           // textColor: '#000000FF',
           // hoverTextColor: '#000000FF',
@@ -2670,10 +2676,11 @@ export const formComponents = [
           text: '选项1',
           textAlign: 'left',
           input: true,
-          color: '#D9D9D9FF',
-          textColor: '#FFFFFF',
-          hoverTextColor: '#FFFFFF',
-          activeTextColor: '#FFFFFF',
+          background:'#15181C',
+          color:'#424B61',
+          textColor: '#FFFFFFE6',
+          hoverTextColor: '#FFFFFFE6',
+          activeTextColor: '#FFFFFFE6',
           textLeft: 10,
           dropdownList: [
             {