homework.wxss 3.6 KB
/* pages/homework/homework.wxss */
page{
    padding-bottom: 120rpx;
}
.homework {
    margin: 0 32rpx 0rpx;
}

swiper {
    height: 278rpx;
    margin-top: 24rpx;
    border-radius: 16rpx;
    box-shadow: 0px 16rpx 28rpx rgba(21, 0, 196, 0.25);
}

swiper-item image {
    width: 100%;
    height: 278rpx;
    border-radius: 10rpx;
}

.banner {
    position: relative;
}

.dots {
    height: 20rpx;
    display: flex;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16rpx;
}

/*未选中时的小圆点样式 */

.dot {
    width: 10rpx;
    height: 10rpx;
    border-radius: 14rpx;
    margin-right: 16rpx;
    background-color: white;
}

/*选中以后的小圆点样式  */

.active {
    width: 26rpx;
    height: 10rpx;
    background-color: white;
}

.title {
    margin-top: 48rpx;
    font-size: 36rpx;
    margin-bottom: 24rpx;
    font-weight: bold;
    color: rgba(6, 18, 30, 1);
}

.homeworkCon {
    margin-top: 42rpx;
    margin-bottom: 26rpx;
}

.homeworkTab {
    display: flex;
    display: -webkit-flex;
    border-bottom: 1px solid #ebebeb;
}

.homeworkTabLi {
    font-size: 28rpx;
    margin-right: 68rpx;
    color: rgba(127, 127, 127, 1);
}

.tabBorer {
    font-size: 30rpx;
    color: #06121e;
    font-weight: bold;
}

.tabBorer::after {
    content: "";
    display: block;
    width: 48rpx;
    height: 6rpx;
    margin: 14rpx auto 0;
    background: rgba(77, 169, 255, 1);
    border-radius: 4rpx;
}

.homeworkTabConLi {
    margin-top: 44rpx;
    padding-bottom: 60rpx;
    border-bottom: 1px solid #EBEBEB;
}
.homeworkTabConLi:last-child{
    border-bottom: 0;
    padding-bottom: 0rpx;
}
.homeworkTabConTxt {
    font-size: 26rpx;
    color: rgba(195, 201, 207, 1);
}

.homeworkTabConLi2 {
    background: rgba(255, 255, 255, 1);
    border-radius: 10rpx;
    margin-top: 20rpx;
}

.hw_Top {
    display: flex;
    align-items: center;
    padding: 22rpx 28rpx;
    box-sizing: border-box;
    line-height: 1;
    border-bottom: 1px solid #efefef;
}

.hw_TopImg {
    width: 28rpx;
    height: 28rpx;
}

.hw_TopTxt1 {
    width: 440rpx;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 18rpx;
    font-size: 28rpx;
    color: rgba(127, 127, 127, 1);
}

.hw_TopTxt2 {
    margin-left: auto;
    font-size: 28rpx;
    color: rgba(0, 190, 158, 1);
}

.hw_Content {
    margin: 0 28rpx;
}

.hw_center {
    margin-top: 28rpx;
    border-bottom: 1px solid #efefef;
}

.hw_ContentTxt {
    height: 160rpx;
    overflow-y: scroll;
    font-size: 32rpx;
    font-weight: bold;
    color: rgba(6, 18, 30, 1);
}

.hw_Bottom {
    margin-top: 24rpx;
}

.hw_BottomLi {
    display: flex;
    align-items: center;
    line-height: 1;
    padding-bottom: 24rpx;
}

.hw_BottomImg1 {
    width: 26rpx;
    height: 26rpx;
    margin-right: 18rpx;
}

.hw_BottomTxt1, .hw_BottomTxt2 {
    font-size: 26rpx;
    color: rgba(100, 103, 106, 1);
}

.hw_BottomTxt1 {
    margin-right: 20rpx;
}

.hw_BottomPer1 {
    width: 272rpx;
    height: 14rpx;
    background: rgba(238, 238, 238, 1);
    border-radius: 8rpx;
}

.hw_BottomPer2 {
    /* width: 60%; */
    height: 14rpx;
    background: rgba(0, 190, 158, 1);
    border-radius: 8rpx;
}

.hw_BottomTxt3 {
    font-size: 26rpx;
    margin-left: 30rpx;
    color: rgba(100, 103, 106, 1);
}

.hw_TopTxt2_No {
    font-size: 28rpx;
    margin-left: auto;
    color: rgba(195, 201, 207, 1);
}


.view_more{
    display: flex;
    align-items: center;
    margin-left: auto;
     color: #00BE9E;
     font-size: 24rpx;
     margin-bottom: 16rpx;
  }
  .view_more image{
    width: 24rpx;
    height: 24rpx;
  }