liukangdong
2024-09-29 b2d360d9113b6955287108ca9e90d76a1f3c1419
wechat_jiaxuan/pages/index/index.less
@@ -1,23 +1,86 @@
.container {
  background-color: #f7f7f7;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 100vh;
  .banner_swiper {
    height: 600rpx;
  .banner-bax {
    position: relative;
    width: 100%;
    image {
    margin: 0 auto 0;
    .banner_swiper {
      transition: height 1s;
      height: 100vh;
      width: 100%;
      height: 100%;
      display: block;
      image {
        width: 100%;
        height: 100%;
        display: block;
      }
    }
    .on{
      height: calc(100vh - 300rpx);
    }
  }
  .wxImg {
    width: 54rpx;
    height: 54rpx;
    display: block;
    position: absolute;
    bottom: 50rpx;
    left: 50%;
    z-index: 1;
    margin-left: -27rpx;
  }
  .consult_swiper {
    width: 100%;
    image {
      width: 100%;
      width: 670rpx;
      height: 376rpx;
    }
    .scroll_text {
      height: 100rpx;
      width: 670rpx;
      white-space: nowrap;
      overflow: hidden; //文本超出隐藏
      text-overflow: ellipsis;
      padding-top: 22rpx;
      font-size: 32rpx;
    }
    .wx-swiper-dots.wx-swiper-dots-horizontal {
      position: absolute;
      right: 0;
      bottom: 0rpx;
    }
    /* 指示点的样式 */
    .wx-swiper-dots .wx-swiper-dot {
      width: 60rpx;
      height: 4rpx;
      background: #f4f4f4;
      margin-left: -16rpx;
      border-radius: 5rpx;
    }
    .wx-swiper-dot.wx-swiper-dot-active {
      background: #666666;
    }
  }
  .consult_wrap {
    height: 476rpx;
    .wx-swiper-dots.wx-swiper-dots-horizontal {
      position: absolute;
      right: 0;
      bottom: 10rpx;
    }
  }
@@ -26,7 +89,7 @@
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60rpx 0;
    padding: 0 0 60rpx;
    background-color: #fff;
    .logo {
@@ -39,6 +102,7 @@
    right: 28rpx;
    bottom: 60rpx;
    width: 146rpx;
    height: 146rpx;
  }
  .function_wrap {
@@ -82,7 +146,7 @@
  // 产品视频
  .product_video {
    padding: 72rpx 40rpx;
    padding: 34rpx 40rpx 44rpx;
    background-color: #fff;
    .video_wrap {
@@ -91,6 +155,7 @@
      .play {
        width: 60rpx;
        height: 60rpx;
        position: absolute;
        top: 50%;
        left: 50%;
@@ -99,14 +164,19 @@
      }
      .img {
        width: 100%;
        width: 670rpx;
        height: 376rpx;
      }
    }
    video {
      width: 100%;
    }
  }
  .strategy {
    padding: 80rpx 40rpx;
    padding: 44rpx 40rpx;
    background: #F7F7F7;
    .item {
@@ -134,16 +204,16 @@
      .line_left {
        width: 324rpx;
        height: 304rpx;
        height: 340rpx;
      }
      .line_right {
        .item {
          width: 322rpx;
          height: 140rpx;
          height: 160rpx;
          &:nth-last-child(1) {
            margin-top: 24rpx;
            margin-top: 20rpx;
          }
        }
      }
@@ -158,7 +228,7 @@
  // 咨询
  .consult {
    padding: 80rpx 40rpx 60rpx;
    padding: 44rpx 40rpx;
    background: #fff;
  }
@@ -176,14 +246,15 @@
    .left {
      font-weight: 600;
      font-size: 36rpx;
      font-size: 34rpx;
      color: #111111;
      line-height: 50rpx;
      line-height: 34rpx;
      flex: 1;
      .name {
        display: flex;
        align-items: center;
        margin-bottom: 10rpx;
        .icon {
          width: 36rpx;
@@ -207,6 +278,15 @@
  }
}
.auth {
  background-color: #fff;
}
.home_title {
  font-weight: 600;
  font-size: 38rpx;
}
.top-head-transparent {
  background-color: transparent !important;