소스 검색

feat:cprops属性列表

ananzhusen 1 년 전
부모
커밋
105cf13f04
4개의 변경된 파일64개의 추가작업 그리고 0개의 파일을 삭제
  1. 16 0
      src/views/components/Actions.vue
  2. 16 0
      src/views/components/Conditions.vue
  3. 16 0
      src/views/components/GlobalStates.vue
  4. 16 0
      src/views/components/PenDatas.vue

+ 16 - 0
src/views/components/Actions.vue

@@ -545,10 +545,22 @@ let cprops = [
     value: 'text',
     label: '文字',
   },
+  {
+    value: 'color',
+    label: '颜色',
+  },
+  {
+    value: 'background',
+    label: '背景颜色',
+  },
   {
     value: 'progress',
     label: '进度',
   },
+  {
+    value: 'progressColor',
+    label: '进度颜色',
+  },
   {
     value: 'showChild',
     label: '状态',
@@ -557,6 +569,10 @@ let cprops = [
     value: 'rotate',
     label: '旋转',
   },
+  {
+    value: 'disabled',
+    label: '禁用',
+  }
 ];
 
 const getProps = (c: any) => {

+ 16 - 0
src/views/components/Conditions.vue

@@ -270,10 +270,22 @@ const cprops = ref<any>([
     value: 'text',
     label: '文字',
   },
+  {
+    value: 'color',
+    label: '颜色',
+  },
+  {
+    value: 'background',
+    label: '背景颜色',
+  },
   {
     value: 'progress',
     label: '进度',
   },
+  {
+    value: 'progressColor',
+    label: '进度颜色',
+  },
   {
     value: 'showChild',
     label: '状态',
@@ -282,6 +294,10 @@ const cprops = ref<any>([
     value: 'rotate',
     label: '旋转',
   },
+  {
+    value: 'disabled',
+    label: '禁用',
+  }
 ]);
 
 const operatorOptions = [

+ 16 - 0
src/views/components/GlobalStates.vue

@@ -287,10 +287,22 @@ const cProps = [
     value: 'text',
     label: '文字',
   },
+  {
+    value: 'color',
+    label: '颜色',
+  },
+  {
+    value: 'background',
+    label: '背景颜色',
+  },
   {
     value: 'progress',
     label: '进度',
   },
+  {
+    value: 'progressColor',
+    label: '进度颜色',
+  },
   {
     value: 'showChild',
     label: '状态',
@@ -299,6 +311,10 @@ const cProps = [
     value: 'rotate',
     label: '旋转',
   },
+  {
+    value: 'disabled',
+    label: '禁用',
+  }
 ];
 
 const valueChange = (e, c: any) => {

+ 16 - 0
src/views/components/PenDatas.vue

@@ -965,10 +965,22 @@ const cProps = [
     value: 'text',
     label: '文字',
   },
+  {
+    value: 'color',
+    label: '颜色',
+  },
+  {
+    value: 'background',
+    label: '背景颜色',
+  },
   {
     value: 'progress',
     label: '进度',
   },
+  {
+    value: 'progressColor',
+    label: '进度颜色',
+  },
   {
     value: 'showChild',
     label: '状态',
@@ -977,6 +989,10 @@ const cProps = [
     value: 'rotate',
     label: '旋转',
   },
+  {
+    value: 'disabled',
+    label: '禁用',
+  }
 ];
 
 const query = reactive<{