diff --git a/src/project/qujing/AppLegalLearning/classDetail.vue b/src/project/qujing/AppLegalLearning/classDetail.vue index 4f7f2b4..4075be8 100644 --- a/src/project/qujing/AppLegalLearning/classDetail.vue +++ b/src/project/qujing/AppLegalLearning/classDetail.vue @@ -24,7 +24,7 @@

共{{ data.msgCount }}条评论

-
+
@@ -244,51 +244,55 @@ export default { color: #333333; } - .comment_card { - display: flex; - padding: 24px 32px; - box-sizing: border-box; + .comment_box { + width: 100%; + max-height: 60vh; + overflow: scroll; + .comment_card { + display: flex; + padding: 24px 32px; + box-sizing: border-box; - .avatar { - width: 64px; - height: 64px; - border-radius: 50%; + .avatar { + width: 64px; + height: 64px; + border-radius: 50%; - img { - width: 100%; - height: 100%; + img { + width: 100%; + height: 100%; + } } - } - .comment_info { - margin-left: 16px; - width: calc(100% - 80px); + .comment_info { + margin-left: 16px; + width: calc(100% - 80px); - .avatar_info { - display: flex; - justify-content: space-between; + .avatar_info { + display: flex; + justify-content: space-between; - .avatar_name { - font-weight: 500; - font-size: 28px; + .avatar_name { + font-weight: 500; + font-size: 28px; + color: #333333; + } + .avatar_time { + font-weight: 400; + font-size: 26px; + color: #999999; + } + } + + .comm_content { + margin-top: 8px; + font-weight: 400; + font-size: 32rpx; color: #333333; } - .avatar_time { - font-weight: 400; - font-size: 26px; - color: #999999; - } - } - - .comm_content { - margin-top: 8px; - font-weight: 400; - font-size: 32rpx; - color: #333333; } } } - .comm_input_btn { width: 100%; height: 128px; @@ -308,6 +312,7 @@ export default { color: #666666; } } + .send_box { display: flex;