index.wxss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /* msg/pages/index/index.wxss */
  2. page {
  3. width: 100%;
  4. min-height: 100%;
  5. }
  6. .container-msg {
  7. width: 100%;
  8. height: 100%;
  9. padding: 30rpx;
  10. box-sizing: border-box;
  11. }
  12. .msgs {
  13. width: 100%;
  14. height: 100%;
  15. padding-bottom: 50rpx;
  16. }
  17. .msgs .msg {
  18. position: relative;
  19. display: flex;
  20. padding: 53rpx 30rpx;
  21. margin-bottom: 20rpx;
  22. background-color: #fff;
  23. border-radius: 16rpx;
  24. font-weight: 400;
  25. font-family: FZZhunYuan-M02S, FZZhunYuan-M02S-Regular;
  26. }
  27. .msgs .msg .tag {
  28. position: absolute;
  29. top: 0;
  30. right: 0;
  31. width: 159rpx;
  32. height: 57rpx;
  33. display: flex;
  34. align-items: center;
  35. justify-content: center;
  36. background: #fff3b6;
  37. font-size: 24rpx;
  38. color: #4c410e;
  39. border-radius: 0rpx 16rpx 0rpx 16rpx;
  40. }
  41. .msgs .msg .icon {
  42. margin-right: 14rpx;
  43. flex-shrink: 0;
  44. }
  45. .msgs .msg .icon .micons {
  46. width: 25rpx;
  47. height: 30rpx;
  48. }
  49. .msgs .msg .icon .micons-active {
  50. width: 33rpx;
  51. height: 32rpx;
  52. }
  53. .msgs .msg .body {
  54. flex: 1;
  55. width: 0;
  56. }
  57. .msgs .msg .body .msg-label {
  58. font-size: 28rpx;
  59. color: #1a1a1a;
  60. margin-bottom: 20rpx;
  61. }
  62. .msgs .msg .body .msg-content {
  63. font-size: 24rpx;
  64. color: #808080;
  65. margin-bottom: 20rpx;
  66. overflow: hidden;
  67. text-overflow: ellipsis;
  68. white-space: nowrap;
  69. }
  70. .msgs .msg .body .msg-time {
  71. font-size: 24rpx;
  72. color: #808080;
  73. }