jiangping
2024-07-29 a3d2fe9dff3b6cd9fa8fdd91e87aac843f694c0f
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,26 +134,24 @@
      }
      .img {
        width: 100%;
        width: 670rpx;
        height: 376rpx;
      }
    }
  }
  .strategy {
    padding: 40rpx 40rpx;
    padding: 80rpx 40rpx;
    background: #F7F7F7;
    .item {
    .item{
      position: relative;
      image {
        width: 100%;
        height: 100%;
        position: absolute;
      }
      text {
      text{
        color: #fff;
        position: absolute;
        bottom: 40rpx;
@@ -135,28 +160,27 @@
        font-weight: 500;
      }
    }
    .line {
      display: flex;
      justify-content: space-between;
      .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;
          }
        }
      }
    }
    .home_id {
      width: 670rpx;
      height: 240rpx;
@@ -234,4 +258,5 @@
    font-weight: bold;
    font-size: 40rpx;
  }
}
}