<template>
  <div class="search-box">
    <div class="name">教材搜索</div>
     <el-input
      class="input"
      placeholder="请输入内容"
      v-model="input">
      <i slot="prefix" class="el-input__icon el-icon-search"></i>
    </el-input>
    <div class="search-btn">查询</div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      input: ''
    }
  }
}
</script>
<style lang="scss" scoped>
.search-box{
  display: flex;
  justify-content: center;
  align-items: center;
  .input{
    width: 360px;
    border-radius: 4px;
    margin: 0 12px;
  }
  .search-btn{
    text-align: center;
    line-height: 32px;
    width: 60px;
    height: 32px;
    background: linear-gradient(312deg, rgba(192, 21, 64, 0.67) 0%, #C01540 100%);
    border-radius: 4px;
    font-size: 14px;
    color: #FFFFFF;
    cursor: pointer;
  }
}
</style>
