<template>
  <div class="q-mt-md">
    <section class="qrcode2 section-block">
      <div class="content">
        <h2 class="block-title">{{plugData.Title}}</h2>
        <p class="title-teaser">
          {{plugData.Describe}}
        </p>
      </div>
      <a target="_blank" class="img">
        <img :src="plugData.LinkImg1" :alt="plugData.TripTitle1" />
      </a>
      <a target="_blank" class="img">
        <img :src="plugData.LinkImg2" :alt="plugData.TripTitle2" />
      </a>
    </section>
  </div>
</template>

<script>
  export default {
    props: ["plugData"],
    mounted() {},
    methods: {}
  };

</script>
<style>
  .qrcode2 {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .qrcode2 .img {
    display: block;
    margin-right: 20px;
    width: 180px;
  }

  a {
    text-decoration: none;
    color: var(--q-color-primary);
  }

  .qrcode2 .img img {
    display: block;
    width: 100%;
    border: 0;
    margin: 0;
  }

  .qrcode2 .content {
    width: calc(100% - 400px);
    padding-right: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
  }

  .qrcode2 .block-title {
    font-size: 22px;
    font-weight: 600;
    padding: 0;
    margin: 0;
    line-height: unset;
  }

  .qrcode2 .title-teaser {
    margin-bottom: 10px;
    font-size: 16px;
    color: #999;
  }

  @media only screen and (max-width: 800px) {
    .qrcode2 {
      padding: 20px !important;
      flex-wrap: wrap !important;
      justify-content: center !important;
    }
  }

  @media only screen and (max-width: 768px) {
    .qrcode2 .content {
      padding-right: 0 !important;
      width: 100% !important;
      padding-bottom: 20px !important;
      text-align: center !important;
    }
  }

  @media only screen and (max-width: 480px) {
    .qrcode2 .img {
      width: calc(50% - 20px) !important;
    }
  }

</style>
