<template>
  <div class="q-mt-md">
    <section class="qrcode1 section-block">
      <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>
      <div class="content">
        <h2 class="block-title">{{plugData.Title}}</h2>
        <p class="title-teaser">
          {{plugData.Describe}}
        </p>
      </div>
    </section>
  </div>
</template>

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

</script>
<style>
  .qrcode1 {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

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

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

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

  .qrcode1 .content {
    padding-left: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
  }

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

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

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

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

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

</style>
