index.wxss 1.7 KB
.gl-video {
    width: 276rpx;
    height: 316rpx;
    background: #FFFFFF;
    border: 2rpx solid #FFFFFF;
    box-shadow: 0 8rpx 20rpx 0 rgba(180, 186, 204, 0.32);
    border-radius: 12rpx;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.video-box {
    position: relative;
    width: 100%;
    height: 168rpx;
    overflow: hidden;
    background: #c6c6c6;
    border-radius: 8rpx 8rpx 0 0;
}

.video-box .img {
    width: 100%;
}

.video-box .play {
    position: absolute;
    width: 42rpx;
    height: 42rpx;
    left: 19rpx;
    bottom: 19rpx;
}

.video-fooeter {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 8rpx 0;
}

.video-title {
    font-family: PingFangSC-Medium;
    font-weight: 500;
    font-size: 26rpx;
    color: #323436;
    padding: 0 16rpx;
}

.avatar {
    display: flex;
    align-items: center;
    flex: 1;
    flex-shrink: 0;
    overflow: hidden;
}

.avatar .img {
    width: 32rpx;
    height: 32rpx;
    border-radius: 100%;
    flex-shrink: 0;
}

.avatar .name {
    display: inline-block;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    font-size: 22rpx;
    color: #5A6066;
    margin-left: 4rpx;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}

.video-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16rpx;
    box-sizing: border-box;
    width: 100%;
}

.total {
    display: flex;
    align-items: center;
    font-family: PingFangSC-Regular;
    font-weight: 400;
    font-size: 20rpx;
    color: #5A6066;
}

.total .img {
    width: 20rpx;
    height: 20rpx;
    margin-right: 4rpx;
}