<template>
  <div class="new-bar-option">
    <div class="setting-title" @click="show = !show">
      <div>组件设置</div>
      <e class="el-icon-arrow-right" v-show="!show"></e>
      <e class="el-icon-arrow-down" v-show="show"></e>
    </div>
    <el-form size="mini" label-width="80px" v-show="show">
      <el-form-item label="纵向位置">
        <el-input-number v-model="option.yPosition"></el-input-number>
      </el-form-item>
      <el-form-item label="形状">
        <el-select v-model="option.radarShape">
          <el-option label="正多边形" value="polygon"></el-option>
          <el-option label="圆形" value="circle"></el-option>
        </el-select>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  name: "new-radar-option",
  props: ["option"],
  data() {
    return {
      show: false,
    };
  },
};
</script>
<style lang="scss">
.new-radar-option {
}
</style>
