index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. page {
  2. background-color: #fff !important;
  3. padding-bottom: 50px;
  4. }
  5. .msg-box {
  6. border-bottom: 2rpx solid rgba(151, 151, 151, .1);
  7. }
  8. .msg-box navigator:first-child .borTop::after {
  9. content: ' ';
  10. height: 0;
  11. }
  12. /* pages/tabbar-pages/message/index.wxss */
  13. .nav-class {
  14. box-shadow: 0px 10rpx 10rpx 0px rgba(170, 170, 170, 0.15);
  15. width: 100vw;
  16. height: 1rpx;
  17. margin-top: -1rpx;
  18. }
  19. /* tabs标签默认态 */
  20. .tab-class {
  21. font-size: 28rpx !important;
  22. font-family: PingFangSC-Regular, PingFang SC !important;
  23. }
  24. /* tabs选中 */
  25. .tab-active-class {
  26. font-size: 32rpx !important;
  27. font-family: PingFangSC-Medium, PingFang SC !important;
  28. font-weight: 550 !important;
  29. }
  30. navigator {
  31. display: flex;
  32. align-items: center;
  33. width: 100vw;
  34. height: 160rpx;
  35. border-radius: 10rpx;
  36. overflow: hidden;
  37. }
  38. navigator>view {
  39. display: flex;
  40. justify-content: space-between;
  41. }
  42. .borTop {
  43. position: relative;
  44. margin-left: 30rpx;
  45. }
  46. .borTop::after {
  47. content: '';
  48. display: block;
  49. position: absolute;
  50. top: -30rpx;
  51. right: 0;
  52. height: 2rpx;
  53. width: 100%;
  54. background-color: rgba(151, 151, 151, .1);
  55. }
  56. .msgImg {
  57. position: relative;
  58. width: 100rpx;
  59. height: 100rpx;
  60. margin-left: 30rpx;
  61. border-radius: 8rpx;
  62. }
  63. .msgImg image {
  64. width: 100%;
  65. height: 100%;
  66. overflow: hidden;
  67. }
  68. .red-dot {
  69. position: absolute;
  70. width: 24rpx;
  71. height: 24rpx;
  72. background: #FF0000;
  73. border-radius: 50%;
  74. top: 0;
  75. right: 0;
  76. transform: translate(25%, -25%);
  77. }
  78. .msgText {
  79. height: 100rpx;
  80. width: 450rpx;
  81. }
  82. .msgText .title {
  83. height: 44rpx;
  84. line-height: 44rpx;
  85. font-size: 32rpx;
  86. font-family: PingFangSC-Regular, PingFang SC;
  87. color: #000000;
  88. margin-top: 4rpx;
  89. }
  90. .msgText .msg {
  91. height: 40rpx;
  92. line-height: 40rpx;
  93. font-size: 28rpx;
  94. font-family: PingFangSC-Regular, PingFang SC;
  95. color: rgba(0, 0, 0, .4);
  96. margin-top: 8rpx;
  97. }
  98. .msgTime {
  99. display: flex;
  100. align-items: center;
  101. margin-right: 22rpx;
  102. font-size: 24rpx;
  103. height: 44rpx;
  104. font-family: PingFangSC-Regular, PingFang SC;
  105. color: rgba(0, 0, 0, .4);
  106. line-height: 34rpx;
  107. margin-top: 4rpx;
  108. }