aa
jiangping
2024-08-02 7dc29ed74ebaa8a0e66f68264d9a13f95dc3af21
wechat_jiaxuan/pages/index/index.less
@@ -1,6 +1,7 @@
.container {
  background-color: #f7f7f7;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 100vh;
  .banner_swiper {
@@ -17,16 +18,42 @@
  .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: 20rpx;
      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;
    }
  }
@@ -55,7 +82,6 @@
    justify-content: space-between;
    background-color: #fff;
    padding: 40rpx;
    .item {
      width: 214rpx;
      height: 232rpx;
@@ -90,15 +116,15 @@
  // 产品视频
  .product_video {
    padding: 40rpx 40rpx;
    padding: 34rpx 40rpx 44rpx;
    background-color: #fff;
    .video_wrap {
      width: 670rpx;
      position: relative;
      .play {
        width: 60rpx;
        height: 60rpx;
        position: absolute;
        top: 50%;
        left: 50%;
@@ -107,14 +133,18 @@
      }
      .img {
        width: 100%;
        width: 670rpx;
        height: 376rpx;
      }
    }
    video{
      width: 100%;
    }
  }
  .strategy {
    padding: 80rpx 40rpx;
    padding: 44rpx 40rpx;
    background: #F7F7F7;
    .item{
      position: relative;
@@ -162,7 +192,7 @@
  // 咨询
  .consult {
    padding: 40rpx 40rpx 60rpx;
    padding: 44rpx 40rpx;
    background: #fff;
  }
@@ -177,7 +207,6 @@
    align-items: center;
    width: 670rpx;
    margin-bottom: 42rpx;
    .left {
      font-weight: 600;
      font-size: 34rpx;
@@ -230,4 +259,5 @@
    font-weight: bold;
    font-size: 40rpx;
  }
}
}