Przeglądaj źródła

feat_rockerSwitch

ananzhusen 1 rok temu
rodzic
commit
a159915665
1 zmienionych plików z 11 dodań i 2 usunięć
  1. 11 2
      src/services/defaults.ts

+ 11 - 2
src/services/defaults.ts

@@ -2515,8 +2515,17 @@ export const formComponents = [
       },
       {
         name: '船型开关',
-        icon: 'l-pc', //l-chuanxingkaiguan
-        data: {},
+        icon: 'l-chuanxingkaiguan',
+        data: {
+          name: 'rockerSwitch',
+          width: 72,
+          height: 128,
+          disableInput: true,
+          offColor: '#BFBFBF',
+          onColor: '#1890ff',
+          color: '#4583FF', //66 33
+          background: '#4583FF33',
+        },
       },
       {
         name: '转换开关',