index.wxss 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. .commentBox {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. width: 100%;
  6. height: 100%;
  7. z-index: 999;
  8. overflow: hidden;
  9. }
  10. .commentBox .commentBg {
  11. position: fixed;
  12. top: 0;
  13. left: 0;
  14. width: 100%;
  15. height: 100%;
  16. background: rgba(0, 0, 0, 0.3);
  17. }
  18. .commentBox .comment {
  19. position: absolute;
  20. left: 0;
  21. bottom: 0px;
  22. display: flex;
  23. flex-direction: column;
  24. justify-content: space-between;
  25. width: 100%;
  26. background-color: white;
  27. border-top-left-radius: 25rpx;
  28. border-top-right-radius: 25rpx;
  29. }
  30. .commentBox .comment .header {
  31. position: relative;
  32. padding: 24rpx;
  33. display: flex;
  34. align-items: center;
  35. }
  36. .commentBox .comment .header .hl {
  37. position: relative;
  38. padding-bottom: 10rpx;
  39. margin-right: 120rpx;
  40. color: black;
  41. }
  42. .commentBox .comment .header .currentH::after {
  43. position: absolute;
  44. bottom: 0rpx;
  45. left: 50%;
  46. transform: translateX(-50%);
  47. content: '';
  48. width: 50rpx;
  49. height: 4rpx;
  50. background-color: #333;
  51. }
  52. .commentBox .comment .header .hr {
  53. position: absolute;
  54. right: 26rpx;
  55. top: -4rpx;
  56. font-size: 54rpx;
  57. color: #333333;
  58. }
  59. .commentBox .comment .body {
  60. height: 40vh;
  61. }
  62. .commentBox .comment .body .body-box {
  63. padding: 0rpx 22rpx;
  64. }
  65. .commentBox .comment .body .body-box .content {
  66. padding: 34rpx 0rpx;
  67. display: flex;
  68. border-bottom: 1px solid #97979783;
  69. }
  70. .commentBox .comment .body .body-box .content .c-avatar {
  71. width: 96rpx;
  72. height: 96rpx;
  73. border-radius: 50%;
  74. margin-right: 20rpx;
  75. background: #d8d8d8;
  76. }
  77. .commentBox .comment .body .body-box .content .c-right {
  78. flex: 1;
  79. }
  80. .commentBox .comment .body .body-box .content .c-right .nickName {
  81. font-size: 30rpx;
  82. color: black;
  83. }
  84. .commentBox .comment .body .body-box .content .c-right .detailDesc {
  85. letter-spacing: 2rpx;
  86. margin: 12rpx 0rpx;
  87. padding: 12rpx 0rpx;
  88. border-radius: 10rpx;
  89. font-size: 26rpx;
  90. line-height: 40rpx;
  91. word-break: break-all;
  92. color: rgba(0, 0, 0, 0.7);
  93. }
  94. .commentBox .comment .body .body-box .content .c-right .hoverClass {
  95. background-color: #F7F7F7;
  96. }
  97. .commentBox .comment .body .body-box .content .c-right .replyList {
  98. width: 100%;
  99. padding: 14rpx;
  100. box-sizing: border-box;
  101. background-color: #fafafa93;
  102. margin-bottom: 20rpx;
  103. }
  104. .commentBox .comment .body .body-box .content .c-right .replyList .reply {
  105. font-size: 28rpx;
  106. margin-bottom: 8rpx;
  107. }
  108. .commentBox .comment .body .body-box .content .c-right .replyList .reply .replyTitle {
  109. color: #0d93c9;
  110. }
  111. .commentBox .comment .body .body-box .content .c-right .replyList .reply .replyContent {
  112. color: rgba(0, 0, 0, 0.7);
  113. }
  114. .commentBox .comment .body .body-box .content .c-right .replyList .hoverClass2 {
  115. background-color: #F7F7F7;
  116. }
  117. .commentBox .comment .body .body-box .content .c-right .record {
  118. display: flex;
  119. align-items: center;
  120. justify-content: space-between;
  121. font-size: 26rpx;
  122. }
  123. .commentBox .comment .body .body-box .content .c-right .record .record-right {
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. }
  128. .commentBox .comment .body .body-box .content .c-right .record .record-right text {
  129. margin-left: 6rpx;
  130. }
  131. .commentBox .comment .body .body-box .content .c-right .record .record-right .icon {
  132. width: 30rpx;
  133. height: 28rpx;
  134. }
  135. .commentBox .comment .body .body-box .content .c-right .record .record-right .iconBox {
  136. display: flex;
  137. align-items: center;
  138. margin-left: 24rpx;
  139. }
  140. .commentBox .comment .body .body-box .content .c-like {
  141. flex: 1;
  142. display: flex;
  143. align-items: center;
  144. justify-content: space-between;
  145. }
  146. .commentBox .comment .body .body-box .content .c-like .left {
  147. height: 90rpx;
  148. display: flex;
  149. flex-direction: column;
  150. justify-content: space-between;
  151. }
  152. .commentBox .comment .body .body-box .content .c-like .left .nickName {
  153. font-size: 30rpx;
  154. color: black;
  155. }
  156. .commentBox .comment .body .body-box .content .c-like .left .time {
  157. font-size: 26rpx;
  158. color: #666666;
  159. }
  160. .commentBox .comment .body .body-box .content .c-like .follow {
  161. display: flex;
  162. align-items: center;
  163. justify-content: center;
  164. width: 140rpx;
  165. font-size: 24rpx;
  166. padding: 8rpx 0rpx;
  167. border-radius: 50rpx;
  168. border: 1rpx solid #1BC665;
  169. color: #1BC665;
  170. }
  171. .commentBox .comment .body .body-box .content .c-like .follow .character {
  172. width: 22rpx;
  173. height: 22rpx;
  174. margin-right: 6rpx;
  175. }
  176. .commentBox .comment .body .body-box .content .c-like .isFans {
  177. border: 1rpx solid #E2ECFB;
  178. background-color: #E2ECFB;
  179. color: #333;
  180. }
  181. .commentBox .comment .body .body-box .content .c-like .pkNum {
  182. color: #30C866;
  183. font-size: 44rpx;
  184. margin-right: 20rpx;
  185. }
  186. .commentBox .comment .body .body-box .content:last-child {
  187. border: none;
  188. }
  189. .commentBox .comment .quick {
  190. width: 100%;
  191. background-color: #EEEDED;
  192. }
  193. .commentBox .comment .quick .close {
  194. text-align: right;
  195. font-size: 54rpx;
  196. line-height: 54rpx;
  197. padding: 0rpx 20rpx 10rpx;
  198. }
  199. .commentBox .comment .quick .quickTop {
  200. display: flex;
  201. align-items: center;
  202. justify-content: space-between;
  203. padding: 0rpx 20rpx;
  204. font-size: 28rpx;
  205. }
  206. .commentBox .comment .quick .quickTop .left {
  207. color: #00000060;
  208. }
  209. .commentBox .comment .quick .quickTop .right {
  210. padding: 4rpx 20rpx;
  211. background-color: #FFC86D;
  212. color: #484848;
  213. border-radius: 50rpx;
  214. }
  215. .commentBox .comment .quick .contents {
  216. display: flex;
  217. align-items: center;
  218. padding: 30rpx 0rpx 30rpx 20rpx;
  219. width: 100%;
  220. box-sizing: border-box;
  221. white-space: nowrap;
  222. border-bottom: 2rpx solid #9797976e;
  223. }
  224. .commentBox .comment .quick .contents .remark {
  225. display: inline-block;
  226. font-size: 26rpx;
  227. padding: 8rpx 22rpx;
  228. margin-right: 20rpx;
  229. border-radius: 50rpx;
  230. color: white;
  231. background-color: #FF9B55;
  232. }
  233. .commentBox .comment .footer {
  234. display: flex;
  235. align-items: center;
  236. justify-content: space-between;
  237. background-color: #EEEDED;
  238. padding: 20rpx 24rpx 30rpx;
  239. }
  240. .commentBox .comment .footer .input {
  241. height: 80rpx;
  242. flex: 1;
  243. padding-left: 20rpx;
  244. border-radius: 10rpx;
  245. background-color: white;
  246. }
  247. .commentBox .comment .footer .submit {
  248. margin-left: 40rpx;
  249. width: 76rpx;
  250. color: #0091FF;
  251. font-size: 32rpx;
  252. }
  253. .commentBox .seat2 {
  254. padding-bottom: calc(130rpx + env(safe-area-inset-bottom)) !important;
  255. }