learning.wxss 2.9 KB

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