| | |
| | | <template> |
| | | <div class="drawer-container"> |
| | | <div> |
| | | <h3 class="drawer-title">项目配置</h3> |
| | | <h3 class="drawer-title">系统配置</h3> |
| | | |
| | | <div class="drawer-item"> |
| | | <span>主题颜色</span> |
| | |
| | | style="width: 120px;" |
| | | placeholder="请选择" |
| | | size="mini" |
| | | @change="animationTypeChange" |
| | | > |
| | | <el-option |
| | | v-for="item in animationTypeArr" |
| | |
| | | ] |
| | | } |
| | | }, |
| | | mounted() { |
| | | if (this.$store.state.settings.menuIsHorizontal) { |
| | | this.sidebar.opened = true |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters([ |
| | | 'sidebar' |
| | |
| | | key: 'theme', |
| | | value: val |
| | | }) |
| | | }, |
| | | animationTypeChange(val) { |
| | | console.log(val, 1) |
| | | } |
| | | } |
| | | } |