index.wxss 2.2 KB

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