comment.less 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. .comment_container {
  2. position: fixed;
  3. z-index: 99;
  4. bottom: 0;
  5. width: 100%;
  6. // height: auto;
  7. // min-height: 550rpx;
  8. max-height: 900rpx;
  9. background: #ffffff;
  10. padding-bottom: 120rpx;
  11. box-sizing: border-box;
  12. .comment_number {
  13. width: 100%;
  14. height: 68rpx;
  15. display: flex;
  16. align-items: center;
  17. padding-left: 20rpx;
  18. color: #4a4a4a;
  19. font-size: 30rpx;
  20. }
  21. .comment_item {
  22. width: 100%;
  23. display: flex;
  24. flex-direction: column;
  25. padding-left: 20rpx;
  26. padding-right: 68rpx;
  27. box-sizing: border-box;
  28. margin-bottom: 14rpx;
  29. .comment_box {
  30. width: 100%;
  31. display: flex;
  32. flex-direction: row;
  33. box-sizing: border-box;
  34. padding-bottom: 24rpx;
  35. padding-left: 48rpx;
  36. border-bottom: 1rpx solid rgba(151,151,151,.34);
  37. .avatar_box {
  38. width: 111rpx;
  39. height: 100%;
  40. display: block;
  41. margin-right: 15rpx;
  42. image {
  43. width: 96rpx;
  44. height: 96rpx;
  45. background: chocolate;
  46. border-radius: 50%;
  47. }
  48. }
  49. .comment_info {
  50. display: flex;
  51. flex-direction: column;
  52. align-items: flex-start;
  53. width: 100%;
  54. .nickname {
  55. font-size: 30rpx;
  56. color: rgba(0, 0, 0, .6);
  57. }
  58. .comment_text {
  59. font-size: 28rpx;
  60. color: rgba(0, 0, 0, 0.6);
  61. margin-bottom: 23rpx;
  62. }
  63. .comment_reply_wrapper {
  64. background: rgba(0, 0, 0, .03);
  65. width: 100%;
  66. .comment_reply_item {
  67. font-size: 28rpx;
  68. color: rgba(0, 0, 0, .6);
  69. .reply_nickname {
  70. color: rgba(1, 67, 124, .6);
  71. }
  72. }
  73. .more_btn {
  74. display: flex;
  75. justify-content: flex-end;
  76. width: 100%;
  77. height: 37rpx;
  78. font-size: 26rpx;
  79. color: #698FAF;
  80. padding-right: 20rpx;
  81. }
  82. }
  83. .time_info {
  84. width: 100%;
  85. display: flex;
  86. flex-direction: row;
  87. justify-content: space-between;
  88. align-items: center;
  89. margin-top: 30rpx;
  90. .time {
  91. color: rgba(0, 0, 0, .6);
  92. font-size: 28rpx;
  93. }
  94. .info {
  95. width: 200rpx;
  96. height: 100%;
  97. display: flex;
  98. position: relative;
  99. .like {
  100. width: 80rpx;
  101. height: 35rpx;
  102. display: flex;
  103. align-items: center;
  104. position: absolute;
  105. top: -14rpx;
  106. left: 0;
  107. image {
  108. width: 30rpx;
  109. height: 27rpx;
  110. margin-right: 12rpx;
  111. }
  112. text {
  113. font-size: 22.4rpx;
  114. color: rgba(0, 0, 0, .6);
  115. }
  116. }
  117. .comment {
  118. width: 80rpx;
  119. height: 35rpx;
  120. display: flex;
  121. align-items: center;
  122. position: absolute;
  123. top: -14rpx;
  124. left: 120rpx;
  125. image {
  126. width: 28.8rpx;
  127. height: 25rpx;
  128. margin-right: 16rpx;
  129. }
  130. text {
  131. font-size: 22.4rpx;
  132. color: rgba(0, 0, 0, .6);
  133. }
  134. }
  135. }
  136. }
  137. }
  138. }
  139. }
  140. .comment_input {
  141. width: 100%;
  142. height: 120rpx;
  143. background: #eeeded;
  144. position: fixed;
  145. bottom: 0;
  146. input {
  147. width: 100%;
  148. height: 100%;
  149. background: #eeeded;
  150. }
  151. }
  152. }