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

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

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

    .cont {
      margin-left: 3.166667rem;

      .logo-wrap {
        padding: 1.75rem 0;

        .logo-img {
          cursor: pointer;
        }
      }

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

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

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

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

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

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

        }

        // 导航
        .nav {
          flex: 1;
          display: flex;

          .nav-v {
            // margin: 0 5.2rem;
          }

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

        .public {
          width: 6.25rem;
          text-align: center;
          margin-right: 3rem;

          .qrcode {
            margin-top: .75rem;
          }

        }

        // 公共组件
        .n-item {
          margin-bottom: 1.416667rem;
          color: rgba(179, 177, 168, 0.5);

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

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

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

  }
}

@media (max-width: 950px) {
  .v-footer {
    .footer-containter {
      .cont {
        .info {
          display: block;

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

            .nav-v {
              // margin: 0 1.6rem 0 0;
              width: 100%;
            }

            .n-item{
              min-width: 0;
            }
          }

          .focus {
            margin-top: 2rem;
            text-align: left;
          }
        }

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

      }
    }
  }

}