course.css 2.9 KB
.courseitem {
    padding: 0.24rem 0.32rem;
    box-sizing: border-box;
    margin-bottom: 0.16rem;
    background: #fff;
    /* margin-top: 1rem; */
}

.courseitemk {
    margin-top: 1rem;
}

.courseimg {
    /* width: 2.4rem;
    max-height: 1.46rem;
    overflow: hidden;
    flex: 0 0 auto; */
    width: 2.4rem;
    height: 1.46rem;
    overflow: hidden;
}

.courseimg img {
    /* max-height: 100%!important; */
    min-height: 1.46rem!important;
}

img {
    height: auto!important;
}

.coursetitle {
    color: #02170b;
    font-size: 0.32rem;
    font-weight: bold;
    /* width: 4.4rem; */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.zhiimg {
    width: 0.34rem;
    height: 0.34rem;
}

.zhiname {
    color: #e1b16d;
    font-size: 0.28rem;
    margin-left: 0.06rem;
}

.morepeople {
    width: 2.64rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #666e69;
    font-size: 0.28rem;
}

.knowmore {
    color: #4d864d;
    font-size: 0.28rem;
}

.courseright {
    margin-left: 0.16rem;
}

.zhibo {
    margin-top: 0.18rem;
}

.know {
    margin-top: 0.18rem;
}


/* 头部切换 */

.coursenav {
    background: #fff;
    margin-top: 0.32rem;
    padding: 0.24rem 0;
    box-sizing: border-box;
}

.coursenavkkk {
    background: #fff;
    padding: 0.24rem 0;
    box-sizing: border-box;
}

.coursenavleft {
    color: #b5bfba;
    font-size: 0.28rem;
    width: 3.75rem;
    text-align: center;
}

.selactive {
    position: relative;
    color: #599158;
}

.selactive::after {
    display: block;
    content: "";
    width: 0.4rem;
    height: 0.02rem;
    background: #599158;
    position: absolute;
    bottom: -0.2rem;
    left: 50%;
    transform: translateX(-50%);
}


/* 课程 */

.courseboxk {
    display: flex;
    flex-wrap: wrap;
    padding: 0.24rem 0.28rem;
    box-sizing: border-box;
    margin-bottom: 1.2rem;
}

.courseboxkkk {
    display: flex;
    flex-wrap: wrap;
    padding: 0.24rem 0.28rem;
    box-sizing: border-box;
    margin-bottom: 1.2rem;
}

.courseboxitem {
    width: 3.35rem;
    margin-bottom: 0.16rem;
}

.courseboxitem:nth-child(2n) {
    margin-left: 0.17rem;
}

.coursenameimg {
    width: 3.35rem;
    height: 2rem;
    overflow: hidden;
}

.coursenameimg img {
    min-height: 100%!important;
}

.coursetext {
    width: 3.35rem;
    padding: 0.26rem 0.24rem;
    box-sizing: border-box;
    background: #fff;
}

.coursename {
    color: #02170b;
    font-size: 0.28rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: 0.1rem;
    height: 0.76rem;
}

.coursetitlek {
    color: #02170b;
    font-size: 0.28rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
}

.courseteacher {
    color: #666e69;
    font-size: 0.24rem;
    margin-top: 0.08rem;
}

.knowlagename {
    color: #666e69;
}