<template>
  <div class="setFormula">
    <el-select
      v-model="value"
      clearable
      placeholder="请选择"
    >
      <el-option
        v-for="item in options"
        :key="item.value"
        :label="item.label"
        :value="item.value"
      >
      </el-option>
    </el-select>
    <div class="martop15 maoshu">
      22
    </div>
    <div
      style="float:right"
      class="martop20 flexColumn marright10 switch"
    >
      <el-switch
        v-model="value1"
        inactive-color="#ADBCF9"
        inactive-text="默认开放"
      >
      </el-switch>
      <el-switch
        class="martop10"
        v-model="value1"
        inactive-color="#00E065"
        inactive-text="VIP开放"
      >
      </el-switch>
    </div>
    <div
      style="width:100%;"
      class="flexEnd martop20"
    >
      <el-button
        class="martop15"
        type="info"
        size="mini"
      >保存设置</el-button>
    </div>
  </div>
</template>
<script>
export default {
  props: ['pkeyId1', 'htmlData1'],
  daat () {
    return {
      options: [{
        value: '选项1',
        label: '黄金糕'
      }, {
        value: '选项2',
        label: '双皮奶'
      }, {
        value: '选项3',
        label: '蚵仔煎'
      }, {
        value: '选项4',
        label: '龙须面'
      }, {
        value: '选项5',
        label: '北京烤鸭'
      }],
      value: '',
      value1: true,
    }
  }
}
</script>
<style lang="scss" scoped>
.setFormula {
  .maoshu {
    border: 1px solid #c6c6c6;
    border-radius: 5px;
    padding: 15px 20px;
  }
  .switch {
    ::v-deep.el-switch__label.is-active {
      width: 60px;
    }
  }
}
</style>
