footer.scss 3.86 KB


.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: 24px 0 24px;
        display: flex;

        // 热线
        .hotline {
          min-width: 294px;

          .contact {
            .n-item {
              margin-bottom: 7.2px;
            }

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

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

        // 导航
        .nav {
          display: flex;

          .nav-v {}

          .n-item {
            cursor: pointer;
            min-width: 177px;
          }
        }

        .nav2 {
          display: none;
        }

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

          .qrcode-wrap {
            text-align: center;
            margin-top: 3.6px;


            .qrcode {
              width: 100px;
            }

            .c1 {
              margin-top: 3.6px;
            }
          }

          .icon {
            margin-top: 9px;
            margin-right: 12px;
            display: inline-block;
          }
        }

        // 公共组件
        .n-item {
          margin-bottom: 24px;
          padding-right: 36px;
          color: #dcdddd;

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

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

      // 版权
      .copyright {
        color: rgba(179, 177, 168, 0.5);
        padding: 18px 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: 24px;
            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: 36px;
            text-align: left;
            min-height: 144px;
          }
        }

        .copyright {
          box-sizing: border-box;
          padding-right: 24px;
        }
      }
    }
  }
}

@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: 108px;

            .qrcode-wrap {
              img {
                width: 84px;
              }

              .c1 {
                display: none;
              }
            }
          }

          // 公共组件
          .n-item {
            margin-bottom: 24px;

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

        .copyright {}
      }
    }
  }

}