liukangdong
2024-07-18 5b219a9694c8d69db42e746a654c779cc6a61bf6
wechat_jiaxuan/components/disProduct/index.less
@@ -131,17 +131,16 @@
      justify-content: space-between;
      padding: 12rpx 40rpx;
      .item{
        width: 50%;
        flex-shrink: 0;
        margin-bottom: 32rpx;
        .img_wrap{
          width: 242rpx;
          height: 136rpx;
          border-radius: 8rpx;
          overflow: hidden;
          position: relative;
          .img{
            width: 100%;
            height: 100%;
          }
          .new{
            width: 72rpx;
@@ -153,6 +152,10 @@
        }
        .name{
          margin: 12rpx 0 8rpx;
          display: -webkit-box;//将盒子转换为弹性盒子
          -webkit-box-orient: vertical;//文本显示方式,默认水平
          -webkit-line-clamp: 1;//设置显示多少行
          overflow: hidden;
        }
        .info{
          display: flex;