<template>
  <div class="q-mt-lg">
    <section class="vedio1 section-block">
      <div class="vedio-wrap">
        <div class="vedio">
          <q-video class="iframe" :src="'https://www.youtube.com/embed/'+plugData.VideoId" />
        </div>
      </div>
      <div class="content">
        <!--影片 - 1-->
        <h2 class="block-title">{{plugData.Title}}</h2>
        <p class="block-desc">
          {{plugData.Describe}}
        </p>
      </div>
    </section>
  </div>
</template>

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

</script>

<style>
  @media only screen and (max-width: 1200px) {
    .vedio1>* {
      width: 100% !important;
    }

    .vedio1 .content {
      padding-top: 0px !important;
      padding-left: 0 !important;
      margin: 0 !important;
    }

    .vedio1 .content .block-title {
      margin: 0 !important;
    }
  }

  .vedio1 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 0;
  }

  .vedio1>* {
    position: relative;
    width: 50%;
  }

  .vedio1 .vedio {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
  }

  .vedio1 .vedio .iframe {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    bottom: 0;
  }

  .vedio1 .content {
    padding-left: 40px;
  }

  .vedio1 .content .block-title {
    font-size: 25px;
    margin-bottom: 0px;
    font-weight: 600;
  }

  .vedio1 .content .block-desc {
    line-height: 1.8;
    font-size: 16px;
    color: #666;
  }

</style>
