/* pages/member/course/CourseIndex/CourseIndex.wxss */ page { background: #fff; } .search { overflow: hidden; background: #fff; border-bottom: 2rpx solid #f5f5f5; width: 100%; padding-bottom: 10rpx; } .search .searchBox { position: relative; font-size: 28rpx; /* width: 674rpx; */ height: 63rpx; margin: 0 39rpx 0 37rpx; display: flex; align-items: center; justify-content: space-between; background: #f2f2f2 none; box-sizing: border-box; border-radius: 30rpx; padding: 0 20rpx; } .search .searchBox icon { font-size: 18px; color: #666; } .search .searchBox input { vertical-align: middle; border: none; box-sizing: border-box; outline: 0; height: 60rpx; line-height: 60rpx; color: #8c8c8c; font-size: 28rpx; width: 80%; z-index: 10; } .swiperBox { margin: 0 13px; } .swiper-img { width: 100%; height: 100%; border-radius: 10rpx; } .navList { padding: 39rpx 22rpx 43rpx; display: flex; justify-content: flex-start; align-items: center; flex-wrap: wrap; } .navList .viewnav { height: 151rpx; display: flex; flex-direction: column; justify-content: space-between; padding-right: 32rpx; align-items: center; margin-bottom: 25rpx; } .navList .viewnav:nth-child(5n) { height: 151rpx; display: flex; flex-direction: column; justify-content: space-between; /* padding-right: 42rpx; */ align-items: center; padding-right: 0; } .navList .viewnav image { width: 92rpx; height: 92rpx; border-radius: 50%; } .text_nav { width: 111rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; } .space { height: 15rpx; background: #f5f5f5; } .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; */ } .more { width: 100%; height: 40rpx; padding: 20rpx 0; line-height: 30rpx; font-size: 26rpx; text-align: center; color: #999; } .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; } van-cell .van-cell__title { font-size: 40rpx; } .rec_swiperBox { margin: 0 25rpx; /* height: 514rpx; */ overflow: hidden; background: #fcfcfc; } .rec_swiperBox .ul { margin-left: 0; padding-left: 100rpx; display: flex; transition: 2s; padding-bottom: 20rpx; } .rec_swiperBox .ul .li { width: 480rpx; /* height: 480rpx; */ /* background-color: #000000; */ box-shadow: 4rpx 5rpx 7rpx 0rpx rgba(133, 133, 133, 0.11); border-radius: 10rpx; flex-shrink: 0; -moz-transform: scale(0.9, 0.9); -webkit-transform: scale(0.9, 0.9); -o-transform: scale(0.9, 0.9); transform: scale(0.9, 0.9); margin-top: 14rpx; } .rec_swiperBox .ul .act { -moz-transform: scale(1, 1); -webkit-transform: scale(1, 1); -o-transform: scale(1, 1); transform: scale(1, 1); transition: 1s; } .recommend_List_top { min-height: 342rpx; } .recommend_List_top image { width: 100%; /* height: 342rpx; */ border-radius: 10rpx 10rpx 0 0; } .recommend_List_bottom { /* width: 480px; */ height: 139rpx; border-radius: 10px; display: flex; flex-direction: column; justify-content: space-between; } .recommend_List_bottom { text-align: left; } .recommend_List_bottom .top { /* width: 444rpx; */ font-size: 28rpx; font-weight: normal; font-stretch: normal; line-height: 30rpx; letter-spacing: 0rpx; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-left: 19rpx; padding-right: 20rpx; } .recommend_List_bottom .bottom { flex: 1; display: flex; align-items: center; justify-content: space-between; padding-bottom: 34rpx; } .recommend_List_bottom .bottom .left { width: 50%; overflow: hidden; padding-left: 19rpx; color: #999; display: flex; align-items: center; } .recommend_List_bottom .bottom .left .name { font-size: 24rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 17rpx; } .recommend_List_bottom .bottom .right { padding-right: 16rpx; font-size: 28rpx; color: #e20606; } .tagtitle { margin-left: 26rpx; margin-right: 46rpx; display: flex; justify-content: space-between; align-items: center; } .tagtitle .title_name { font-size: 40rpx; line-height: 82rpx; color: #000; } .tagtitle .title_more { font-size: 28rpx; color: #999; display: flex; align-items: center; } .tagtitle .title_more van-icon { margin-top: 15rpx; margin-left: 15rpx; } /* 热卖 */ .hot_lsit { display: flex; justify-content: space-between; padding: 21rpx 27rpx 28rpx 36rpx; flex-wrap: wrap; background: #fff; } .hot_lsit .li { background: #fff; width: 328rpx; /* height: 328rpx; */ box-shadow: 0rpx 0rpx 7rpx 0rpx rgba(133, 133, 133, 0.1); border-radius: 10rpx; margin-bottom: 10px; } .hot_lsit .li .hot_top { width: 328rpx; /* height: 197rpx; */ } .hot_lsit .li .hot_top .img { border-top-left-radius: 0.4rem; border-top-right-radius: 0.4rem; width: 100%; height: 100%; } .hot_lsit .li .hot_bottom { padding-top: 0.375rem; border-top-left-radius: 0.4rem; border-top-right-radius: 0.4rem; width: 100%; height: 131rpx; } .hot_lsit .li .hot_bottom .top { font-size: 28rpx; text-align: left; color: #000; line-height: 30rpx; height: 59rpx; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; padding-left: 6rpx; } .hot_lsit .li .hot_bottom .bottom { display: flex; justify-content: space-between; padding-top: 24rpx; } .hot_lsit .li .hot_bottom .bottom .left { font-size: 24rpx; line-height: 30rpx; height: 30rpx; color: #e20606; padding-left: 8rpx; max-width: 180rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; } .hot_lsit .li .hot_bottom .bottom .left .cost2 { color: #ccc; font-size: 0.75rem; padding-left: 0.4rem; } .hot_lsit .li .hot_bottom .bottom .right { font-size: 24rpx; line-height: 30rpx; height: 30rpx; letter-spacing: 0; color: #999; padding-right: 16rpx; max-width: 180rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .quanBox { margin-bottom: 30rpx; } .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; }