Index.wxss 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. .container {
  2. background-color: #f3f3f3;
  3. }
  4. .tabBox {
  5. background-color: #3e6ffd;
  6. padding: 0 20rpx;
  7. line-height: 48rpx;
  8. overflow-x: auto;
  9. white-space: nowrap;
  10. }
  11. .tabItem {
  12. padding: 20rpx 30rpx;
  13. margin: 16rpx 0;
  14. display: inline-block;
  15. width: auto;
  16. text-align: center;
  17. color: #fff;
  18. background-color: #6d91ff;
  19. font-size: 28rpx;
  20. position: relative;
  21. border-radius: 20rpx;
  22. }
  23. .tabItem + .tabItem{
  24. margin-left: 30rpx;
  25. }
  26. .active {
  27. color: #3e6ffd;
  28. background-color: #fff;
  29. font-weight: bold;
  30. box-shadow: 4rpx 5rpx 12rpx 0rpx #243979;
  31. }
  32. .hazardPublicityBox{
  33. color: #3e6ffd;
  34. margin: 30rpx 20rpx 0;
  35. }
  36. .hazardPublicityInfo{
  37. padding: 30rpx;
  38. border-radius: 10rpx;
  39. background-color: #fff;
  40. }
  41. .hazardPublicityTitle{
  42. color: #04a8f0;
  43. width: 100%;
  44. line-height: 46rpx;
  45. font-size: 28rpx;
  46. font-weight: bold;
  47. border-bottom: 2rpx #f1f1f1 solid;
  48. padding-bottom: 20rpx;
  49. display: flex;
  50. justify-content: space-between;
  51. align-items: center;
  52. }
  53. .contentBox {
  54. position: relative;
  55. height: calc(100vh - 250rpx);
  56. }
  57. .listInfo {
  58. margin: 30rpx 20rpx;
  59. padding: 30rpx;
  60. border-radius: 10rpx;
  61. background-color: #fff;
  62. }
  63. .listTitle {
  64. color: #000405;
  65. width: 100%;
  66. line-height: 46rpx;
  67. font-size: 32rpx;
  68. font-weight: bold;
  69. border-bottom: 2rpx #f1f1f1 solid;
  70. padding-bottom: 20rpx;
  71. white-space: nowrap;
  72. overflow: hidden;
  73. text-overflow: ellipsis;
  74. }
  75. .listContent{
  76. position: relative;
  77. padding-top: 20rpx;
  78. font-size: 28rpx;
  79. }
  80. .listContentImg{
  81. width: 40rpx;
  82. height: 40rpx;
  83. position: absolute;
  84. top: 24rpx;
  85. left: 0rpx;
  86. }
  87. .listContentText{
  88. padding-left: 50rpx;
  89. color: #333;
  90. line-height: 46rpx;
  91. white-space: pre-line;
  92. overflow: hidden;
  93. text-overflow: ellipsis;
  94. display: -webkit-box;
  95. -webkit-box-orient: vertical;
  96. /*行向垂直排列*/
  97. -webkit-line-clamp: 2;
  98. }