<template>
  <div style="padding: 0px 10px;">
    <el-form :model="opts" label-position="left" label-width="100px" class="demo-ruleForm">
      <el-form-item label="栅格" prop="span">
        <el-slider v-model="opts.span" :step="1" :min="1" :max="24" />
      </el-form-item>
      <el-form-item label="类型" prop="type">
        <el-select v-model="opts.type">
          <el-option label="button（按钮）" value="button" />
          <el-option label="picture（带缩略图）" value="picture" />
          <el-option label="drag（拖拽）" value="drag" />
        </el-select>
      </el-form-item>
      <el-form-item label="标签" prop="labelName">
        <el-input v-model="opts.labelName" placeholder="labelName" />
      </el-form-item>
      <el-form-item label="内容为空时展示的文本" prop="emptyText">
        <el-input v-model="opts.emptyText" placeholder="请输入内容" />
      </el-form-item>
      <el-form-item label="高亮当前选中" prop="highlight">
        <el-switch v-model="opts.highlight" />
      </el-form-item>
      <el-form-item label="默认展开所有" prop="all">
        <el-switch v-model="opts.all" />
      </el-form-item>
      <el-form-item label="点击节点展开收缩" prop="expandNode">
        <el-switch v-model="opts.expandNode" />
      </el-form-item>
      <el-form-item label="点击节点勾选" prop="checkNode">
        <el-switch v-model="opts.checkNode" />
      </el-form-item>
      <el-form-item label="复选框父子节点不联动" prop="strictly">
        <el-switch v-model="opts.strictly" />
      </el-form-item>
      <el-form-item label="可勾选" prop="checkbox">
        <el-switch v-model="opts.checkbox" />
      </el-form-item>
      <el-form-item label="手风琴模式" prop="accordion">
        <el-switch v-model="opts.accordion" />
      </el-form-item>
      <el-form-item label="可拖拽" prop="draggable">
        <el-switch v-model="opts.draggable" />
      </el-form-item>
      <el-form-item label="节点过滤" prop="filter">
        <el-switch v-model="opts.filter" />
      </el-form-item>
      <el-button>保存</el-button>
    </el-form>
  </div>
</template>

<script>
import ApDevPropBase from './base/ApDevPropBase'
import ElButton from 'element-ui/packages/button/src/button'

export default {
  name: 'ApDevTreeProp',
  components: { ElButton },
  extends: ApDevPropBase,
  data() {
    return {

    }
  },
  methods: {

  }
}
</script>

<style scoped>

</style>
