index.wxss 2.2 KB

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