yuminge-app/yun-min-program-plugin-master/packageA/member/course/CourseSearch/CourseSearch.wxss

252 lines
4.0 KiB
Plaintext

/* pages/member/course/CourseSearch/CourseSearch.wxss */
page {
background: #fff;
}
.search {
overflow: hidden;
background: #fff;
/* border-bottom: 2rpx solid #f5f5f5; */
/* width: 100%; */
padding: 10rpx;
}
.search .searchBox icon {
font-size: 18px;
color: #666;
}
.search .searchBox {
position: relative;
font-size: 28rpx;
width: 85%;
height: 63rpx;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
background: #f2f2f2 none;
box-sizing: border-box;
border-radius: 30rpx;
padding: 0 20rpx;
}
.search .searchBox input {
vertical-align: middle;
border: none;
box-sizing: border-box;
margin-left: 20rpx;
outline: 0;
height: 60rpx;
line-height: 60rpx;
color: #8c8c8c;
font-size: 28rpx;
width: 80%;
z-index: 10;
}
.search .searchBox .img-icon {
width: 15%;
height: 60rpx;
color: #a9a9a9;
opacity: 2;
display: flex;
align-items: center;
justify-content: center;
}
.search .searchBox .img-icon .img-icon-btn {
width: 32rpx;
height: 32rpx;
margin: 0 auto;
background: url("https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/search.png") no-repeat center center;
background-size: 80% 80%;
}
.screen {
height: 90rpx;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
background: #fff;
border-bottom: 1rpx solid #e3e3e3;
margin-bottom: 25rpx;
}
.screen .tap_screen {
width: calc((100% - 75px) / 3);
height: 25rpx;
display: flex;
align-items: center;
justify-content: center;
}
.screen .tap_screen:nth-child(2) {
border-left: 1rpx #e5e5e5 solid;
border-right: 1rpx #e5e5e5 solid;
padding: 0 30rpx;
}
.screen .tap_screen .iconfff {
display: flex;
flex-direction: column;
align-items: center;
}
.icon_color {
color: #ff8c20;
}
.course {
border-bottom: solid 1rpx #ebebeb;
text-align: left;
width: 100%;
background-color: #fff;
padding: 20rpx;
}
.course-img {
width: 160rpx;
height: 160rpx;
background-color: green;
float: left;
}
.course-img image {
width: 100%;
height: 100%;
}
.course-text {
width: calc(100% - 216rpx);
float: left;
text-align: left;
margin-left: 24rpx;
padding-right: 28rpx;
/* flex: 0 0 55%;
display: flex;
flex-direction: column;
margin-left: 24rpx;
padding: 10rpx; */
}
.course-text .name {
font-size: 28rpx;
}
.course-text .time {
margin-top: 12rpx;
font-size: 24rpx;
color: #8c8c8c;
}
.money {
float: right;
color: #f15353;
line-height: 32rpx;
font-size: 28rpx;
margin-top: 12rpx;
margin-right: 40rpx;
}
.s1 {
font-size: 24rpx;
background: #f15353;
color: white;
padding: 6.4rpx 16rpx;
border-top-left-radius: 16rpx;
border-bottom-right-radius: 16rpx;
}
.s2 {
color: #f15353;
}
/* list */
.quanBox {
margin-bottom: 30rpx;
background-color: #fff;
}
.quanlist {
margin: 0 25rpx;
height: 228rpx;
border-bottom: 1rpx solid #f2f2f7;
margin-bottom: 20rpx;
}
.quan_left {
float: left;
width: 201rpx;
height: 201rpx;
}
.quan_left image {
width: 100%;
height: 100%;
}
.quan_right {
padding-left: 37rpx;
display: flex;
flex-direction: column;
justify-content: space-between;
padding-right: 18rpx;
height: 201rpx;
}
.video_title {
font-size: 28rpx;
color: #000;
line-height: 36rpx;
text-align: left;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.pitch_number {
font-size: 28rpx;
color: #999;
line-height: 36rpx;
margin-top: 17rpx;
}
.quan_bottom {
display: flex;
align-items: center;
justify-content: space-between;
}
.quan_bottom .price {
font-size: 28rpx;
color: #e20606;
line-height: 30rpx;
max-width: 300rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.quan_bottom .price .cost2 {
color: #ccc;
font-size: 23rpx;
padding-left: 0.4rem;
}
.master_name {
font-size: 24rpx;
color: #999;
line-height: 30rpx;
max-width: 300rpx;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}