learning.wxss 3.0 KB

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