Damon 4 年之前
父节点
当前提交
efd9ba0579
共有 2 个文件被更改,包括 2 次插入3 次删除
  1. 1 2
      src/views/CoursePage/CourseDetail.vue
  2. 1 1
      src/views/CoursePage/style/CourseDetail.css

+ 1 - 2
src/views/CoursePage/CourseDetail.vue

@@ -205,7 +205,7 @@
                         {{ comments.mainMessage.createdAt.substring(0, 16).replace("T", " ") }}
                       </el-row>
                       <el-row>
-                        {{ comments.mainMessage.content }}
+                        {{ comments.mainMessage.content }}<span @click="handleReplyClick(comments.mainMessage)" class="reply-button">回复</span>
                       </el-row>
                     </div>
                   </el-row>
@@ -727,7 +727,6 @@ export default {
           createdAt: new Date(),
         })
           .then(res => {
-            console.log(res);
             this.commentTree.push({ mainMessage: res.data.data, children: [] });
             this.commentContent = "";
           });

+ 1 - 1
src/views/CoursePage/style/CourseDetail.css

@@ -265,7 +265,7 @@
 .el-timeline-item {
     padding-top: 10px;
     padding-bottom: 10px;
-    padding-left: 200px;
+    border-radius: 10px;
     cursor: pointer;
 }