list.wxss 2.86 KB
/* stylelint-disable-next-line */
page {
    background-color: #f0f0f0;
}

image {
    display: block;
}

.class-page {
    width: 100%;
    max-width: 750rpx;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    color: #444;
    border-top: solid 1px #eee;
}

.eps {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.eps-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.big-title {
    background-color: #fff;
    height: 60rpx;
    width: 100%;
    padding: 20rpx 30rpx 0;
    box-sizing: border-box;
}

.big-title text {
    height: 32rpx;
    line-height: 32rpx;
    border-left: solid 8rpx #444;
    font-size: 32rpx;
    box-sizing: border-box;
    padding-left: 20rpx;
    display: block;
    font-weight: bold;
    margin: 4rpx 0;
}

.old-list .class-item:last-child {
    margin-bottom: 0;
}

.class-list .class-item {
    background-color: #fff;
    padding: 30rpx;
    margin-bottom: 20rpx;
}

.class-list .class-item .pic-c {
    position: relative;
}

.class-list .class-item .pic-c .tag {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 60rpx;
    line-height: 60rpx;
    padding: 0 20rpx;
    font-size: 24rpx;
    text-align: center;
    color: #fff;
    background-color: #000;
}

.class-list .class-item image {
    width: 100%;
}

.class-list .class-item .info {
    position: relative;
}

.class-list .class-item .name {
    width: 550rpx;
    height: 88rpx;
    line-height: 88rpx;
    display: block;
    font-size: 38rpx;
    font-weight: bold;
}

.class-list .class-item .free {
    width: 140rpx;
    position: absolute;
    top: 0;
    right: 0;
    height: 88rpx;
    line-height: 88rpx;
    text-align: right;
    color: #d0021b;
    font-size: 30rpx;
    font-weight: bold;
}

.class-list .class-item .price {
    width: 140rpx;
    position: absolute;
    top: 0;
    right: 0;
    height: 88rpx;
    line-height: 88rpx;
    text-align: right;
    color: #d0021b;
    font-size: 40rpx;
    font-weight: bold;
}

.class-list .class-item .price text {
    font-size: 30rpx;
}

.class-list .class-item .date {
    position: relative;
}

.class-list .class-item .date text {
    display: block;
    font-size: 28rpx;
    line-height: 45rpx;
}

.class-list .class-item .date .line {
    display: inline;
    padding: 0;
}

.class-list .class-item .btn {
    font-size: 28rpx;
    display: none;
    width: 160rpx;
    height: 70rpx;
    background-color: #d0021b;
    color: #fff;
    text-align: center;
    line-height: 70rpx;
    border-radius: 10rpx;
    padding: 0;
    position: absolute;
    top: 15rpx;
    right: 0;
}

.class-list .class-item .btn.disable {
    width: 100rpx;
    height: 30rpx;
    line-height: 30rpx;
    border-radius: 15rpx;
    font-size: 20rpx;
    color: #888;
    background-color: #e0e0e0;
    top: 30rpx;
}