footer.scss 3.91 KB
@import '@/styles/_support.scss';

.v-footer {
  color: #ffffff;
  background-color: #2e2b2a;
  font-size: $fontSize;

  .footer-containter {
    margin: 0 auto;
    max-width: 1200px;

    .cont {
      .logo-wrap {
        padding: 26px 0;

        .logo-img {
          cursor: pointer;
        }
      }

      .line {
        width: 100%;
        height: 1px;
        opacity: 0.2;
        background-color: #ffffff;
      }

      // 信息
      .info {
        padding: 2rem 0 2rem;
        display: flex;

        // 热线
        .hotline {
          min-width: 24.5rem;

          .contact {
            .n-item {
              margin-bottom: 0.6rem;
            }

            .phone {
              color: $cOrange;
              font-size: $fontSizeTitle;
              font-weight: bold;
            }

            &:first-child {
              margin-bottom: 2rem;
            }
          }
        }

        // 导航
        .nav {
          display: flex;

          .nav-v {}

          .n-item {
            cursor: pointer;
            min-width: 14.75rem;
          }
        }

        .nav2 {
          display: none;
        }

        // 公众号
        .public {
          position: relative;
          text-align: left;
          margin-left: 5.32rem;

          .qrcode-wrap {
            text-align: center;
            margin-top: 0.3rem;


            .qrcode {
              width: 100px;
            }

            .c1 {
              margin-top: 0.3rem;
            }
          }

          .icon {
            margin-top: .75rem;
            margin-right: 1rem;
            display: inline-block;
          }
        }

        // 公共组件
        .n-item {
          margin-bottom: 2rem;
          padding-right: 3rem ;
          color: #dcdddd;

          &:first-child {
            margin-bottom: 32px;
          }

          &:last-child {
            margin-bottom: 0;
          }
        }
      }

      // 版权
      .copyright {
        color: rgba(179, 177, 168, 0.5);
        padding: 1.5rem 0;
        line-height: 1.58;
        font-size: $fontSizeSmall;
      }
    }

  }
}


@media (max-width: 1200px) {
  .v-footer {
    @include content-percent();

    .footer-containter {
      .cont {
        .info {
          display: block;

          .hotline {}

          .nav {
            margin-top: 2rem;
            display: flex;

            .nav-v {
              width: 100%;
            }

            .n-item {
              min-width: 0;
              margin-right: 0;
              padding-right: 10px;
            }
          }

          .nav2 {
            display: none;
          }

          .public {
            margin: 0;
            margin-top: 3rem;
            text-align: left;
            min-height: 12rem;
          }
        }

        .copyright {
          box-sizing: border-box;
          padding-right: 2rem;
        }
      }
    }
  }
}

@media (max-width: 768px) {
  .v-footer {
    font-size: $fontSizeSmall-M;

    .footer-containter {
      .cont {
        .info {
          display: flex;
          justify-content: space-between;

          .hotline {
            min-width: 0;

            .phone {
              font-size: $fontSizeSmall-M !important;
              font-weight: bold !important;
            }
          }

          .nav {
            display: none;
            margin-top: 0;

            .nav-v {}

            .n-item {}
          }

          .nav2 {
            display: block;
          }

          .public {
            margin: 0;
            min-width: 9rem;

            .qrcode-wrap {
              img {
                width: 7rem;
              }

              .c1 {
                display: none;
              }
            }
          }

          // 公共组件
          .n-item {
            margin-bottom: 2rem;

            &:first-child {
              margin-bottom: 2rem;
            }
          }
        }

        .copyright {}
      }
    }
  }

}