knowledge.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /* pages/knowledge/knowledge.wxss */
  2. .search{
  3. width: 70%;
  4. display: inline-block;
  5. margin-bottom: 20rpx;
  6. }
  7. .menu{
  8. width: 28%;
  9. background: #fff;
  10. display: inline-block;
  11. line-height: 64rpx;
  12. border-radius: 15rpx;
  13. margin-left: 2%;
  14. vertical-align: top;
  15. position: relative;
  16. }
  17. .picker{
  18. text-align: center;
  19. color: #999;
  20. font-size: 26rpx;
  21. }
  22. .tab{
  23. display: flex;
  24. /* justify-content: space-between; */
  25. margin-bottom: 20rpx;
  26. }
  27. .tab text{
  28. font-size: 30rpx;
  29. color: #666;
  30. margin-right: 40rpx;
  31. }
  32. .tab .active{
  33. color: #3780CD;
  34. }
  35. .list{
  36. /* box-shadow: 0px 2rpx 9rpx 0px rgba(0, 0, 0, 0.2); */
  37. border-radius: 20rpx;
  38. display: flex;
  39. /* padding: 20rpx; */
  40. /* box-shadow: 0 0 15rpx 0px rgba(0, 0, 0, 0.2); */
  41. /* margin: 0 20rpx 40rpx; */
  42. border-bottom: 1px solid #F0F0F0;
  43. padding: 28rpx 0;
  44. }
  45. .list image{
  46. width: 25%;
  47. height: 210rpx;
  48. }
  49. .list>view{
  50. width: 75%;
  51. padding-left: 20rpx;
  52. vertical-align: middle;
  53. }
  54. .list .title{
  55. margin-bottom: 5rpx;
  56. width: 90%;
  57. font-size: 30rpx;
  58. /* text-overflow: ellipsis;
  59. overflow: hidden;
  60. white-space: nowrap; */
  61. }
  62. /* .list rich-text{
  63. width: 100%;
  64. display: block;
  65. text-overflow: ellipsis;
  66. overflow: hidden;
  67. white-space: nowrap;
  68. } */
  69. .list text{
  70. color: #999;
  71. display: block;
  72. overflow: hidden;
  73. text-overflow: ellipsis;
  74. display: -webkit-box;
  75. -webkit-line-clamp: 2;
  76. -webkit-box-orient: vertical;
  77. white-space: normal;
  78. font-size: 26rpx;
  79. }
  80. .ly{
  81. margin-bottom: 18rpx;
  82. }
  83. .ly text{
  84. display: block;
  85. color: #666;
  86. font-size: 24rpx;
  87. padding: 3rpx 0;
  88. }
  89. .ly view{
  90. float: right;
  91. text-align: right;
  92. }
  93. .ly view text{
  94. font-size: 22rpx;
  95. }
  96. scroll-view{
  97. background: #fff;
  98. padding: 0 20rpx;
  99. border-radius: 18rpx;
  100. height: 100%;
  101. }
  102. .up{
  103. width: 0;
  104. height: 0;
  105. border: 10rpx solid transparent;
  106. border-top: 12rpx solid #999;
  107. display: inline-block;
  108. position: relative;
  109. top: 3px;
  110. }
  111. .drop_menu{
  112. background: #fff;
  113. box-shadow: 2px 2px 10rpx 1px rgba(0, 0, 0, 0.2);
  114. position: absolute;
  115. width: 100%;
  116. right: 0;
  117. border-radius: 15rpx;
  118. z-index: 9;
  119. top: 70rpx;
  120. }
  121. .drop_menu text{
  122. display: block;
  123. line-height: 60rpx;
  124. text-align: center;
  125. color: #999;
  126. }
  127. .myswiper{
  128. height: calc(100vh - 186rpx);
  129. }
  130. .more{
  131. text-align:center;
  132. color:#999;
  133. padding:5rpx 0;
  134. }
  135. .back-img {
  136. width: 100%;
  137. height: 100vh;
  138. }