comment.less 4.9 KB

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