.messageSection { width: 720rpx; height: 80rpx; background: #fff; border-radius: 40rpx; display: flex; align-items: center; position: relative; padding: 10rpx; box-sizing: border-box; margin: 15rpx auto 0; overflow: hidden; } .messageIcon { width: 60rpx; height: 60rpx; border-radius: 50%; /* flex-shrink:0; */ } /* 跑马灯 */ @keyframes marque-animation { from { transform: translateX(0); } to { transform: translateX(-33.33%); } } .marquee { width: 90%; height: 44rpx; line-height: 44rpx; /* background: #fff; */ border: none; display: block; margin: 0 auto; overflow: hidden; white-space: nowrap; /* text-overflow: clip; */ /* position: relative; */ /* font-size: 28rpx; */ border-radius: 40rpx; } .marquee .content { width: auto; display: inline-block; /* position: absolute; */ /* padding-right: 0px; */ animation-name: marque-animation; animation-duration: 9s; animation-iteration-count: infinite; animation-timing-function: linear; /* white-space: nowrap; */ /* height: 30rpx; */ font-size: 30rpx; font-weight: 500; color: #4f4f50; } .messageText { width: 86%; height: 36rpx; font-size: 30rpx; font-weight: 500; color: #4f4f50; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; margin-left: 15rpx; } swiper { margin-top: 64rpx; /* padding-top: 20rpx; */ background: #fff; display: block; width: 100%; height: 312rpx; } .swiperSection { width: 100%; height: 320rpx; margin-top: 16rpx; overflow: hidden; position: relative; background: #fff; } .slide-item { width: 492rpx; } .slide-image { display: block; margin: 0 auto; width: 492rpx; height: 203rpx; border-radius: 10rpx; } .slide-summary { display: flex; justify-content: space-between; margin-top: 15rpx; overflow: hidden; } .slide-title { /* margin: 0 auto; */ width: 65%; height: 32rpx; line-height: 32rpx; display: block; /* text-align: left; */ color: #393939; font-size: 24rpx; font-weight: 500; /* letter-spacing: 4rpx; */ margin-left: 10rpx; /* font-family: MicrosoftYaHei; */ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .slide-tip { width: 130rpx; height: 32rpx; display: block; text-align: left; color: #6d6d6d; font-size: 24rpx; line-height: 32rpx; font-weight: 500; margin-right: 10rpx; } .searchSection { width: 100%; height: 84rpx; display: flex; align-items: center; margin-top: 16rpx; /* background: #fff */ padding: 0 15rpx; box-sizing: border-box; } .searchSection input { display: flex; width: 500rpx; height: 80rpx; border-radius: 40rpx; background: #fff; color: #717171; font-size: 28rpx; /* margin-left: 14rpx; */ padding-left: 25rpx; } .searchSection .searchBtn { /* background: #fff; */ position: absolute; z-index: 2; left: 250rpx; width: 56rpx; height: 56rpx; border: 1rpx solid rgba(255, 255, 255, 0); } .searchSection .searchBtn image { display: block; width: 34rpx; height: 34rpx; margin: 10rpx auto; } .searchSection .allBooks { font-size: 30rpx; color: #494747; font-weight: 800; /* font-family: PingFangSC-regular; */ width: 200rpx; text-align: center; margin-left: 20rpx; background: #F0F1F5; height: 80rpx; line-height: 80rpx; border-radius: 40rpx; background: #fff; } .hotSection { width: 100%; /* height: 50rpx; */ /* background: #fff; */ background: rgba(240, 241, 245, 1); margin-top: 10rpx; } .hotSection .title { display: flex; align-items: center; justify-content: space-between; padding: 10rpx 22rpx 20rpx; } .hotSection .leftWrapper { display: flex; align-items: center; } .hotSection .title image { width: 54rpx; height: 60rpx; margin-left: 14rpx; } .hotSection .title .recommendTag { width: 38rpx; height: 34rpx; } .hotSection .title text { width: 224rpx; /* letter-spacing: 4rpx; */ height: 40rpx; margin-left: 16rpx; font-size: 32rpx; line-height: 40rpx; /* font-family: PingFangSC-regular; */ color: #444; } .hotSection .title .moreBtn { display: flex; flex-direction: row; float: right; width: 100rpx; height: 38rpx; font-size: 28rpx; color: #444; align-items: center; } .title .moreBtn image { width: 16rpx; height: 28rpx; } /* // 热门推荐 */ .recommdSection { width: 100%; /* height: 50rpx; */ /* background: #fff; */ background: rgba(240, 241, 245, 1); /* margin-top: 10rpx; */ } .recommdSection .recommd-title { width: 100%; height: 74rpx; color: #393939; font-size: 30rpx; line-height: 89rpx; text-indent: 30rpx; font-weight: 800; } .recommdSection .leftWrapper { display: flex; align-items: center; } .recommdSection .title image { width: 38rpx; height: 44rpx; margin-left: 14rpx; } .recommdSection .title .recommendTag { width: 38rpx; height: 34rpx; } .recommdSection .title text { width: 224rpx; /* letter-spacing: 4rpx; */ height: 40rpx; margin-left: 16rpx; font-size: 32rpx; line-height: 40rpx; /* font-family: PingFangSC-regular; */ color: #444; } .recommdSection .title .moreBtn { display: block; float: right; width: 80rpx; height: 38rpx; font-size: 28rpx; color: #6e6e6e; } /* 我的课程 */ .myCourseSection { width: 720rpx; height: 410rpx; margin: 15rpx auto 0; background: #fff; border-radius: 20rpx; position: relative; } .title-regular { width: 121rpx; height: 46rpx; display: flex; align-items: center; color: #393939; font-size: 30rpx; border-bottom: solid 5rpx #12c962; font-weight: 800; position: absolute; left: 16rpx; top: 6rpx; } .swiper-title { left: 32rpx; } .swiper-dots-wrapper { display: flex; position: absolute; right: 13rpx; top: 17rpx; } .swiper-dots { width: 28rpx; height: 28rpx; background: #D0D0D0; border-radius: 50%; font-size: 20rpx; line-height: 28rpx; text-align: center; color: #fff; font-weight: 800; margin-right: 5rpx; } .swiper-dots text { width: 100%; height: 100%; line-height: 100%; text-align: center; } .dot-active { background: #12c962; } .myCourseSection .myCoursePlaceHolder { width: 100%; height: 100%; } .myCourseSection .myCoursePlaceHolder image { width: 100%; height: 100%; } .book-box { display: flex; width: 100%; height: 328rpx; flex-wrap: wrap; flex-direction: row; overflow-x: hidden; /* justify-content: space-around; */ align-items: center; overflow: hidden; /* padding: 0 20rpx; */ box-sizing: border-box; position: absolute; top: 64rpx; } .book-item { position: relative; display: flex; /* margin-right: 35rpx; */ flex-direction: column; justify-content: space-between; width: 214rpx; height: 330rpx; margin-left: 2.7%; } .book-item .book-img { width: 214rpx; height: 278rpx; } .book-item .book-title { /* margin-top: 20rpx; */ color: #393939; text-align: center; font-size: 30rpx; /* font-weight: 800; */ line-height: 36rpx; margin-top: 16rpx; }