comment.less 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. .comment_container {
  2. position: fixed;
  3. z-index: 9999;
  4. bottom: 0;
  5. width: 100%;
  6. // height: auto;
  7. min-height: 450rpx;
  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: 30rpx;
  60. color: rgba(0, 0, 0, 0.8);
  61. margin-bottom: 23rpx;
  62. }
  63. .comment_reply_wrapper {
  64. background: rgba(0, 0, 0, .03);
  65. width: 100%;
  66. padding-left: 12rpx;
  67. padding-top: 10rpx;
  68. box-sizing: border-box;
  69. .comment_reply_item {
  70. font-size: 28rpx;
  71. color: rgba(0, 0, 0, .8);
  72. .reply_nickname {
  73. color: rgba(1, 67, 124, .8);
  74. }
  75. }
  76. .more_btn {
  77. display: flex;
  78. justify-content: flex-end;
  79. width: 100%;
  80. height: 37rpx;
  81. font-size: 26rpx;
  82. color: #698FAF;
  83. padding-right: 20rpx;
  84. box-sizing: border-box;
  85. padding-bottom: 20rpx;
  86. }
  87. }
  88. .time_info {
  89. width: 100%;
  90. display: flex;
  91. flex-direction: row;
  92. justify-content: space-between;
  93. align-items: center;
  94. margin-top: 30rpx;
  95. .time {
  96. color: rgba(0, 0, 0, .8);
  97. font-size: 28rpx;
  98. }
  99. .info {
  100. width: 200rpx;
  101. height: 100%;
  102. display: flex;
  103. position: relative;
  104. .like {
  105. width: 80rpx;
  106. height: 35rpx;
  107. display: flex;
  108. align-items: center;
  109. position: absolute;
  110. top: -14rpx;
  111. left: 0;
  112. image {
  113. width: 30rpx;
  114. height: 27rpx;
  115. margin-right: 12rpx;
  116. }
  117. text {
  118. font-size: 22.4rpx;
  119. color: rgba(0, 0, 0, .8);
  120. }
  121. }
  122. .comment {
  123. width: 80rpx;
  124. height: 35rpx;
  125. display: flex;
  126. align-items: center;
  127. position: absolute;
  128. top: -14rpx;
  129. left: 120rpx;
  130. image {
  131. width: 28.8rpx;
  132. height: 25rpx;
  133. margin-right: 16rpx;
  134. }
  135. text {
  136. font-size: 22.4rpx;
  137. color: rgba(0, 0, 0, .8);
  138. }
  139. }
  140. }
  141. }
  142. }
  143. }
  144. }
  145. .comment_input {
  146. width: 100%;
  147. height: 120rpx;
  148. background: #eeeded;
  149. position: fixed;
  150. bottom: 0;
  151. z-index: 99999;
  152. input {
  153. width: 100%;
  154. height: 100%;
  155. background: #eeeded;
  156. ::placeholder{
  157. text-indent: 10rpx;
  158. }
  159. }
  160. }
  161. }