index.wxss 5.4 KB

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