learning.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. /* pages/learning/learning.wxss */
  2. .search{
  3. width: 70%;
  4. display: inline-block;
  5. margin-bottom: 20rpx;
  6. }
  7. .tab{
  8. display: flex;
  9. justify-content: space-between;
  10. margin: 20rpx 0;
  11. padding: 0 40rpx;
  12. }
  13. .tab text{
  14. font-size: 30rpx;
  15. color: #666;
  16. }
  17. .tab .active{
  18. color: #3780CD;
  19. }
  20. scroll-view{
  21. height: 100%;
  22. }
  23. .part{
  24. background: #fff;
  25. border-radius: 18rpx;
  26. margin-bottom: 20rpx;
  27. padding: 24rpx;
  28. }
  29. .title{
  30. font-size: 34rpx;
  31. color: #333;
  32. margin-bottom: 28rpx;
  33. }
  34. .title text{
  35. float: right;
  36. color: #3780CD;
  37. font-size: 26rpx;
  38. }
  39. .tj{
  40. display: flex;
  41. justify-content: space-between;
  42. }
  43. .tj navigator{
  44. width: 30%;
  45. }
  46. .tj .img_view{
  47. position: relative;
  48. height: 200rpx;
  49. }
  50. .tj image{
  51. width: 100%;
  52. height: 100%;
  53. }
  54. .tj .date_ly{
  55. position: absolute;
  56. right: 0;
  57. bottom: 0;
  58. z-index: 99;
  59. background: rgba(0, 0, 0, 0.2);
  60. width: 100%;
  61. padding: 5rpx;
  62. }
  63. .tj .date_ly text{
  64. color: #fff;
  65. font-size: 18rpx;
  66. display: block;
  67. text-align: right;
  68. }
  69. .tj .tj_name{
  70. color: #333;
  71. font-size: 28rpx;
  72. margin: 20rpx 0;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. display: -webkit-box;
  76. -webkit-line-clamp: 2;
  77. -webkit-box-orient: vertical;
  78. white-space: normal;
  79. height: 79rpx;
  80. line-height: 44rpx;
  81. /* letter-spacing: 2rpx; */
  82. }
  83. .tj text{
  84. display: block;
  85. color: #989898;
  86. font-size: 24rpx;
  87. overflow: hidden;
  88. text-overflow: ellipsis;
  89. display: -webkit-box;
  90. -webkit-line-clamp: 2;
  91. -webkit-box-orient: vertical;
  92. white-space: normal;
  93. }
  94. .list .hy_ly{
  95. width: 65%;
  96. overflow: hidden;
  97. text-overflow: ellipsis;
  98. white-space: nowrap;
  99. }
  100. .list{
  101. /* box-shadow: 0px 2rpx 9rpx 0px rgba(0, 0, 0, 0.2); */
  102. /* border-radius: 20rpx; */
  103. display: flex;
  104. /* padding: 20rpx; */
  105. /* box-shadow: 0 0 15rpx 0px rgba(0, 0, 0, 0.2); */
  106. /* margin: 0 20rpx 40rpx; */
  107. border-bottom: 1px solid #F0F0F0;
  108. padding: 28rpx 0;
  109. }
  110. .list image{
  111. width: 25%;
  112. height: 60px;
  113. }
  114. .list>view{
  115. width: 75%;
  116. vertical-align: top;
  117. padding-left: 25rpx;
  118. }
  119. .list .tt{
  120. margin-bottom: 5rpx;
  121. text-overflow: ellipsis;
  122. overflow: hidden;
  123. white-space: nowrap;
  124. font-size: 32rpx;
  125. }
  126. .list text{
  127. color: #888;
  128. display: block;
  129. overflow: hidden;
  130. text-overflow: ellipsis;
  131. display: -webkit-box;
  132. -webkit-line-clamp: 2;
  133. -webkit-box-orient: vertical;
  134. white-space: normal;
  135. font-size: 26rpx;
  136. }
  137. .list .hd_ly{
  138. margin-bottom: 40rpx;
  139. color: #666;
  140. }
  141. .hd_ly text{
  142. font-size: 18rpx;
  143. float: right;
  144. margin-top: 5rpx;
  145. }
  146. .content{
  147. background: #fff;
  148. border-radius: 18rpx;
  149. padding: 20rpx;
  150. }
  151. .ly{
  152. margin-bottom: 28rpx;
  153. }
  154. .ly text{
  155. display: block;
  156. color: #666;
  157. font-size: 24rpx;
  158. }
  159. .ly view{
  160. float: right;
  161. text-align: right;
  162. }
  163. .menu{
  164. width: 28%;
  165. background: #fff;
  166. display: inline-block;
  167. line-height: 64rpx;
  168. border-radius: 15rpx;
  169. margin-left: 2%;
  170. vertical-align: top;
  171. position: relative;
  172. }
  173. .picker{
  174. text-align: center;
  175. color: #999;
  176. font-size: 26rpx;
  177. }
  178. .up{
  179. width: 0;
  180. height: 0;
  181. border: 10rpx solid transparent;
  182. border-top: 12rpx solid #999;
  183. display: inline-block;
  184. position: relative;
  185. top: 3px;
  186. }
  187. .drop_menu{
  188. background: #fff;
  189. box-shadow: 2px 2px 10rpx 1px rgba(0, 0, 0, 0.2);
  190. position: absolute;
  191. width: 100%;
  192. right: 0;
  193. border-radius: 15rpx;
  194. z-index: 9;
  195. top: 70rpx;
  196. }
  197. .drop_menu text{
  198. display: block;
  199. line-height: 60rpx;
  200. text-align: center;
  201. color: #999;
  202. }
  203. .myswiper{
  204. height: calc(100vh - 206rpx);
  205. }
  206. .more{
  207. text-align:center;
  208. color:#999;
  209. padding:10rpx 0;
  210. }