mpVideo.scss 2.55 KB
.video-ctnr {
  height: 500rpx;
  position: relative;
  .pic-swiper{
    width: 100%;
    height: 100%;
    .pic-swiper-item{
        display: flex;
        align-items: center;
        position: unset;
    }
   }
   .num-wrap{
        height: 40rpx;
        line-height: 40rpx;
        background: rgba(255,255,255,0.3);
        padding: 0 15rpx;
        border-radius: 20rpx;
        text-align: center;
       top: 20rpx;
       right: 20rpx;
       position: absolute;
       color: #fff;
   }
  .pic-wrap {
    display: flex;
    align-items: center;
    background-color: #000;
    position: relative;
  }
  .video-item {
    height: 100%;
    width: 100%;
  }
}
.prod{
    width: 436rpx;
    height: 208rpx;
    border-radius: 16rpx;
    position: fixed;
    left: 24rpx;
    bottom: 200rpx;
    z-index: 2;
    background-color: #fff;
    .title{
        background-image: linear-gradient(-88deg, #FFBDC2 8%, #FFD7E2 98%);
        height: 44rpx;
        border-radius: 16rpx 16rpx 0 0;
        line-height: 44rpx;
        padding-left: 15rpx;
        color: #FF535E;
        font-size: 20rpx;
    }
    .info{
        padding: 12rpx;
        display: flex;
        .img{
            height: 140rpx;
            width: 140rpx;
            margin-right: 16rpx;
            border-radius: 8rpx;
        }
        .detail{
            flex: 1;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            .name{
                font-size: 18rpx;
                height: 55rpx;
                display: -webkit-box;
                overflow: hidden;
                text-overflow: ellipsis;
                word-wrap: break-word;
                white-space: normal !important;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
            }
            .price{
                font-size: 26rpx;
                color: #EC4B0F;
                margin-bottom: 4rpx;
            }
            .real-price{
                font-size: 18rpx;
                text-decoration: line-through;
            }
            .btn{
                position: absolute;
                width: 100rpx;
                line-height: 40rpx;
                text-align: center;
                color: #fff;
                height: 40rpx;
                font-size: 20rpx;
                background-image: linear-gradient(-88deg, #FF1261 8%, #FF5C5D 98%);
                border-radius: 32rpx;
                bottom: 0;
                right: 0;
            }
        }
    }
}