/* pages/course/index.wxss */
|
@import '../../styles/public_components.wxss';
|
|
.course {
|
padding: 24rpx 32rpx;
|
padding-bottom: 0;
|
background-color: #ffffff;
|
margin: 0 var(--padding-my);
|
border-radius: var(--border-radius-card);
|
margin-top: 24rpx;
|
}
|
|
.course .course-button {
|
width: auto;
|
height: 40rpx;
|
font-size: 24rpx;
|
line-height: 40rpx;
|
border-radius: 22rpx;
|
padding: 0 16rpx;
|
margin-left: 16rpx;
|
}
|
|
.course-item {
|
display: flex;
|
position: relative;
|
padding-bottom: 24rpx;
|
}
|
|
.course-item-divider {
|
position: absolute;
|
background-color: rgba(0, 0, 0, 0.2);
|
width: 2rpx;
|
height: 100%;
|
left: 17rpx;
|
top: 17rpx;
|
}
|
|
.course-item-imgBg {
|
position: relative;
|
height: 36rpx;
|
width: 36rpx;
|
border-radius: 50%;
|
background-color: #8c8c8c;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin: 2rpx 0;
|
}
|
|
.course-item-imgBg-color {
|
background-color: var(--main-color);
|
}
|
|
.course-item-imgBg-2 {
|
position: relative;
|
height: 36rpx;
|
width: 36rpx;
|
border-radius: 50%;
|
display: flex;
|
align-items: center;
|
justify-content: center;
|
margin: 2rpx 0;
|
}
|
|
.course-item-imgBg-2::after {
|
content: '';
|
position: absolute;
|
width: 20rpx;
|
height: 20rpx;
|
background-color: #8c8c8c;
|
left: 50%;
|
top: 50%;
|
margin-left: -10rpx;
|
margin-top: -10rpx;
|
border-radius: 50%;
|
}
|
|
.course-item-img {
|
width: 24rpx;
|
height: 24rpx;
|
}
|
|
.course-item-content {
|
flex: 1;
|
padding-left: 16rpx;
|
}
|
|
.course-item-content-title {
|
font-weight: 600;
|
}
|
|
.course-item-content-content {
|
font-weight: 24rpx;
|
line-height: 40rpx;
|
color: var(--second-text-color);
|
}
|
|
.course-item-flex-box {
|
flex: 1;
|
}
|
|
.course-item-flex {
|
flex: 1;
|
display: flex;
|
padding-left: 16rpx;
|
}
|
|
.card-cell-title {
|
max-width: 6.2em;
|
}
|