index.wxss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. page {
  2. background-color: #ffffff;
  3. }
  4. /* 信息框 */
  5. .msg-item-box {
  6. display: flex;
  7. align-items: center;
  8. width: 100%;
  9. height: 160rpx;
  10. padding: 0 24rpx 0 30rpx;
  11. box-sizing: border-box;
  12. }
  13. /* 用户头像 */
  14. .userImage {
  15. width: 100rpx;
  16. height: 100rpx;
  17. overflow: hidden;
  18. flex-shrink: 0;
  19. }
  20. .userImage>image {
  21. width: 100%;
  22. height: 100%;
  23. }
  24. /* 用户文字 */
  25. .userText {
  26. flex: 1;
  27. height: 100rpx;
  28. margin-left: 30rpx;
  29. }
  30. .userText-name {
  31. width: 430rpx;
  32. height: 44rpx;
  33. font-size: 32rpx;
  34. color: #000000;
  35. line-height: 44rpx;
  36. }
  37. .userText-msg {
  38. width: 430rpx;
  39. height: 40rpx;
  40. font-size: 28rpx;
  41. color: rgba(0, 0, 0, .4);
  42. line-height: 40rpx;
  43. margin-top: 8rpx;
  44. }
  45. /* 信息数据统计 */
  46. .statistics {
  47. display: flex;
  48. flex-direction: column;
  49. align-items: flex-end;
  50. height: 100rpx;
  51. width: 120rpx;
  52. flex-shrink: 0px;
  53. }
  54. .msg-time {
  55. height: 34rpx;
  56. font-size: 24rpx;
  57. color: rgba(0, 0, 0, .4);
  58. line-height: 34rpx;
  59. margin-top: 8rpx;
  60. }
  61. .msg-count {
  62. height: 30rpx;
  63. text-align: center;
  64. line-height: 30rpx;
  65. background-color: #4DC2D4;
  66. border-radius:15rpx;
  67. font-size: 20rpx;
  68. font-family: PingFangSC-Medium, PingFang SC;
  69. color: #FFFFFF;
  70. margin-top: 18rpx;
  71. padding: 0 10rpx;
  72. }