aa
jiangping
2024-08-02 7dc29ed74ebaa8a0e66f68264d9a13f95dc3af21
wechat_jiaxuan/pages/detailDis/product.less
@@ -7,7 +7,6 @@
  padding: 0 30rpx;
  display: flex;
  align-items: center;
  .content {
    flex: 1;
@@ -24,6 +23,7 @@
  .avatar {
    width: 80rpx;
    height: 80rpx;
    border-radius: 50%;
    margin-right: 24rpx;
  }
@@ -40,33 +40,81 @@
    color: #fff;
  }
}
.container{
  padding-bottom: 200rpx;
  padding-top: 148rpx;
}
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%;
  }
}
.share_btn{
  position: fixed;
  bottom: 16rpx;
  left: 40rpx;
  width: 670rpx;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 72rpx;
  flex: 1;
  background-color: var(--themeColor);
  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;
}
.main_content {
  position: relative;
  bottom: 14rpx;
  padding: 52rpx 40rpx 40rpx;
  border-radius: 16rpx 16rpx 0rpx 0rpx;
  background-color: #fff;
  margin-bottom: 20rpx;
  overflow: hidden;
  .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: 36rpx;
    font-size: 26rpx;
    color: #555555;
    margin-bottom: 26rpx;
  }
  .text {
  .text {
    line-height: 36rpx;
    font-size: 26rpx;
    color: #555555;
    margin-bottom: 40rpx;
@@ -142,6 +190,7 @@
    position: relative;
    .img{
      width: 100%;
      height: 376rpx;
    }
    .play{
      position: absolute;
@@ -156,6 +205,14 @@
      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;
      }
    }
  }
}
@@ -163,7 +220,16 @@
.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;
@@ -172,13 +238,13 @@
  .line {
    display: flex;
    height: 32rpx;
    margin-bottom: 24rpx;
    padding: 24rpx 0 26rpx;
    border-bottom: 1rpx dashed #E5E5E5;
    .label {
      width: 120rpx;
      font-size: 24rpx;
      color: #666666;
      flex-shrink: 0;
    }
    .val {
@@ -215,7 +281,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;
@@ -232,6 +297,7 @@
    margin-right: 48rpx;
    .icon {
      width: 44rpx;
      height: 44rpx;
    }
  }
}