knowledge.wxss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. /* pages/knowledge/knowledge.wxss */
  2. .search{
  3. width: 70%;
  4. display: inline-block;
  5. }
  6. picker{
  7. width: 28%;
  8. background: #fff;
  9. display: inline-block;
  10. line-height: 64rpx;
  11. border-radius: 18rpx;
  12. margin-left: 2%;
  13. vertical-align: top;
  14. text-align: center;
  15. }
  16. .picker{
  17. color: #999;
  18. font-size: 26rpx;
  19. }
  20. .tab{
  21. display: flex;
  22. /* justify-content: space-between; */
  23. margin-bottom: 20rpx;
  24. }
  25. .tab text{
  26. font-size: 30rpx;
  27. color: #666;
  28. margin-right: 40rpx;
  29. }
  30. .tab .active{
  31. color: #3780CD;
  32. }
  33. .list{
  34. /* box-shadow: 0px 2rpx 9rpx 0px rgba(0, 0, 0, 0.2); */
  35. border-radius: 20rpx;
  36. display: flex;
  37. /* padding: 20rpx; */
  38. /* box-shadow: 0 0 15rpx 0px rgba(0, 0, 0, 0.2); */
  39. /* margin: 0 20rpx 40rpx; */
  40. border-bottom: 1px solid #F0F0F0;
  41. padding: 28rpx 0;
  42. }
  43. .list image{
  44. width: 20%;
  45. max-height: 100px;
  46. }
  47. .list>view{
  48. width: 80%;
  49. padding-left: 20rpx;
  50. vertical-align: middle;
  51. }
  52. .list .title{
  53. margin-bottom: 20rpx;
  54. text-overflow: ellipsis;
  55. overflow: hidden;
  56. white-space: nowrap;
  57. }
  58. .list text{
  59. color: #999;
  60. display: block;
  61. text-overflow: ellipsis;
  62. overflow: hidden;
  63. white-space: nowrap;
  64. font-size: 26rpx;
  65. }
  66. .ly{
  67. margin-bottom: 28rpx;
  68. }
  69. .ly text{
  70. display: block;
  71. color: #666;
  72. font-size: 22rpx;
  73. }
  74. .ly view{
  75. float: right;
  76. text-align: right;
  77. }
  78. .ly view text{
  79. font-size: 18rpx;
  80. }
  81. scroll-view{
  82. background: #fff;
  83. padding: 0 20rpx;
  84. border-radius: 18rpx;
  85. height: 100%;
  86. }