message.wxss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. /* pages/message/message.wxss */
  2. .msgList {
  3. padding: 20rpx 24rpx 0;
  4. }
  5. .msgItem {
  6. background: #fff;
  7. border-radius: 10rpx;
  8. box-shadow: 0 0 20rpx rgba(229, 229, 229, .23);
  9. }
  10. .msgItem+.msgItem {
  11. margin-top: 20rpx;
  12. }
  13. .msgItem .head {
  14. display: flex;
  15. align-items: center;
  16. height: 80rpx;
  17. border-bottom: solid #e5e5e5 1rpx;
  18. }
  19. .msgItem .head .icon {
  20. width: 75rpx;
  21. height: 75rpx;
  22. }
  23. .msgItem .head .text {
  24. font-weight: 450;
  25. font-size: 32rpx;
  26. color: #282828;
  27. }
  28. .msgItem .content {
  29. margin-top: 24rpx;
  30. padding: 0 24rpx;
  31. font-size: 28rpx;
  32. color: #999;
  33. word-break: break-all;
  34. display: -webkit-box;
  35. -webkit-box-orient: vertical;
  36. -webkit-line-clamp: 2;
  37. overflow: hidden;
  38. }
  39. .msgItem .time {
  40. padding: 24rpx;
  41. color: #c4c4c4;
  42. }
  43. .noNews {
  44. padding: 248rpx 0 0;
  45. text-align: center;
  46. }
  47. .noNews .pic {
  48. width: 412rpx;
  49. }
  50. .noLogin {
  51. padding: 200rpx 0;
  52. text-align: center;
  53. }
  54. .noLogin .text {
  55. font-size: 32rpx;
  56. color: #999;
  57. }
  58. .noLogin .btn {
  59. display: block;
  60. margin: 30rpx auto 0 !important;
  61. width: 380rpx;
  62. height: 80rpx;
  63. line-height: 80rpx;
  64. font-size: 32rpx;
  65. color: #fff;
  66. background: #007dff;
  67. }
  68. .tabBar {
  69. position: fixed;
  70. top: 0;
  71. left: 0;
  72. right: 0;
  73. background-color: #fff;
  74. box-shadow: 0 0 10rpx rgba(0, 0, 0, .08);
  75. display: flex;
  76. z-index: 100;
  77. }
  78. .tabBar .item {
  79. position: relative;
  80. flex: 1;
  81. width: 0;
  82. height: 94rpx;
  83. line-height: 94rpx;
  84. font-size: 30rpx;
  85. font-weight: 450;
  86. text-align: center;
  87. }
  88. .tabBar .item::after {
  89. content: "";
  90. position: absolute;
  91. left: 50%;
  92. transform: translateX(-50%);
  93. bottom: 0;
  94. width: 62rpx;
  95. height: 6rpx;
  96. background-color: transparent;
  97. }
  98. .tabBar .item.active {
  99. color: #007dff;
  100. }
  101. .tabBar .active::after {
  102. background-color: #007dff;
  103. }
  104. .listWrap {
  105. margin-top: 94rpx;
  106. }