notice.component.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .header {
  2. padding: 10px;
  3. border-bottom: 1px solid #dfdfdf;
  4. background: white;
  5. .top {
  6. display: flex;
  7. justify-content: space-between;
  8. ion-segment {
  9. justify-content: start;
  10. padding: 0 3.2vw;
  11. position: sticky;
  12. top: 0;
  13. // background: #fd6f6a;
  14. }
  15. // ion-segment-button {
  16. // color: #fd6f6a;
  17. // --indicator-color: #fd6f6a;
  18. // }
  19. .more {
  20. width: 50px;
  21. margin: 0 10px;
  22. display: flex;
  23. align-items: center;
  24. justify-content: space-around;
  25. img {
  26. width: 20px;
  27. height: 20px;
  28. }
  29. ion-button {
  30. --background: white;
  31. --background-hover: white;
  32. --background-activated: white;
  33. --background-focused: white;
  34. --color: #000;
  35. }
  36. }
  37. }
  38. }
  39. .content {
  40. --padding-bottom: 100px;
  41. --background: #f8f8f8;
  42. ion-segment-content {
  43. display: flex;
  44. align-items: center;
  45. justify-content: center;
  46. }
  47. .notice-list {
  48. width: 100%;
  49. height: 100%;
  50. display: flex;
  51. flex-direction: column;
  52. padding: 10px;
  53. .li {
  54. display: flex;
  55. margin-bottom: 10px;
  56. .avatar{
  57. margin-right: 10px;
  58. flex-shrink: 0;
  59. width: 36px;
  60. height: 36px;
  61. }
  62. .li-right {
  63. flex: 1;
  64. display: flex;
  65. flex-direction: column;
  66. // border-bottom: 1px solid #e5e5e5;
  67. // padding-bottom: 6px;
  68. .name {
  69. display: flex;
  70. justify-content: space-between;
  71. .time {
  72. color: #676767;
  73. font-size: 12px;
  74. }
  75. }
  76. .message-content {
  77. color: #676767;
  78. margin-top: 6px;
  79. }
  80. }
  81. }
  82. ion-avatar {
  83. margin-right: 10px;
  84. flex-shrink: 0;
  85. }
  86. }
  87. }
  88. ion-popover {
  89. --width: 120px;
  90. }
  91. .clear {
  92. // padding: 4px 10px;
  93. // text-align: center;
  94. font-size: 14px;
  95. color: #676767;
  96. }