<template>
  <div class="page">
    <div class="page-top">
      <div class="club-info">
        <img
          class="logo"
          src="https://static.caimei365.com/www/authentic/pc/ldm-logo-circle.png"
        />
        <div class="name">德国WELLCOMET LDM<sup>®</sup></div>
      </div>
    </div>
    <div class="page-content">
      <div class="info">
        <div class="title">
          德国LDM<sup>®</sup>带您开启非入侵式护肤美容新时代
        </div>
        <div class="subtitle">
          Bring you into a new era <br />
          of high-tech non-invasive beauty care
        </div>
      </div>
      <div class="entry">
        <nuxt-link class="section" to="/ldm/approve/club"
          >查询授权商家</nuxt-link
        >
        <nuxt-link class="section" to="/ldm/approve/personnel/training"
          >查询官方培训师</nuxt-link
        >
      </div>
    </div>
    <div class="page-footer flex flex-col justify-center">
      <div class="name mb-1">需要帮助吗？</div>
      <div class="contact">联系我们 +86 1382160616</div>
    </div>
  </div>
</template>

<script>
export default {
  layout: 'app-ldm',
}
</script>

<style scoped lang="scss">
@media screen and (min-width: 768px) {
  .page-top {
    position: relative;
    height: 750px;
    background: url(https://static.caimei365.com/www/authentic/pc/ldm-bg-approve.png)
      no-repeat center;
    background-size: auto 596px;
    background-position-y: top;

    .club-info {
      width: 100%;
      position: absolute;
      bottom: 0;
      text-align: center;
      .logo {
        display: block;
        width: 158px;
        height: 158px;
        margin: 0 auto;
        border-radius: 50%;
        box-shadow: 0 4px 9px rgba(0, 0, 0, 0.34);
      }
      .name {
        font-size: 40px;
        font-weight: bold;
        color: #000000;
        margin-top: 21px;
      }
    }
  }

  .page-content {
    min-height: calc(100vh - 750px - 100px);
    .info {
      padding: 81px;
      .title {
        font-size: 27px;
        color: #000;
        text-align: center;
        margin-bottom: 34px;
        font-weight: bold;
      }
      .subtitle {
        text-align: center;
        margin: 0 auto;
        font-size: 20px;
        color: #221815;
        text-transform: uppercase;
      }
    }

    .entry {
      text-align: center;
      margin-bottom: 169px;
      .section {
        display: inline-block;
        width: 291px;
        height: 76px;
        background: #000000;
        color: #fff;
        text-align: center;
        line-height: 76px;
        font-size: 24px;
        cursor: pointer;

        &:first-child {
          margin-right: 197px;
        }
      }
    }
  }
  .page-footer {
    position: relative;
    height: 100px;
    padding-left: 194px;
    background: linear-gradient(to bottom, #f1f1f1, #fdfdfd, #f1f1f1);
    .name {
      font-size: 24px;
      color: #9d9d9d;
    }
    .contact {
      font-size: 19px;
      color: #9d9d9d;
    }
    &::before {
      position: absolute;
      left: 120px;
      top: 50%;
      transform: translateY(-50%);
      content: '';
      display: block;
      width: 56px;
      height: 56px;
      background: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-contact1.png)
        no-repeat center;
      background-size: 56px auto;
    }
  }
}

@media screen and (max-width: 768px) {
  .page-top {
    position: relative;
    height: 83vw;
    background: url(https://static.caimei365.com/www/authentic/h5/ldm-bg-approve.png)
      no-repeat;
    background-size: auto 59.6vw;
    background-position-y: top;

    .club-info {
      width: 100%;
      position: absolute;
      bottom: 0;
      text-align: center;
      .logo {
        display: block;
        width: 29.5vw;
        height: 29.5vw;
        margin: 0 auto;
        border-radius: 50%;
        box-shadow: 0 0.4vw 0.9vw rgba(0, 0, 0, 0.34);
      }
      .name {
        font-size: 4vw;
        font-weight: bold;
        color: #000000;
        margin-top: 3.7vw;
      }
    }
  }

  .page-content {
    min-height: calc(100vh - 83vw - 15.4vw);
    .info {
      padding: 22vw 2.4vw;
      .title {
        font-size: 4vw;
        color: #000;
        text-align: center;
        margin-bottom: 5.1vw;
        font-weight: bold;
      }
      .subtitle {
        text-align: center;
        margin: 0 auto;
        font-size: 3vw;
        color: #221815;
        text-transform: uppercase;
      }
    }

    .entry {
      .section {
        display: block;
        width: 62.8vw;
        height: 11.4vw;
        background: #000000;
        color: #fff;
        text-align: center;
        line-height: 11.4vw;
        margin: 0 auto;
        margin-bottom: 3.7vw;
        font-size: 3.5vw;
      }
    }
  }
  .page-footer {
    position: relative;
    height: 15.4vw;
    padding-left: 12.5vw;
    background: linear-gradient(to bottom, #f1f1f1, #fdfdfd, #f1f1f1);
    .name {
      font-size: 3.2vw;
      color: #9d9d9d;
    }
    .contact {
      font-size: 2.6vw;
      color: #9d9d9d;
    }
    &::before {
      position: absolute;
      left: 2.4vw;
      top: 50%;
      transform: translateY(-50%);
      content: '';
      display: block;
      width: 7.5vw;
      height: 7.5vw;
      background: url(https://static.caimei365.com/www/authentic/h5/ldm-icon-contact1.png)
        no-repeat center;
      background-size: 7.4vw auto;
    }
  }
}
</style>
