messageSystem.wxss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. @charset "UTF-8";
  2. /* 需要放到文件最上面 */
  3. /* 水平间距 */
  4. /* 水平间距 */
  5. /*
  6. 以下变量是默认值,如不需要修改可以不用给下面的变量重新赋值
  7. */
  8. /* 水平间距 */
  9. .message-list {
  10. margin-top: 30rpx;
  11. }
  12. .message-list .message-item {
  13. background: #fff;
  14. display: flex;
  15. padding: 24rpx 30rpx;
  16. position: relative;
  17. }
  18. .message-list .message-item::before {
  19. content: '';
  20. position: absolute;
  21. bottom: 0;
  22. right: 0;
  23. left: 150rpx;
  24. height: 2rpx;
  25. background: #d9d9d9;
  26. }
  27. .message-list .message-system-icon {
  28. width: 100rpx;
  29. height: 100rpx;
  30. border-radius: 16rpx;
  31. text-align: center;
  32. line-height: 100rpx;
  33. background: #08979c;
  34. }
  35. .message-list .message-image {
  36. width: 100rpx;
  37. height: 100rpx;
  38. border-radius: 16rpx;
  39. overflow: hidden;
  40. }
  41. .message-list .message-content {
  42. flex: 1;
  43. width: 0;
  44. margin-left: 20rpx;
  45. display: flex;
  46. flex-direction: column;
  47. justify-content: center;
  48. }
  49. .message-list .message-title {
  50. font-size: 32rpx;
  51. font-weight: 600;
  52. margin-bottom: 10rpx;
  53. }
  54. .message-list .message-sub-content {
  55. font-weight: 300;
  56. color: #8c8c8c;
  57. }
  58. .message-list .message-date {
  59. position: absolute;
  60. top: 34rpx;
  61. right: 30rpx;
  62. font-size: 24rpx;
  63. font-weight: 300;
  64. color: #8c8c8c;
  65. }