index.wxss 2.2 KB

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