index.scss 4.94 KB
@import '@/styles/_support.scss';

.page {}

.top-space {
  height: 27px;
}

.box {
  position: relative;
  margin-top: $marginMedium;
}

// banner 轮播
.banner-contaner {
  width: 100%;
  // height: 502px;
  height: 470px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

// PC轮播
.banner-pc {
  display: block;
  position: absolute;
  z-index: 1;
  left: 50%;
  margin-left: -960px;
  top: 0;
  width: 1920px;
  overflow: hidden;

  .banner-img {
    width: 100%;
    height: 100%;
  }

  .btn-wrap {
    position: absolute;
    z-index: 2;
    // 两个banner图按钮位置不一样,和原先约定的按钮位置固定不一致
    // 如要调整位置,请调整top,right。如需要右对齐请使用right
    // 已用padding适应文本过长的情况(英文等);
    // top: 272px;
    // left: 1228px;
    // top: 310px;
    top: 309px;
    left: 466px;
    display: flex;

    .banner-btn {
      @extend .pointer;
      @extend .bb;
      @include btc4(300px, 50px, $fontSizeTitle);
      font-size: 22px;
      width: auto;
      padding: 0 24px;
      min-width: 288px;
      margin-left: 12px;
      background: url("~@assets/images/vhis/vhis-btn.png");

    }

    .banner-btn:lang(zh) {
      letter-spacing: 1.5px;
    }
  }
}

// 移动端轮播
.banner-mobile {
  display: none;

  .banner-img {
    width: 100%;
  }

  .btn-wrap {
    position: absolute;
    z-index: 1;
    top: 87%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;

    .banner-btn {
      @extend .pointer;
      padding: 0 12px;
      color: $cOrange2;
    }
  }
}

// 导航菜单切换
.nav-tab {
  min-height: 100px;
  display: flex;
  font-size: 22px;
  text-align: center;
  font-weight: bold;
  color: $cOrange2;

  width: 1200px;
  margin: 0 auto;

  &-item {
    @extend .fcc;
    border-right: solid 2px #ffffff;
    cursor: pointer;
    color: #ff6839;
    background-color: #fff1ed;

    &:last-child {
      border-right: none;
    }
  }

  &-item-act {
    color: #ffffff;
    @include linear-bg();
  }
}

// 推荐 为什么选择平安人寿
.recommend {
  margin: 100px auto 0;
  text-align: center;
  position: relative;

  .tit {
    color: $cOrange2;
    font-size: 36px;
    font-weight: bold;
  }

  .features {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 44px auto 0;

    &-item {
      position: relative;
      text-align: center;
      font-size: 22px;
      width: 316px;

      .icon {
        @extend .fcc;
        height: 164px;
        text-align: center;
      }

      .desc {
        margin-top: 16px;
      }
    }
  }

  .contact-tips {
    position: absolute;
    bottom: 0;
    right: 0;
    @include linear-bg();
    @extend .fcc;
    padding: 0 24px;
    height: 52px;
    border-radius: 26px;
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;

    .icon {
      background-image: url('~@/assets/images/index/icon-contact-tips.png');
      @extend .bis;
      width: 35px;
      height: 31px;
      margin-top: 4px;
      margin-right: 10px;
    }
  }
}

// 线上报价
.quote {
  background: url('~@/assets/images/index/index-quote-bg-temp.png') center no-repeat;
  width: 100%;
  height: 1482px;
  ;
  overflow: hidden;
  margin: 52px auto 0;
}

// 联系我们表单
.contact {
  position: relative;
  background-color: #eff0f0;
  padding-top: 100px;

  .panel {
    display: flex;

    .panel-left {
      .t1 {
        font-size: 36px;
        color: $cOrange2;
        font-weight: bold;

        &:lang(zh) {
          letter-spacing: 1.8px;
        }
      }

      .t2{
        margin-top: 50px;
        font-size: 24px;
        font-weight: bold;
      }

      .pic-mobile{
        margin-top: 248px;
      }
    }

    .panel-right {
      @extend .bb;
      flex: 1;
      padding-left: 40px;
      .form{
        width: 100%;
        // height: 600px;
        // background-color: wheat;
      }
    }
  }
}

.swiper-button-prev {
  background-image: url('~@/assets/images/common/button-prev.png');
  left: 360px;
}

.swiper-button-next {
  background-image: url('~@/assets/images/common/button-next.png');
  right: 360px;
}

.swiper-container {
  height: 100%;
}

.swiper-pagination-fraction,
.swiper-pagination-custom,
.swiper-container-horizontal>.swiper-pagination-bullets {
  bottom: 48px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #dcdddd;
}

.swiper-pagination-bullet-active {
  width: 12px;
  height: 12px;
  background-color: $cOrange;
}

.box-shadow {
  box-shadow: 0 0 18px 0 rgba(255, 87, 0, 0.15);
}

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

}


@media (max-width: 768px) {
  .content {}

  .banner-contaner {
    height: auto;
  }

  .banner-pc {
    display: none;
  }

  .banner-mobile {
    display: block;
  }

  .swiper-pagination-fraction,
  .swiper-pagination-custom,
  .swiper-container-horizontal>.swiper-pagination-bullets {
    bottom: 2px;
  }

}