notice-detail.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. /* 公告详情 */
  2. .notice-detail {
  3. background: #f9f9f9;
  4. padding-bottom: 40px;
  5. }
  6. .notice-detail .notic-box {
  7. display: flex;
  8. align-items: flex-start;
  9. }
  10. .notice-detail .notic-box .det {
  11. flex: 1;
  12. background: #fff;
  13. padding: 30px;
  14. /* margin-right: 20px; */
  15. min-height: 420px;
  16. }
  17. .notice-detail .notic-box .det .tit {
  18. font-size: 20px;
  19. font-weight: 600;
  20. margin-bottom: 20px;
  21. }
  22. .notice-detail .notic-box .det .time-box {
  23. display: flex;
  24. align-items: center;
  25. color: #999;
  26. padding-bottom: 20px;
  27. border-bottom: 1px solid #eee;
  28. }
  29. .notice-detail .notic-box .det .time-box .time {
  30. font-family: arial;
  31. }
  32. .notice-detail .notic-box .det .con {
  33. margin-top: 20px;
  34. font-size: 12px;
  35. color: #999;
  36. line-height: 20px;
  37. word-break: break-word;
  38. }
  39. .notice-detail .notic-box .list-box {
  40. background: #fff;
  41. width: 350px;
  42. }
  43. .notice-detail .notic-box .list-box .more {
  44. display: flex;
  45. align-items: center;
  46. height: 20px;
  47. padding: 20px;
  48. background: #f2f2f2;
  49. cursor: pointer;
  50. }
  51. .notice-detail .notic-box .list-box .more:hover {
  52. background: #eee;
  53. }
  54. .notice-detail .notic-box .list-box .more .text {
  55. font-size: 16px;
  56. flex: 1;
  57. }
  58. .notice-detail .notic-box .list-box .more .arrow {
  59. width: 16px;
  60. height: 16px;
  61. border-radius: 50%;
  62. background: #333;
  63. position: relative;
  64. margin-top: 3px;
  65. }
  66. .notice-detail .notic-box .list-box .more .arrow::after {
  67. position: absolute;
  68. top: 5px;
  69. left: 5px;
  70. display: block;
  71. content: " ";
  72. font-size: 0;
  73. width: 4px;
  74. height: 4px;
  75. border: 1px solid #fff;
  76. border-width: 1px 1px 0 0;
  77. -webkit-transform: rotate(45deg);
  78. -moz-transform: rotate(45deg);
  79. transform: rotate(45deg);
  80. }
  81. .notice-detail .notic-box .list-box .list .item {
  82. padding: 20px 30px;
  83. cursor: pointer;
  84. position: relative;
  85. }
  86. .notice-detail .notic-box .list-box .list .item::after {
  87. position: absolute;
  88. bottom: 0;
  89. left: 30px;
  90. right: 30px;
  91. display: block;
  92. width: auto;
  93. height: 1px;
  94. content: " ";
  95. font-size: 0;
  96. background: #eee;
  97. }
  98. .notice-detail .notic-box .list-box .list .item:hover {
  99. background: #fcfcfc;
  100. }
  101. .notice-detail .notic-box .list-box .list .item:last-child::after {
  102. height: 0;
  103. }
  104. .notice-detail .notic-box .list-box .list .item .tit {
  105. font-weight: 600;
  106. font-size: 14px;
  107. display: -webkit-box;
  108. -webkit-box-orient: vertical;
  109. -webkit-line-clamp: 1;
  110. overflow: hidden;
  111. text-overflow: ellipsis;
  112. }
  113. .notice-detail .notic-box .list-box .list .item .time {
  114. color: #999;
  115. margin-top: 10px;
  116. }
  117. .notice-detail .notic-box .list-box .list .item.arrow-box {
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. height: 26px;
  122. }
  123. .notice-detail .notic-box .list-box .list .item .prev-arrow,
  124. .notice-detail .notic-box .list-box .list .item .next-arrow {
  125. width: 26px;
  126. height: 26px;
  127. border-radius: 50%;
  128. background: #eee;
  129. position: relative;
  130. margin: 0 15px;
  131. cursor: pointer;
  132. }
  133. .notice-detail .notic-box .list-box .list .item .prev-arrow.disable,
  134. .notice-detail .notic-box .list-box .list .item .next-arrow.disable {
  135. opacity: 0.5;
  136. cursor: not-allowed;
  137. }
  138. .notice-detail .notic-box .list-box .list .item .prev-arrow::after,
  139. .notice-detail .notic-box .list-box .list .item .next-arrow::after {
  140. position: absolute;
  141. display: block;
  142. content: " ";
  143. font-size: 0;
  144. width: 6px;
  145. height: 6px;
  146. border: 1px solid #333;
  147. -webkit-transform: rotate(45deg);
  148. -moz-transform: rotate(45deg);
  149. transform: rotate(45deg);
  150. }
  151. .notice-detail .notic-box .list-box .list .item .prev-arrow::after {
  152. left: 11px;
  153. top: 9px;
  154. border-width: 0 0 1px 1px;
  155. }
  156. .notice-detail .notic-box .list-box .list .item .next-arrow::after {
  157. left: 9px;
  158. top: 9px;
  159. border-width: 1px 1px 0 0;
  160. }
  161. /* 公告详情 end */