hot.wxss 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468
  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. overflow: hidden;
  13. }
  14. .messageIcon {
  15. width: 60rpx;
  16. height: 60rpx;
  17. border-radius: 50%;
  18. /* flex-shrink:0; */
  19. }
  20. /* 跑马灯 */
  21. @keyframes marque-animation {
  22. from {
  23. transform: translateX(0);
  24. }
  25. to {
  26. transform: translateX(-33.33%);
  27. }
  28. }
  29. .marquee {
  30. width: 90%;
  31. height: 44rpx;
  32. line-height: 44rpx;
  33. /* background: #fff; */
  34. border: none;
  35. display: block;
  36. margin: 0 auto;
  37. overflow: hidden;
  38. white-space: nowrap;
  39. /* text-overflow: clip; */
  40. /* position: relative; */
  41. /* font-size: 28rpx; */
  42. border-radius: 40rpx;
  43. }
  44. .marquee .content {
  45. width: auto;
  46. display: inline-block;
  47. /* position: absolute; */
  48. /* padding-right: 0px; */
  49. animation-name: marque-animation;
  50. animation-duration: 9s;
  51. animation-iteration-count: infinite;
  52. animation-timing-function: linear;
  53. /* white-space: nowrap; */
  54. /* height: 30rpx; */
  55. font-size: 30rpx;
  56. font-weight: 500;
  57. color: #4f4f50;
  58. }
  59. .messageText {
  60. width: 86%;
  61. height: 36rpx;
  62. font-size: 30rpx;
  63. font-weight: 500;
  64. color: #4f4f50;
  65. white-space: nowrap;
  66. text-overflow: ellipsis;
  67. overflow: hidden;
  68. margin-left: 15rpx;
  69. }
  70. swiper {
  71. margin-top: 64rpx;
  72. /* padding-top: 20rpx; */
  73. background: #fff;
  74. display: block;
  75. width: 100%;
  76. height: 312rpx;
  77. }
  78. .swiperSection {
  79. width: 100%;
  80. height: 320rpx;
  81. margin-top: 16rpx;
  82. overflow: hidden;
  83. position: relative;
  84. background: #fff;
  85. }
  86. .slide-item {
  87. width: 492rpx;
  88. }
  89. .slide-image {
  90. display: block;
  91. margin: 0 auto;
  92. width: 492rpx;
  93. height: 203rpx;
  94. border-radius: 10rpx;
  95. }
  96. .slide-summary {
  97. display: flex;
  98. justify-content: space-between;
  99. margin-top: 15rpx;
  100. overflow: hidden;
  101. }
  102. .slide-title {
  103. /* margin: 0 auto; */
  104. width: 65%;
  105. height: 32rpx;
  106. line-height: 32rpx;
  107. display: block;
  108. /* text-align: left; */
  109. color: #393939;
  110. font-size: 24rpx;
  111. font-weight: 500;
  112. /* letter-spacing: 4rpx; */
  113. margin-left: 10rpx;
  114. /* font-family: MicrosoftYaHei; */
  115. overflow: hidden;
  116. text-overflow: ellipsis;
  117. white-space: nowrap;
  118. }
  119. .slide-tip {
  120. width: 130rpx;
  121. height: 32rpx;
  122. display: block;
  123. text-align: left;
  124. color: #6d6d6d;
  125. font-size: 24rpx;
  126. line-height: 32rpx;
  127. font-weight: 500;
  128. margin-right: 10rpx;
  129. }
  130. .searchSection {
  131. width: 100%;
  132. height: 84rpx;
  133. display: flex;
  134. align-items: center;
  135. margin-top: 16rpx;
  136. /* background: #fff */
  137. padding: 0 15rpx;
  138. box-sizing: border-box;
  139. }
  140. .searchSection input {
  141. display: flex;
  142. width: 500rpx;
  143. height: 80rpx;
  144. border-radius: 40rpx;
  145. background: #fff;
  146. color: #717171;
  147. font-size: 28rpx;
  148. /* margin-left: 14rpx; */
  149. padding-left: 25rpx;
  150. }
  151. .searchSection .searchBtn {
  152. /* background: #fff; */
  153. position: absolute;
  154. z-index: 2;
  155. left: 250rpx;
  156. width: 56rpx;
  157. height: 56rpx;
  158. border: 1rpx solid rgba(255, 255, 255, 0);
  159. }
  160. .searchSection .searchBtn image {
  161. display: block;
  162. width: 34rpx;
  163. height: 34rpx;
  164. margin: 10rpx auto;
  165. }
  166. .searchSection .allBooks {
  167. font-size: 30rpx;
  168. color: #fff;
  169. font-weight: 800;
  170. /* font-family: PingFangSC-regular; */
  171. width: 200rpx;
  172. text-align: center;
  173. margin-left: 20rpx;
  174. height: 80rpx;
  175. line-height: 80rpx;
  176. border-radius: 40rpx;
  177. background: #ff890a;
  178. }
  179. .hotSection {
  180. width: 100%;
  181. /* height: 50rpx; */
  182. /* background: #fff; */
  183. background: rgba(240, 241, 245, 1);
  184. margin-top: 10rpx;
  185. }
  186. .hotSection .title {
  187. display: flex;
  188. align-items: center;
  189. justify-content: space-between;
  190. padding: 10rpx 22rpx 20rpx;
  191. }
  192. .hotSection .leftWrapper {
  193. display: flex;
  194. align-items: center;
  195. }
  196. .hotSection .title image {
  197. width: 54rpx;
  198. height: 60rpx;
  199. margin-left: 14rpx;
  200. }
  201. .hotSection .title .recommendTag {
  202. width: 38rpx;
  203. height: 34rpx;
  204. }
  205. .hotSection .title text {
  206. width: 224rpx;
  207. /* letter-spacing: 4rpx; */
  208. height: 40rpx;
  209. margin-left: 16rpx;
  210. font-size: 32rpx;
  211. line-height: 40rpx;
  212. /* font-family: PingFangSC-regular; */
  213. color: #444;
  214. }
  215. .hotSection .title .moreBtn {
  216. display: flex;
  217. flex-direction: row;
  218. float: right;
  219. width: 100rpx;
  220. height: 38rpx;
  221. font-size: 28rpx;
  222. color: #444;
  223. align-items: center;
  224. }
  225. .title .moreBtn image {
  226. width: 16rpx;
  227. height: 28rpx;
  228. }
  229. /* // 热门推荐 */
  230. .recommdSection {
  231. width: 100%;
  232. /* height: 50rpx; */
  233. /* background: #fff; */
  234. background: rgba(240, 241, 245, 1);
  235. /* margin-top: 10rpx; */
  236. }
  237. .recommdSection .recommd-title {
  238. width: 100%;
  239. height: 74rpx;
  240. color: #393939;
  241. font-size: 30rpx;
  242. line-height: 89rpx;
  243. text-indent: 30rpx;
  244. font-weight: 800;
  245. }
  246. .recommdSection .leftWrapper {
  247. display: flex;
  248. align-items: center;
  249. }
  250. .recommdSection .title image {
  251. width: 38rpx;
  252. height: 44rpx;
  253. margin-left: 14rpx;
  254. }
  255. .recommdSection .title .recommendTag {
  256. width: 38rpx;
  257. height: 34rpx;
  258. }
  259. .recommdSection .title text {
  260. width: 224rpx;
  261. /* letter-spacing: 4rpx; */
  262. height: 40rpx;
  263. margin-left: 16rpx;
  264. font-size: 32rpx;
  265. line-height: 40rpx;
  266. /* font-family: PingFangSC-regular; */
  267. color: #444;
  268. }
  269. .recommdSection .title .moreBtn {
  270. display: block;
  271. float: right;
  272. width: 80rpx;
  273. height: 38rpx;
  274. font-size: 28rpx;
  275. color: #6e6e6e;
  276. }
  277. /* 我的课程 */
  278. .myCourseSection {
  279. width: 720rpx;
  280. height: 410rpx;
  281. margin: 15rpx auto 0;
  282. background: #fff;
  283. border-radius: 20rpx;
  284. position: relative;
  285. }
  286. .title-regular {
  287. width: 121rpx;
  288. height: 46rpx;
  289. display: flex;
  290. align-items: center;
  291. color: #393939;
  292. font-size: 30rpx;
  293. border-bottom: solid 5rpx #12c962;
  294. font-weight: 800;
  295. position: absolute;
  296. left: 16rpx;
  297. top: 6rpx;
  298. }
  299. .swiper-title {
  300. left: 32rpx;
  301. }
  302. .swiper-dots-wrapper {
  303. display: flex;
  304. position: absolute;
  305. right: 13rpx;
  306. top: 17rpx;
  307. }
  308. .swiper-dots {
  309. width: 28rpx;
  310. height: 28rpx;
  311. background: #D0D0D0;
  312. border-radius: 50%;
  313. font-size: 20rpx;
  314. line-height: 28rpx;
  315. text-align: center;
  316. color: #fff;
  317. font-weight: 800;
  318. margin-right: 5rpx;
  319. }
  320. .swiper-dots text {
  321. width: 100%;
  322. height: 100%;
  323. line-height: 100%;
  324. text-align: center;
  325. }
  326. .dot-active {
  327. background: #12c962;
  328. }
  329. .myCourseSection .myCoursePlaceHolder {
  330. width: 100%;
  331. height: 100%;
  332. }
  333. .myCourseSection .myCoursePlaceHolder image {
  334. width: 100%;
  335. height: 100%;
  336. }
  337. .book-box {
  338. display: flex;
  339. width: 100%;
  340. height: 328rpx;
  341. flex-wrap: wrap;
  342. flex-direction: row;
  343. overflow-x: hidden;
  344. /* justify-content: space-around; */
  345. align-items: center;
  346. overflow: hidden;
  347. /* padding: 0 20rpx; */
  348. box-sizing: border-box;
  349. position: absolute;
  350. top: 64rpx;
  351. }
  352. .book-item {
  353. position: relative;
  354. display: flex;
  355. /* margin-right: 35rpx; */
  356. flex-direction: column;
  357. justify-content: space-between;
  358. width: 214rpx;
  359. height: 330rpx;
  360. margin-left: 2.7%;
  361. }
  362. .book-item .book-img {
  363. width: 214rpx;
  364. height: 278rpx;
  365. }
  366. .book-item .book-title {
  367. /* margin-top: 20rpx; */
  368. color: #393939;
  369. text-align: center;
  370. font-size: 30rpx;
  371. /* font-weight: 800; */
  372. line-height: 36rpx;
  373. margin-top: 16rpx;
  374. }
  375. .xiaodu-dialog {
  376. position:fixed;
  377. left:0;
  378. top:0;
  379. width:100%;
  380. height:100%;
  381. background:rgba(0, 0, 0, .8);
  382. z-index:999999;
  383. }
  384. .dialog-img {
  385. width: 510rpx;
  386. height: 893rpx;
  387. position: fixed;
  388. top: 100rpx;
  389. left: 50%;
  390. transform: translate(-50%);
  391. z-index: 9999999;
  392. }
  393. .dialog-circle {
  394. color: #fff;
  395. background: #ff6b00;
  396. width: 512rpx;
  397. height: 72rpx;
  398. border-radius: 72rpx;
  399. margin: 0 auto;
  400. text-align: center;
  401. line-height: 72rpx;
  402. font-size: 34rpx;
  403. position: fixed;
  404. bottom: 120rpx;
  405. left: 50%;
  406. transform: translate(-50%);
  407. z-index: 9999999;
  408. }