config.ts 516 B

1234567891011121314151617181920212223
  1. import { DiyComponent } from '@/components/DiyEditor/util'
  2. /** 页面设置属性 */
  3. export interface PageConfigProperty {
  4. // 页面描述
  5. description: string
  6. // 页面背景颜色
  7. backgroundColor: string
  8. // 页面背景图片
  9. backgroundImage: string
  10. }
  11. // 定义页面组件
  12. export const component = {
  13. id: 'PageConfig',
  14. name: '页面设置',
  15. icon: 'ep:document',
  16. property: {
  17. description: '',
  18. backgroundColor: '#f5f5f5',
  19. backgroundImage: ''
  20. }
  21. } as DiyComponent<PageConfigProperty>