<template>
  <div class="new-special-time-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="100px" v-show="show">
      <el-form-item label="查询按钮展示">
        <el-switch v-model="option.showSwitch"></el-switch>
      </el-form-item>
      <el-form-item label="外边框">
        <el-select v-model="option.outBorderStyle">
          <el-option
            v-for="item of borderStyle"
            :key="item.value"
            :value="item.value"
            :label="item.label"
          ></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="外边框颜色">
        <el-color-picker
          v-model="option.outBorderColor"
          show-alpha
          size="mini"
        ></el-color-picker>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
import { borderStyle } from "../dict";
export default {
  name: "new-special-time-option",
  props: ["option"],
  data() {
    return {
      show: false,
      borderStyle,
    };
  },
};
</script>
<style lang="scss">
.new-special-time-option {
}
</style>
