<template>
  <div class="banner  wow animate__animated animate__fadeIn">
    <div class="title wow animate__animated animate__fadeInLeft">
      <div class="img-container">
        <img src="@/assets/imgs/list/ding.png" alt="" srcset="" />
      </div>
      <div class="text">{{ title }}</div>
    </div>
  </div>
</template>

<script>
export default {
  name: "ListBanner",
  props: {
    title: {
      type: String,
      default: "标题",
    },
  },
};
</script>

<style lang='scss' scoped>
.banner {
  width: 100%;
  height: 222px;
  background-image: url("@/assets/imgs/list/banner.png");
  background-size:100% 100%;
  display: flex;
  align-items: center;
  .title {
    padding: 0 13%;
    display: flex;
    align-items: flex-end;
    .img-container {
      width: 78px;
      height: 78px;
      margin-right: 26px;
      img {
        width: 100%;
        height: 100%;
      }
    }
    .text {
      font-size: 42px;
      font-family: "Alibaba-PuHuiTi";
      font-weight: 400;
      color: #2069c4;
    }
  }
}
</style>