export default {
  name: '未命名',
  config: [
    {
      _name: 'dimension',
      _displayName: '',
      _value: [
        {
          _name: 'recommend',
          _displayName: '屏幕大小',
          _labelLayout: 6,
          _value: '0',
          _type: 'select',
          _options: [
            { name: '大屏推荐尺寸1920*1080', value: '0' },
            { name: 'web最常见尺寸1366*768', value: '1' },
            { name: 'web最小尺寸1024*768', value: '2' },
            { name: '自定义', value: '4' }
          ],
        },
        {
          _name: 'width',
          _displayName: '宽度',
          _className: 'width',
          _labelPosition: 'bottom',
          _value: 1920,
          _type: 'number',
          _labelLayout: 24,
        },
        {
          _name: 'height',
          _displayName: '高度',
          _className: 'height',
          _labelPosition: 'bottom',
          _value: 1080,
          _type: 'number',
          _labelLayout: 24,
        }
      ]
    },
    {
      _name: 'style',
      _displayName: '',
      _value: [
        {
          _name: 'backgroundColor',
          _displayName: '背景色',
          _className: 'backgroundColor',
          _value: '#232630',
          _type: 'color'
        },
        {
          _name: 'useBackground',
          _displayName: '启用背景图',
          _value: false,
          _type: 'boolean',
          _tip: '上传的背景图在场景管理器中可作为调整镜头的参照'
        },
        {
          _displayName: '默认隐藏提示',
          _name: 'defaultHide',
          _tip: '启用时，组件默认隐藏将显示颜色填充作为提示，禁用时不显示',
          _type: 'boolean',
          _value: true
        },
        {
          _rule: [['useBackground', '$eq', true]],
          _className: 'background',
          _labelLayout: 6,
          _name: 'background',
          _displayName: '背景图',
          _value: '',
          _type: 'uploadImage'
        }
      ]
    },
    {
      _name: 'component',
      _displayName: '',
      _value: [
        {
          _name: 'grid',
          _className: 'grid',
          _displayName: '栅格间距',
          _value: 1,
          _type: 'number'
        },
        {
          _name: 'zoom',
          _displayName: '预览设置',
          _className: 'zoom',
          _labelLayout: 6,
          _value: '0',
          _type: 'radio',
          _options: [
            { name: '按屏幕比例适配', value: '0' },
            { name: '强制铺满', value: '1' },
            { name: '原比例展示溢出滚动', value: '2' }
          ]
        }
      ]
    }
  ]
};
