news.wxss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. .main {
  2. float: left;
  3. width: 100%;
  4. height: 100%;
  5. background-color: #f6f6f6;
  6. }
  7. .main .one {
  8. position: fixed;
  9. z-index: 9999;
  10. width: 100%;
  11. height: 80rpx;
  12. line-height: 80rpx;
  13. background-color: #409eff;
  14. color: #ffffff;
  15. text-align: center;
  16. }
  17. .main .two {
  18. position: absolute;
  19. top: 80rpx;
  20. width: 100%;
  21. }
  22. .main .two .companyNews {
  23. float: left;
  24. width: 94%;
  25. margin: 10rpx 20rpx;
  26. }
  27. .main .two .companyNews .list {
  28. float: left;
  29. width: 97%;
  30. padding: 10rpx;
  31. box-shadow: 0 0 8rpx #ccc;
  32. border-radius: 10rpx;
  33. margin: 0 0 20rpx 0;
  34. }
  35. .main .two .companyNews .list .title {
  36. float: left;
  37. width: 100%;
  38. padding: 10rpx 0;
  39. }
  40. .main .two .companyNews .list .title text:nth-child(1) {
  41. float: left;
  42. width: 70%;
  43. font-weight: bold;
  44. }
  45. .main .two .companyNews .list .title text:nth-child(2) {
  46. float: right;
  47. width: 30%;
  48. text-align: right;
  49. }
  50. .main .two .companyNews .list .brief {
  51. float: left;
  52. width: 100%;
  53. font-size: 30rpx;
  54. color: #666;
  55. margin: 10rpx 0 0 0;
  56. height: 80rpx;
  57. overflow: hidden;
  58. text-overflow: ellipsis;
  59. -webkit-line-clamp: 2;
  60. word-break: break-all;
  61. display: -webkit-box;
  62. -webkit-box-orient: vertical;
  63. }
  64. .main .two .workNews {
  65. float: left;
  66. width: 94%;
  67. margin: 10rpx 20rpx;
  68. }
  69. .main .two .workNews .list {
  70. float: left;
  71. width: 97%;
  72. padding: 10rpx;
  73. box-shadow: 0 0 8rpx #ccc;
  74. border-radius: 10rpx;
  75. margin: 0 0 20rpx 0;
  76. }
  77. .main .two .workNews .list .title {
  78. font-size: 30rpx;
  79. }
  80. .main .two .workNews .list .other {
  81. float: left;
  82. width: 100%;
  83. }
  84. .main .two .workNews .list .other text {
  85. float: left;
  86. width: 49%;
  87. font-size: 25rpx;
  88. color: #666;
  89. padding: 10rpx 0rpx;
  90. }
  91. .main .two .workNews .list .other text:last-child {
  92. text-align: right;
  93. }
  94. .main .two .jobsNews {
  95. float: left;
  96. width: 94%;
  97. margin: 10rpx 20rpx;
  98. }
  99. .main .two .jobsNews .list {
  100. float: left;
  101. width: 97%;
  102. padding: 10rpx;
  103. box-shadow: 0 0 8rpx #ccc;
  104. border-radius: 10rpx;
  105. margin: 0 0 20rpx 0;
  106. }
  107. .main .two .jobsNews .list .image {
  108. float: left;
  109. width: 25%;
  110. }
  111. .main .two .jobsNews .list .image image {
  112. width: 150rpx;
  113. height: 150rpx;
  114. border-radius: 10rpx;
  115. }
  116. .main .two .jobsNews .list .other {
  117. float: left;
  118. width: 75%;
  119. }
  120. .main .two .jobsNews .list .other .title {
  121. float: left;
  122. width: 100%;
  123. font-size: 28rpx;
  124. overflow: hidden;
  125. text-overflow: ellipsis;
  126. -webkit-line-clamp: 3;
  127. word-break: break-all;
  128. display: -webkit-box;
  129. -webkit-box-orient: vertical;
  130. margin: 0 0 8rpx 0;
  131. }
  132. .main .two .jobsNews .list .other .type {
  133. float: left;
  134. width: 100%;
  135. font-size: 25rpx;
  136. color: #666;
  137. }
  138. /* .main .two .jobsNews .list .title {
  139. float: left;
  140. width: 75%;
  141. }
  142. .main .two .jobsNews .list .title text {
  143. float: left;
  144. width: 100%;
  145. } */