<template>
  <div>
    <el-form-item label="菜单模式">
      <el-select v-model="main.activeOption.mode">
        <el-option label="垂直" value="vertical"></el-option>
        <el-option label="水平" value="horizontal"></el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="是否折叠">
      <el-switch v-model="main.activeOption.collapse"></el-switch>
    </el-form-item>
    <el-form-item label="背景颜色">
      <el-color-picker v-model="main.activeOption.backgroundColor"></el-color-picker>
    </el-form-item>
    <el-form-item label="文字颜色">
      <el-color-picker v-model="main.activeOption.textColor"></el-color-picker>
    </el-form-item>
    <el-form-item label="激活文字颜色">
      <el-color-picker v-model="main.activeOption.activeTextColor"></el-color-picker>
    </el-form-item>
    <el-form-item label="手风琴模式">
      <el-switch v-model="main.activeOption.uniqueOpened"></el-switch>
    </el-form-item>
    <el-form-item label="折叠动画">
      <el-switch v-model="main.activeOption.collapseTransition"></el-switch>
    </el-form-item>
  </div>
</template>

<script>
export default {
  name: 'menu',
  inject: ["main"]
}
</script> 