<template>
<div class="searchBox">
  <i class="iconfont icon-search"></i>
  <input type="text" class="input">
</div>
</template>

<script>
export default {
  name: "searchBox"
}
</script>

<style scoped lang="less">
.searchBox{
  width: 327px;
  height: 48px;
  background: #F4F5F6;
  border-radius: 8px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  .input{
    border: none;
    outline: none;
    background-color:#F4F5F6;
    width: 240px;
    height: 40px;
  }
  i{
    position: absolute;
    top:15px;
    left:15px;
  }
}
</style>