/*
 * @Descripttion: 轮播图
 * @version: 
 * @Author: qianlishi
 * @Date: 2021-08-29 07:08:53
 * @LastEditors: qianlishi
 * @LastEditTime: 2022-03-11 10:38:08
 */
export const widgetSliders =  {
    code: 'widget-slider',
    type: 'text',
    tabName: '文本栏',
    label: '轮播图片',
    icon: 'slider',
    options: {
      // 配置
      setup: [
        {
          type: 'el-input-text',
          label: '图层名称',
          name: 'layerName',
          required: false,
          placeholder: '',
        },
        {
          type: 'el-switch',
          label: '隐藏图层',
          name: 'hideLayer',
          required: false,
          placeholder: '',
        },
        {
          type: 'el-select',
          label: '轮播方向',
          name: 'tabDirection',
          required: false,
          placeholder: '',
        },
        {
          type: 'el-select',
          label: '选择器',
          name: 'tabSelector',
          required: false,
          placeholder: '',
        },
        {
          type: 'el-input-number',
          label: '轮播时间',
          name: 'tabTime',
          required: false,
          placeholder: '',
        },
      ],
      // 数据
      data: [],
      // 坐标
      position: [
        {
          type: 'el-input-number',
          label: '左边距',
          name: 'left',
          required: true,
          placeholder: '',
        },
        {
          type: 'el-input-number',
          label: '上边距',
          name: 'top',
          required: true,
          placeholder: '',
        },
        {
          type: 'el-input-number',
          label: '宽度',
          name: 'width',
          required: true,
          placeholder: '该容器在1920px大屏中的宽度',
        },
        {
          type: 'el-input-number',
          label: '高度',
          name: 'height',
          required: true,
          placeholder: '该容器在1080px大屏中的高度',
        },
      ],
    }
  }