<template>
    <el-form ref="form" label-width="90px">
        <el-form-item label="主题样式">
            <el-select v-model="comp.props.theme.val" placeholder="请选择">
                <el-option label="样式一" value="1"></el-option>
                <el-option label="样式二" value="2"></el-option>
            </el-select>
        </el-form-item>
        <el-form-item label="选中颜色" v-show="comp.props.theme.val==2">
            <el-color-picker v-model="comp.props.color.val"></el-color-picker>
        </el-form-item>
    </el-form>
</template>

<script>
export default {
  name: "CompNavBarProps",
  props: ["cfg", "comp"],
  data() {
    return {
    };
  },
  methods: {
  },
  watch: {
  },
  created: function() {
    var that = this;
    that.mergeCompProps(that.comp);
  },
  mounted: function() {
  }
};
</script>

<style scoped>
</style>
