<template>
  <div class="header-top-view">
    <div class="inner">
      <div class="left"><i class="el-icon-camera"></i></div>
      <div class="center">
        <el-input
          v-model="searchKey"
          size="mini"
          :placeholder="componentData.placeholder"
        >
          <i slot="prefix" class="el-input__icon el-icon-search"></i>
        </el-input>
      </div>
      <div class="right"><i class="el-icon-bell"></i></div>
    </div>
  </div>
</template>

<script>
/**
 * @author: 过飞
 * @createData: 2020年09月14日 13:59:48
 * @version：v1.0
 *
 * @desc: 功能描述
 */
export default {
  name: '',

  components: {},

  mixins: [],

  props: {
    componentData: {
      type: Object,
      default: () => ({})
    }
  },

  data() {
    return {
      searchKey: ''
    }
  },

  computed: {},

  watch: {},

  created() {},

  mounted() {},

  methods: {}
}
</script>
<style lang="scss" scoped>
.header-top-view {
  padding: 10px;
  .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left {
      padding-right: 10px;
    }
    .center {
      flex: 1;
    }
    .right {
      padding-left: 10px;
    }
  }
}
</style>
