footer.scss 4.58 KB
@import "@/styles/_support.scss";

.v-footer {
  color: $cFontGray2;
  background-color: #d1d2d3;
  font-size: $fontSize-M2;

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

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

        .logo-img {
          cursor: pointer;
        }
      }

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

      // 信息
      .info {
        padding: 100px 0 20px;
        display: flex;
        justify-content: space-between;

        // 热线 左边菜单
        .hotline {
          @extend .bb;
          // min-width: 500px;
          width: 500px;
          padding-right: 24px;

          &-tit {
            font-weight: bold;
            margin-bottom: 12px;
            color: #000000;
          }

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

            .phone {
              color: $cOrange2;
              font-weight: bold;
              font-size: 30px;
            }

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

          .server-time {
          }

          .contact-us {
            margin-top: 36px;
            .tit {
              color: #000000;
            }
          }

          .email {
            margin-top: 36px;
          }
        }

        // 导航 中间菜单 PC
        .nav {
          display: flex;

          .nav-v {
            .n-item {
              cursor: pointer;
              @extend .bb;
              width: 200px;
              padding-right: 12px;
              margin-bottom: 12px;
            }
          }
        }

        // 导航 中间菜单 mobile
        .nav2 {
          display: none;
        }

        // 公众号 右边菜单
        .public {
          position: relative;
          text-align: left;

          .tit {
            margin-bottom: 24px;
          }

          .icon-wrap {
            position: relative;
          }

          .qrcode-wrap {
            position: absolute;
            text-align: center;
            left: 0;
            top: 60px;

            .qrcode {
              width: 100px;
            }

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

          .icon {
            margin-right: 27px;
            display: inline-block;
            margin-bottom: 24px;
            &:last-child {
              margin-right: 0;
            }
          }
        }

        // 公共组件
        .n-item {
          // &:last-child {
          //   margin-bottom: 0;
          // }
        }
        .n-item-tit {
          color: #000000;
          cursor: default !important;
        }
      }

      // 版权
      .copyright {
        padding: 52px 0 60px;
        line-height: 1.58;
      }
    }
  }
}

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

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

    .footer-containter {
      .cont {
        .info {
          // display: block;
          display: flex;
          flex-wrap: wrap;

          .hotline {
            width: auto;
          }

          .nav {
            margin-top: 24px;
          }

          .nav2 {
            margin-top: 24px;
          }

          .public {
            margin-top: 24px;
          }
        }

        .copyright {
        }
      }
    }
  }
}

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

    .footer-containter {
      .cont {
        .info {
          display: block;
          padding: 32px 0 12px;

          .hotline {

            .contact {
              .phone {
                font-size: $fontSizeTitleMb;
              }
            }
          }

          .nav {
            display: none;

            .nav-v {
              
              .n-item {
                width: auto;
                margin-right: 24px;
              }
            }

            .n-item {
            }
          }

          .nav2 {
            // display: block;
            display: flex;
          }

          .public {
            .qrcode-wrap {
              top: 40px;

              img {
                width: 84px;
              }

              .c1 {
                display: none;
              }
            }

            .icon {
              width: 32px;
            }
          }

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

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

        .copyright {
          padding: 32px 0;
        }
      }
    }
  }
}