goodsVideo.scss 2.99 KB
/* packageShopmall/packageMall/pages/goodsVideo/goodsVideo.wxss */
.bar-text {
    font-weight: 600;
    font-size: 34rpx;
    color: #fff;
}

.nav-func-icon {
    width: 44rpx;
    height: 44rpx;
    position: absolute;
    left: 16rpx;
    top: 50%;
    transform: translateY(-50%);
}
.video-ctnr{
    height: 100vh;
    position: relative;
    overflow: hidden;
    .my-video{
        height: 100%;
        width: 100%;
    }
    .content-ctnr{
        position: absolute;
        bottom: 278rpx;
        left: 24rpx;        
        z-index: 2;
    }
    .goods-ctnr{
        position: relative;
        width: 436rpx;
        height: 208rpx;
        background-color: #fff;
        border-radius: 16rpx;
        .title{
            background-image: linear-gradient(-88deg, #FFBDC2 8%, #FFD7E2 98%);
            height: 44rpx;
            line-height: 44rpx;
            font-size: 20rpx;
            color: #FF3C5E;
            padding: 0 20rpx;
            border-radius: 16rpx 16rpx 0 0;
        }
        .goods-wrap{
            display: flex;
            padding: 12rpx;
            .goods-img{
                width: 140rpx;
                height: 140rpx;
                flex-shrink: 0;
                border-radius: 12rpx;
            }
            .goods-info{
                flex: 1;
                margin-left: 12rpx;
                position: relative;
                .name{
                    width: 260rpx;
                    height: 28rpx;
                    font-weight: 400;
                    font-size: 20rpx;
                    color: #0A0D14;
                    overflow:hidden;
                    text-overflow:ellipsis;
                    white-space:nowrap;
                }
                .new-price{
                    font-weight: 600;
                    font-size: 26rpx;
                    color: #FF6038;
                    height: 36rpx;
                    line-height: 36rpx;
                    margin-top: 46rpx;
                }
                .old-price{
                    font-weight: 400;
                    font-size: 20rpx;
                    color: #3F444D;
                    // margin-top: 4rpx;
                    text-decoration: line-through;
                }
                .buy-btn{
                    position: absolute;
                    right: 0;
                    bottom: 0;
                    width: 100rpx;
                    line-height: 40rpx;
                    height: 40rpx;
                    background-image: linear-gradient(-88deg, #FF1261 8%, #FF5C5D 98%);
                    border-radius: 32rpx;
                    font-size: 20rpx;
                    color: #FFFFFF;
                    text-align: center;
                }
            }
        }
    }
    .desc{
        color: #fff;
        margin-top: 18rpx;
        font-weight: 500;
        font-size: 24rpx;
        line-height: 36rpx;
        text-shadow: 0 2rpx 8rpx #00000080;
    }
}