baike.wxss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /* pages/tlb/tlb.wxss */
  2. .top_bg {
  3. position: relative;
  4. }
  5. .top_bg>image{
  6. width: 100%;
  7. }
  8. .top_bg .top_title{
  9. position: absolute;
  10. left: 0;
  11. right: 0;
  12. margin: auto;
  13. color: #fff;
  14. text-align: center;
  15. top: 20rpx;
  16. font-size: 46rpx;
  17. font-weight: 600;
  18. }
  19. .top_title text{
  20. display: block;
  21. font-size: 25rpx;
  22. color: #fff;
  23. font-weight: 400;
  24. }
  25. .tab{
  26. background: #fff;
  27. padding:0 20rpx;
  28. display: flex;
  29. border-bottom: 1px solid #f2f2f2;
  30. position: relative;
  31. top: -40rpx;
  32. border-radius: 20rpx;
  33. justify-content: space-between;
  34. }
  35. .tab view{
  36. font-size: 28rpx;
  37. color: #333;
  38. line-height: 80rpx;
  39. transition: all .1s linear;
  40. margin-right: 30rpx;
  41. font-weight: 500;
  42. }
  43. .tab .act{
  44. color: #FF583D;
  45. border-bottom: 2px solid #FF583D;
  46. }
  47. .number{
  48. width: 38rpx;
  49. display: inline-block;
  50. text-align: center;
  51. color: #999;
  52. font-size: 24rpx;
  53. font-weight: 600;
  54. position: relative;
  55. top: -3rpx;
  56. }
  57. image.number{
  58. top: 4rpx;
  59. margin-right: 10rpx;
  60. }
  61. scroll-view{
  62. height: calc(100vh - 285rpx);
  63. position: relative;
  64. top: -20rpx;
  65. }
  66. .list{
  67. color: #333;
  68. font-size: 24rpx;
  69. margin-bottom: 20rpx;
  70. padding: 0 20rpx 20rpx;
  71. font-weight: 500;
  72. border-bottom: 1px solid #f2f2f2;
  73. }
  74. .list text{
  75. margin-right: 10rpx;
  76. }
  77. .info{
  78. display: flex;
  79. margin-top: 10rpx;
  80. }
  81. .info image{
  82. width: 200rpx;
  83. height: 200rpx;
  84. border-radius: 10rpx;
  85. }
  86. .info text{
  87. display: block;
  88. width: 70%;
  89. padding: 20rpx;
  90. color: #666;
  91. text-overflow: -o-ellipsis-lastline;
  92. overflow: hidden;text-overflow: ellipsis;display: -webkit-box;
  93. -webkit-line-clamp: 3;-webkit-box-orient: vertical;align-content: center;
  94. height: 120rpx;
  95. }