Forráskód Böngészése

修改部分图元配置

Wind-Breaker1 1 éve
szülő
commit
8afbc9fa72
1 módosított fájl, 13 hozzáadás és 13 törlés
  1. 13 13
      src/services/defaults.ts

+ 13 - 13
src/services/defaults.ts

@@ -1607,7 +1607,7 @@ export const formComponents = [
               'MQTT',
               {
                 text: '一级告警',
-                background: '#650b09',
+                // background: '#650b09',
                 textColor: '#FF5D3CFF',
               },
             ],
@@ -1617,7 +1617,7 @@ export const formComponents = [
               'MQTT',
               {
                 text: '二级告警',
-                background: '#4d2a02',
+                // background: '#4d2a02',
                 textColor: '#E6A82EFF',
               },
             ],
@@ -1627,7 +1627,7 @@ export const formComponents = [
               'MQTT',
               {
                 text: '一级告警',
-                background: '#650b09',
+                // background: '#650b09',
                 textColor: '#FF5D3CFF',
               },
             ],
@@ -1638,7 +1638,7 @@ export const formComponents = [
               {
                 text: '三级告警',
                 textColor: '#58CC84FF',
-                background: '#042617;',
+                // background: '#042617;',
               },
             ],
           ],
@@ -2375,7 +2375,7 @@ export const formComponents = [
           width: 500,
           height: 40,
           hiddenText: true,
-          direction: 'vertical', //horizontal/vertical
+          direction: 'horizontal', //horizontal/vertical
           labelAlign: '', //left/right/alternate/top/bottom
           // theme: 'dot', //dot
           current: 2,
@@ -2383,13 +2383,13 @@ export const formComponents = [
             {
               title: '已完成的步骤',
               content:
-                '这里是提示文字dsafsdfadfafadsfdfadfadsfdafdafdasfsdfdfadfdafasdffdfadds',
+                '这里是提示文字',
               status: 'finish', //default/process/finish/error
               // path: 'M71.3,61.9v2.21L56.66,66V63.82l3.27-.43.25-1-2.39.31V60.84l2.84-.37.21-.87-3.4.44V57.85l13.08-1.73v2.2l-6.85.9-.21.88,6-.79-.15,2.85ZM58.11,66.56,69.86,65v5.63L58.11,72.19Zm2.59,3.09,6.44-.84V67.52l-6.44.85ZM62.78,63l3.87-.51.07-.95L63,62.05Z',
             },
             {
               title: '出错的步骤',
-              content: '这里是提示文字ssss',
+              content: '这里是提示文字', 
               status: 'error', //default/process/finish/error
             },
             {
@@ -2480,12 +2480,12 @@ export const formComponents = [
           disableAnchor: true,
           borderRadius: 2,
           text: '按钮',
-          activeBackground: '#40a9ff',
+          activeBackground: '#2D71EC',
           activeColor: '#40a9ff',
-          background: '#1890ff',
+          background: '#4583FF',
           color: '#1890ff',
           hoverBackground: '#40a9ff',
-          hoverColor: '#40a9ff',
+          hoverColor: '#7DA4FF',
           textColor: '#ffffff',
           hoverTextColor: '#ffffff',
           activeTextColor: '#ffffff',
@@ -2718,8 +2718,8 @@ export const formComponents = [
           height: 30,
           width: 60,
           checked: true,
-          offColor: '#BFBFBF',
-          onColor: '#1890ff',
+          offColor: '#303746',
+          onColor: '#4583FF',
           disableOffColor: '#E5E5E5',
           disableOnColor: '#A3D3FF',
           hoverBackground: '#40a9ff',
@@ -2739,7 +2739,7 @@ export const formComponents = [
           barHeight: 4,
           min: 0,
           max: 100,
-          color: '#4583FF1890ff',
+          activeColor: '#4583FF',
           background: '#303746',
           textColor: '#FFFFFF66',
           unit: '%',