liukangdong
2024-08-02 52787adceb282c1914589c7ceb252bdb03e2df36
wechat_staff/pages/detailDis/product.less
@@ -40,35 +40,79 @@
    color: #fff;
  }
}
.main_app{
  padding-bottom: 160rpx;
}
page {
  background-color: #f7f7f7;
}
.swiper_wrap{
  position: relative;
  .indicator{
    position: absolute;
    right: 40rpx;
    bottom: 40rpx;
    width: 80rpx;
    height: 40rpx;
    text-align: center;
    line-height: 40rpx;
    background: rgba(0,0,0,0.4);
    border-radius: 21rpx;
    color: #fff;
    font-size: 24rpx;
    z-index: 999;
    z-index: 99;
  }
}
.banner_swiper{
  image{
    width: 100%;
  }
}
.main_content {
  position: relative;
  bottom: 14rpx;
  padding: 52rpx 40rpx 40rpx;
  border-radius: 16rpx 16rpx 0rpx 0rpx;
  background-color: #fff;
  margin-bottom: 20rpx;
  .title {
    font-weight: 500;
    font-size: 36rpx;
    margin-bottom: 16rpx;
    overflow: hidden;
    text-overflow: ellipsis;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  .desc {
    line-height: 40rpx;
    font-size: 26rpx;
    color: #555555;
    margin: 16rpx 0 26rpx;
    margin-bottom: 26rpx;
  }
  .text {
  .text {
    line-height: 48rpx;
    font-size: 26rpx;
    color: #555555;
    margin-bottom: 40rpx;
  }
}
.spaceList{
  .item{
    .name{
      font-weight: 600;
      font-size: 36rpx;
      color: #111111;
    }
    .img{
      width: 100%;
    }
  }
}
.counselor {
  width: 670rpx;
  padding: 0 0 0 30rpx;
@@ -121,18 +165,52 @@
    font-size: 36rpx;
    margin-bottom: 32rpx;
  }
  video {
  .img_wrap{
    width: 100%;
    border: 1px solid;
    border-radius: 8rpx;
    position: relative;
    .img{
      width: 100%;
      height: 376rpx;
    }
    .play{
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 136rpx;
      height: 58rpx;
      line-height: 56rpx;
      text-align: center;
      background: rgba(0,0,0,0.54);
      border-radius: 30rpx;
      font-size: 26rpx;
      color: rgba(255,255,255,0.8);
      display: flex;
      align-items: center;
      justify-content: center;
      .icon{
        width: 14rpx;
        height: 16rpx;
        margin-left: 14rpx;
      }
    }
  }
}
.detail {
  padding: 52rpx 40rpx 40rpx;
  background-color: #fff;
  .fold{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 84rpx;
    margin-top: 20rpx;
    .icon{
      margin-left: 12rpx;
    }
  }
  .title {
    font-weight: 600;
    font-size: 36rpx;
@@ -141,15 +219,17 @@
  .line {
    display: flex;
    height: 62rpx;
    margin-bottom: 24rpx;
    padding: 24rpx 0 26rpx;
    border-bottom: 1rpx dashed #E5E5E5;
    .label {
      width: 120rpx;
      font-size: 24rpx;
      color: #666666;
      flex-shrink: 0;
    }
    .val {
      flex: 1;
      font-size: 24rpx;
      color: #333333;
    }
@@ -167,6 +247,10 @@
    display: flex;
    align-items: center;
    height: 100rpx;
    .btn{
      padding: 0;
      margin-top: 16rpx;
    }
  }
  .sub_btn {
    display: flex;
@@ -178,7 +262,6 @@
    font-weight: 500;
    color: #FFFFFF;
    font-style: 28rpx;
    box-shadow: 0rpx 4rpx 16rpx 0rpx rgba(176,135,113,0.3), inset 0rpx 2rpx 2rpx 0rpx rgba(255,255,255,0.33);
    border-radius: 8rpx;
    .sheji{
      width: 28rpx;
@@ -195,6 +278,7 @@
    margin-right: 48rpx;
    .icon {
      width: 44rpx;
      height: 44rpx;
    }
  }
}