index.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. .item {
  2. width: 100vw;
  3. background-color: #ffffff;
  4. margin-bottom: 20rpx;
  5. .content {
  6. padding: 20rpx 0;
  7. padding-left: 30rpx;
  8. border-bottom: 1px solid #DDD;
  9. box-sizing: border-box;
  10. .user {
  11. display: flex;
  12. width: 100%;
  13. .portrait {
  14. width: 64rpx;
  15. height: 64rpx;
  16. text-align: center;
  17. line-height: 64rpx;
  18. background: #3874F6;
  19. border-radius: 50%;
  20. margin-top: 12rpx;
  21. margin-right: 16rpx;
  22. flex-shrink: 0;
  23. font-size: 24rpx;
  24. font-family: PingFang SC-Regular, PingFang SC;
  25. color: #FFFFFF;
  26. }
  27. .right {
  28. flex: 1;
  29. .title {
  30. width: 100%;
  31. height: 42rpx;
  32. line-height: 42rpx;
  33. font-size: 30rpx;
  34. font-family: PingFang SC-Regular, PingFang SC;
  35. color: #333333;
  36. text {
  37. margin-left: 10rpx;
  38. font-size: 24rpx;
  39. font-family: PingFang SC-Regular, PingFang SC;
  40. color: #999999;
  41. }
  42. }
  43. .exp {
  44. font-size: 24rpx;
  45. font-family: PingFang SC-Regular, PingFang SC;
  46. color: #333333;
  47. }
  48. .tag {
  49. display: inline-block;
  50. height: 36rpx;
  51. line-height: 36rpx;
  52. background: #FFEFD9;
  53. border-radius: 20rpx;
  54. color: #ffffff;
  55. padding: 0 10rpx;
  56. font-size: 20rpx;
  57. font-family: PingFang SC-Regular, PingFang SC;
  58. color: #FA8C16;
  59. }
  60. }
  61. }
  62. }
  63. .editor {
  64. display: flex;
  65. justify-content: space-between;
  66. align-items: center;
  67. width: 100%;
  68. height: 60rpx;
  69. .icon-but {
  70. padding-right: 30rpx;
  71. navigator {
  72. display: inline-block;
  73. width: 60rpx;
  74. height: 60rpx;
  75. line-height: 60rpx;
  76. text-align: center;
  77. margin-left: 30rpx;
  78. width: 32px;
  79. color: #707070;
  80. }
  81. }
  82. }
  83. }
  84. .line-1 {
  85. overflow: hidden;
  86. white-space: nowrap;
  87. text-overflow: ellipsis;
  88. }