소스 검색

新增分页颜色相关配置项

孤城浪人 7 달 전
부모
커밋
8976a0f1c8
1개의 변경된 파일30개의 추가작업 그리고 0개의 파일을 삭제
  1. 30 0
      src/services/defaults.ts

+ 30 - 0
src/services/defaults.ts

@@ -3365,6 +3365,36 @@ context.meta2d.translate(
               //   label: $t('最多显示页码数按钮数'),
               //   type: 'number',
               // },
+              {
+                key: 'background',
+                label: '背景颜色',
+                type: 'color',
+              },
+              {
+                key: 'activeBackground',
+                label: '当前页背景颜色',
+                type: 'color',
+              },
+              {
+                key: 'color',
+                label: '边框颜色',
+                type: 'color',
+              },
+              {
+                key: 'activeColor',
+                label: '当前页边框颜色',
+                type: 'color',
+              },
+              {
+                key: 'textColor',
+                label: '文字颜色',
+                type: 'color',
+              },
+              { 
+                key: 'activeTextColor',
+                label: '当前页文字颜色',
+                type: 'color',
+              }
             ],
           },
         },