liukangdong
2024-07-29 86fc8bbb09df7bbeb50fa714ff8bb4aea85ffef5
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,41 @@
  .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: -15rpx;
      border-radius: 5rpx;
    }
    .wx-swiper-dot.wx-swiper-dot-active {
      background: #666666;
    }
  }
  .consult_wrap{
    .wx-swiper-dots.wx-swiper-dots-horizontal {
      position: absolute;
      right: 0;
      bottom: 10rpx;
    }
  }
@@ -99,6 +125,7 @@
      .play {
        width: 60rpx;
        height: 60rpx;
        position: absolute;
        top: 50%;
        left: 50%;
@@ -107,7 +134,8 @@
      }
      .img {
        width: 100%;
        width: 670rpx;
        height: 376rpx;
      }
    }
@@ -230,4 +258,5 @@
    font-weight: bold;
    font-size: 40rpx;
  }
}
}