<template>
  <!--背景圖 - 文中-->
  <div class="q-mt-lg">
    <section class="about3" :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>
  .about3 {
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .about3 .section-block {
    display: flex;
    justify-content: center;
  }

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

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

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

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

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

</style>
