notice-list.css 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. /* 公告列表 */
  2. .notice-list {
  3. background: #f7f7f7;
  4. padding-bottom: 40px;
  5. }
  6. .notice-list .list {
  7. background: #fff;
  8. }
  9. .notice-list .list .item {
  10. padding: 25px 30px;
  11. cursor: pointer;
  12. display: flex;
  13. position: relative;
  14. }
  15. .notice-list .list .item::after {
  16. position: absolute;
  17. bottom: 0;
  18. left: 30px;
  19. right: 30px;
  20. display: block;
  21. width: auto;
  22. height: 1px;
  23. content: " ";
  24. font-size: 0;
  25. background: #eee;
  26. }
  27. .notice-list .list .item:last-child::after {
  28. height: 0;
  29. }
  30. .notice-list .list .item .tit {
  31. flex: 1;
  32. font-size: 14px;
  33. display: -webkit-box;
  34. -webkit-box-orient: vertical;
  35. -webkit-line-clamp: 1;
  36. overflow: hidden;
  37. text-overflow: ellipsis;
  38. }
  39. .notice-list .list .item:hover .tit {
  40. font-weight: 600;
  41. }
  42. .notice-list .list .item .time {
  43. color: #999;
  44. }
  45. .notice-list .list .item:hover .time {
  46. color: #000;
  47. }
  48. .notice-list .pages {
  49. justify-content: center;
  50. }
  51. .empty-tips {
  52. text-align: center;
  53. color: #999;
  54. }
  55. .empty-tips > img {
  56. width: 250px;
  57. height: 200px;
  58. }
  59. /* 公告列表 end */