/* components/regularCourse/regularCourse.wxss */ @import "../../app.wxss"; .color96 { color: #969696; } .flex_between { display: -webkit-flex; display: flex; align-items: center; justify-content: space-between; } .regularCourse { font-size: 22rpx; line-height: 28rpx; padding: 30rpx 0; background-color: #fff; border-radius: 20rpx; } .imglistright { width: 118rpx; height: 28rpx; display: flex; } .imglistright image { width: 28rpx; height: 28rpx; } /* 头部 */ .titleView, .desc { padding-left: 20rpx; padding-right: 20rpx; } .head { margin: 0 20rpx 0; padding-bottom: 20rpx; border-bottom: 1px solid #e5e5e5; } .tag { margin-left: 24rpx; margin-right: 14rpx; border: 1px solid #969696; border-radius: 6rpx; display: inline-block; padding: 1px 2px; } .type { float: right; color: #fd0201; /* border: 1px solid #fd0201; */ border-radius: 8rpx; padding: 2rpx 6rpx; } .type_end { color: #969696; /* border-color: #969696; */ } /* 中部 */ .content { margin: 30rpx 20rpx 30rpx; } .rightImg { flex: 0 0 auto; width: 246rpx; height: 172rpx; } .cricel { display: inline-block; width: 12rpx; height: 12rpx; background-color: #f00; border-radius: 50%; margin-right: 10rpx; } .cricel, .title { vertical-align: middle; } .left { position: relative; min-height: 172rpx; padding-right: 30rpx; } .people { position: absolute; right: 30rpx; bottom: 4rpx; } .one { text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; } .two { text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; margin-top: 10rpx; } /* 底部 */ .bot { border-top: 1px solid #e5e5e5; margin: 0 20rpx 0; padding-top: 20rpx; } /* 组件不用来源对应的样式修改 */ .is_list .name { font-size: 32rpx; line-height: 32rpx; } .jb-icon { width: 25rpx; height: 25rpx; display: inline-block; margin-left: 10rpx; margin-bottom: 5rpx; vertical-align: bottom; }