comment.less 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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. height: 850rpx;
  10. background: #ffffff;
  11. padding-bottom: 200rpx;
  12. box-sizing: border-box;
  13. .comment_number {
  14. width: 100%;
  15. height: 68rpx;
  16. display: flex;
  17. align-items: center;
  18. padding-left: 20rpx;
  19. color: #4a4a4a;
  20. font-size: 30rpx;
  21. }
  22. .comment_item {
  23. width: 100%;
  24. display: flex;
  25. flex-direction: column;
  26. padding-left: 20rpx;
  27. padding-right: 68rpx;
  28. box-sizing: border-box;
  29. margin-bottom: 14rpx;
  30. .comment_box {
  31. width: 100%;
  32. display: flex;
  33. flex-direction: row;
  34. box-sizing: border-box;
  35. padding-bottom: 24rpx;
  36. padding-left: 48rpx;
  37. border-bottom: 1rpx solid rgba(151,151,151,.34);
  38. .avatar_box {
  39. width: 111rpx;
  40. height: 100%;
  41. display: block;
  42. margin-right: 15rpx;
  43. image {
  44. width: 96rpx;
  45. height: 96rpx;
  46. background: chocolate;
  47. border-radius: 50%;
  48. }
  49. }
  50. .comment_info {
  51. display: flex;
  52. flex-direction: column;
  53. align-items: flex-start;
  54. width: 100%;
  55. .nickname {
  56. font-size: 30rpx;
  57. color: rgba(0, 0, 0, .6);
  58. }
  59. .comment_text {
  60. font-size: 30rpx;
  61. color: rgba(0, 0, 0, 0.8);
  62. margin-bottom: 23rpx;
  63. }
  64. .comment_reply_wrapper {
  65. background: rgba(0, 0, 0, .03);
  66. width: 100%;
  67. padding-left: 12rpx;
  68. padding-top: 10rpx;
  69. box-sizing: border-box;
  70. .comment_reply_item {
  71. font-size: 28rpx;
  72. color: rgba(0, 0, 0, .8);
  73. .reply_nickname {
  74. color: rgba(1, 67, 124, .8);
  75. }
  76. }
  77. .more_btn {
  78. display: flex;
  79. justify-content: flex-end;
  80. width: 100%;
  81. height: 37rpx;
  82. font-size: 26rpx;
  83. color: #698FAF;
  84. padding-right: 20rpx;
  85. box-sizing: border-box;
  86. padding-bottom: 20rpx;
  87. }
  88. }
  89. .time_info {
  90. width: 100%;
  91. display: flex;
  92. flex-direction: row;
  93. justify-content: space-between;
  94. align-items: center;
  95. margin-top: 30rpx;
  96. .time {
  97. color: rgba(0, 0, 0, .8);
  98. font-size: 28rpx;
  99. }
  100. .info {
  101. width: 200rpx;
  102. height: 100%;
  103. display: flex;
  104. position: relative;
  105. .like {
  106. width: 80rpx;
  107. height: 35rpx;
  108. display: flex;
  109. align-items: center;
  110. position: absolute;
  111. top: -14rpx;
  112. left: 0;
  113. image {
  114. width: 30rpx;
  115. height: 27rpx;
  116. margin-right: 12rpx;
  117. }
  118. text {
  119. font-size: 22.4rpx;
  120. color: rgba(0, 0, 0, .8);
  121. }
  122. }
  123. .comment {
  124. width: 80rpx;
  125. height: 35rpx;
  126. display: flex;
  127. align-items: center;
  128. position: absolute;
  129. top: -14rpx;
  130. left: 120rpx;
  131. image {
  132. width: 28.8rpx;
  133. height: 25rpx;
  134. margin-right: 16rpx;
  135. }
  136. text {
  137. font-size: 22.4rpx;
  138. color: rgba(0, 0, 0, .8);
  139. }
  140. }
  141. }
  142. }
  143. }
  144. }
  145. }
  146. .comment_input {
  147. width: 100%;
  148. height: 205rpx;
  149. background: #eee;
  150. position: fixed;
  151. bottom: 0;
  152. z-index: 9999;
  153. padding-left: 24rpx;
  154. box-sizing: border-box;
  155. display: flex;
  156. align-items: center;
  157. .send_input {
  158. width: 575rpx;
  159. height: 94rpx;
  160. background: #fff;
  161. border-radius: 10rpx;
  162. padding-left: 50rpx;
  163. margin: 0;
  164. ::placeholder{
  165. text-indent: 10rpx;
  166. color: #000;
  167. }
  168. }
  169. .send_btn{
  170. width: 120rpx;
  171. height: 48rpx;
  172. line-height: 48rpx;
  173. text-align: center;
  174. color: #42a8ff;
  175. font-size: 34rpx;
  176. }
  177. }
  178. }