hot.wxss 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  1. .messageSection {
  2. width: 720rpx;
  3. height: 80rpx;
  4. background: #fff;
  5. border-radius: 40rpx;
  6. display: flex;
  7. align-items: center;
  8. position: relative;
  9. padding: 10rpx;
  10. box-sizing: border-box;
  11. margin: 15rpx auto 0;
  12. }
  13. .messageIcon {
  14. width: 60rpx;
  15. height: 60rpx;
  16. border-radius: 50%;
  17. }
  18. .messageText {
  19. /* width: 349rpx; */
  20. height: 30rpx;
  21. font-size: 30rpx;
  22. font-weight: 500;
  23. color: #4f4f50;
  24. margin-left: 115rpx;
  25. }
  26. swiper {
  27. margin-top: 64rpx;
  28. /* padding-top: 20rpx; */
  29. background: #fff;
  30. display: block;
  31. width: 100%;
  32. height: 312rpx;
  33. }
  34. .swiperSection {
  35. width: 100%;
  36. height: 320rpx;
  37. margin-top: 16rpx;
  38. overflow: hidden;
  39. position: relative;
  40. background: #fff;
  41. }
  42. .slide-item {
  43. width: 492rpx;
  44. }
  45. .slide-image {
  46. display: block;
  47. margin: 0 auto;
  48. width: 492rpx;
  49. height: 203rpx;
  50. border-radius: 10rpx;
  51. }
  52. .slide-summary {
  53. display: flex;
  54. justify-content: space-between;
  55. margin-top: 15rpx;
  56. overflow: hidden;
  57. }
  58. .slide-title {
  59. /* margin: 0 auto; */
  60. width: 65%;
  61. height: 32rpx;
  62. line-height: 32rpx;
  63. display: block;
  64. /* text-align: left; */
  65. color: #393939;
  66. font-size: 24rpx;
  67. font-weight: 500;
  68. /* letter-spacing: 4rpx; */
  69. margin-left: 10rpx;
  70. /* font-family: MicrosoftYaHei; */
  71. overflow: hidden;
  72. text-overflow: ellipsis;
  73. white-space: nowrap;
  74. }
  75. .slide-tip {
  76. width: 130rpx;
  77. height: 32rpx;
  78. display: block;
  79. text-align: left;
  80. color: #6d6d6d;
  81. font-size: 24rpx;
  82. line-height: 32rpx;
  83. font-weight: 500;
  84. margin-right: 10rpx;
  85. }
  86. .searchSection {
  87. width: 100%;
  88. height: 84rpx;
  89. display: flex;
  90. align-items: center;
  91. margin-top: 16rpx;
  92. /* background: #fff */
  93. padding: 0 15rpx;
  94. box-sizing: border-box;
  95. }
  96. .searchSection input {
  97. display: flex;
  98. width: 500rpx;
  99. height: 80rpx;
  100. border-radius: 40rpx;
  101. background: #fff;
  102. color: #717171;
  103. font-size: 28rpx;
  104. /* margin-left: 14rpx; */
  105. padding-left: 25rpx;
  106. }
  107. .searchSection .searchBtn {
  108. /* background: #fff; */
  109. position: absolute;
  110. z-index: 2;
  111. left: 250rpx;
  112. width: 56rpx;
  113. height: 56rpx;
  114. border: 1rpx solid rgba(255, 255, 255, 0);
  115. }
  116. .searchSection .searchBtn image {
  117. display: block;
  118. width: 34rpx;
  119. height: 34rpx;
  120. margin: 10rpx auto;
  121. }
  122. .searchSection .allBooks {
  123. font-size: 30rpx;
  124. color: #494747;
  125. font-weight: 800;
  126. /* font-family: PingFangSC-regular; */
  127. width: 200rpx;
  128. text-align: center;
  129. margin-left: 20rpx;
  130. background: #F0F1F5;
  131. height: 80rpx;
  132. line-height: 80rpx;
  133. border-radius: 40rpx;
  134. background: #fff;
  135. }
  136. .hotSection {
  137. width: 100%;
  138. /* height: 50rpx; */
  139. /* background: #fff; */
  140. background: rgba(240, 241, 245, 1);
  141. margin-top: 10rpx;
  142. }
  143. .hotSection .title {
  144. display: flex;
  145. align-items: center;
  146. justify-content: space-between;
  147. padding: 10rpx 22rpx 20rpx;
  148. }
  149. .hotSection .leftWrapper {
  150. display: flex;
  151. align-items: center;
  152. }
  153. .hotSection .title image {
  154. width: 54rpx;
  155. height: 60rpx;
  156. margin-left: 14rpx;
  157. }
  158. .hotSection .title .recommendTag {
  159. width: 38rpx;
  160. height: 34rpx;
  161. }
  162. .hotSection .title text {
  163. width: 224rpx;
  164. /* letter-spacing: 4rpx; */
  165. height: 40rpx;
  166. margin-left: 16rpx;
  167. font-size: 32rpx;
  168. line-height: 40rpx;
  169. /* font-family: PingFangSC-regular; */
  170. color: #444;
  171. }
  172. .hotSection .title .moreBtn {
  173. display: flex;
  174. flex-direction: row;
  175. float: right;
  176. width: 100rpx;
  177. height: 38rpx;
  178. font-size: 28rpx;
  179. color: #444;
  180. align-items: center;
  181. }
  182. .title .moreBtn image {
  183. width: 16rpx;
  184. height: 28rpx;
  185. }
  186. /* // 热门推荐 */
  187. .recommdSection {
  188. width: 100%;
  189. /* height: 50rpx; */
  190. /* background: #fff; */
  191. background: rgba(240, 241, 245, 1);
  192. /* margin-top: 10rpx; */
  193. }
  194. .recommdSection .recommd-title {
  195. width: 100%;
  196. height: 74rpx;
  197. color: #393939;
  198. font-size: 30rpx;
  199. line-height: 89rpx;
  200. text-indent: 30rpx;
  201. font-weight: 800;
  202. }
  203. .recommdSection .leftWrapper {
  204. display: flex;
  205. align-items: center;
  206. }
  207. .recommdSection .title image {
  208. width: 38rpx;
  209. height: 44rpx;
  210. margin-left: 14rpx;
  211. }
  212. .recommdSection .title .recommendTag {
  213. width: 38rpx;
  214. height: 34rpx;
  215. }
  216. .recommdSection .title text {
  217. width: 224rpx;
  218. /* letter-spacing: 4rpx; */
  219. height: 40rpx;
  220. margin-left: 16rpx;
  221. font-size: 32rpx;
  222. line-height: 40rpx;
  223. /* font-family: PingFangSC-regular; */
  224. color: #444;
  225. }
  226. .recommdSection .title .moreBtn {
  227. display: block;
  228. float: right;
  229. width: 80rpx;
  230. height: 38rpx;
  231. font-size: 28rpx;
  232. color: #6e6e6e;
  233. }
  234. /* 我的课程 */
  235. .myCourseSection {
  236. width: 720rpx;
  237. height: 410rpx;
  238. margin: 15rpx auto 0;
  239. background: #fff;
  240. border-radius: 20rpx;
  241. position: relative;
  242. }
  243. .title-regular {
  244. width: 121rpx;
  245. height: 46rpx;
  246. display: flex;
  247. align-items: center;
  248. color: #393939;
  249. font-size: 30rpx;
  250. border-bottom: solid 5rpx #12c962;
  251. font-weight: 800;
  252. position: absolute;
  253. left: 16rpx;
  254. top: 6rpx;
  255. }
  256. .swiper-title {
  257. left: 32rpx;
  258. }
  259. .swiper-dots-wrapper {
  260. display: flex;
  261. position: absolute;
  262. right: 13rpx;
  263. top: 17rpx;
  264. }
  265. .swiper-dots {
  266. width: 28rpx;
  267. height: 28rpx;
  268. background: #D0D0D0;
  269. border-radius: 50%;
  270. font-size: 20rpx;
  271. line-height: 28rpx;
  272. text-align: center;
  273. color: #fff;
  274. font-weight: 800;
  275. margin-right: 5rpx;
  276. }
  277. .swiper-dots text{
  278. width: 100%;
  279. height: 100%;
  280. line-height: 100%;
  281. text-align: center;
  282. }
  283. .dot-active {
  284. background: #12c962;
  285. }
  286. .myCourseSection .myCoursePlaceHolder {
  287. width: 100%;
  288. height: 100%;
  289. }
  290. .myCourseSection .myCoursePlaceHolder image {
  291. width: 100%;
  292. height: 100%;
  293. }
  294. .book-box {
  295. display: flex;
  296. width: 100%;
  297. height: 328rpx;
  298. flex-wrap: wrap;
  299. flex-direction: row;
  300. overflow-x: hidden;
  301. /* justify-content: space-around; */
  302. align-items: center;
  303. overflow: hidden;
  304. /* padding: 0 20rpx; */
  305. box-sizing: border-box;
  306. position: absolute;
  307. top: 64rpx;
  308. }
  309. .book-item {
  310. position: relative;
  311. display: flex;
  312. /* margin-right: 35rpx; */
  313. flex-direction: column;
  314. justify-content: space-between;
  315. width: 214rpx;
  316. height: 330rpx;
  317. margin-left: 2.7%;
  318. }
  319. .book-item .book-img {
  320. width: 214rpx;
  321. height: 278rpx;
  322. }
  323. .book-item .book-title {
  324. /* margin-top: 20rpx; */
  325. color: #393939;
  326. text-align: center;
  327. font-size: 30rpx;
  328. /* font-weight: 800; */
  329. line-height: 36rpx;
  330. margin-top: 16rpx;
  331. }