index.wxss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. .message {
  2. text-align: center;
  3. align-self: start;
  4. }
  5. .message .noMessage {
  6. background-color: #fff;
  7. }
  8. .message .noMessage .picture {
  9. width: 414rpx;
  10. height: 336rpx;
  11. margin: 20rpx auto;
  12. }
  13. .message .noMessage .picture image {
  14. width: 100%;
  15. height: 100%;
  16. }
  17. .message .list {
  18. margin: auto;
  19. }
  20. .message .list .item {
  21. background-color: #fff;
  22. height: 148rpx;
  23. margin-bottom: 12rpx;
  24. display: flex;
  25. padding-top: 22rpx;
  26. width: 100%;
  27. padding-left: 20rpx;
  28. }
  29. .message .list .item .icon {
  30. width: 104rpx;
  31. height: 104rpx;
  32. }
  33. .message .list .item .icon image {
  34. width: 100%;
  35. height: 100%;
  36. border-radius: 50%;
  37. }
  38. .message .list .item .content {
  39. margin-left: 20rpx;
  40. width: 82%;
  41. }
  42. .message .list .item .content .header {
  43. display: flex;
  44. margin: 20rpx 0;
  45. }
  46. .message .list .item .content .title {
  47. font-size: 32rpx;
  48. width: 50%;
  49. text-align: left;
  50. }
  51. .message .list .item .content .color_read {
  52. color: #a1a1a1;
  53. }
  54. .message .list .item .content .header .time {
  55. font-size: 26rpx;
  56. color: #a1a1a1;
  57. width: 50%;
  58. text-align: right;
  59. margin-right: 20rpx;
  60. }
  61. .message .list .item .content .header .from {
  62. font-size: 26rpx;
  63. color: #a1a1a1;
  64. text-align: left;
  65. }