<template>
  <!--背景圖 - 文右-->
  <div class="q-mt-lg">
    <section class="about2" :style="{backgroundImage:`url('${plugData.ImageUrl}')`}">
      <div class="section-block">
        <div class="about-main">
          <h2 class="about-title"> {{plugData.Title}}</h2>
          <div class="about-content"> {{plugData.Describe}}</div>
        </div>
      </div>
    </section>
  </div>
</template>

<script>
  export default {
    props: ["plugData"],
  };

</script>

<style>
  .about2 {
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .about2 .section-block {
    display: flex;
    justify-content: flex-end;
  }

  .about2::after {
    top: 0;
    left: 0;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    content: "";
    right: 0;
    position: absolute;
    bottom: 0;
  }

  .about2 .about-main {
    position: relative;
    padding: 100px 0;
    z-index: 2;
    width: 50%;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
  }

  .about2 .about-main .about-title {
    margin-bottom: 35px;
    font-size: 38px;
    margin: 0;
    padding: 0;
    line-height: unset;
    font-weight: 600;
  }

  .about2 .about-main .about-content {
    font-size: 16px;
    line-height: 2.1;
    margin: 0;
    padding: 0;
  }

  @media only screen and (max-width: 1200px) {
    .about2 .about-main {
      padding-right: 30px !important;
      padding-left: 30px !important;
      width: 100% !important;
    }
  }

</style>
