From 846bd0e9adb70bb23778045ee1a252a6a58adc4f Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 02 Mar 2022 21:45:39 +0800 Subject: [PATCH] 文件结构调整,日志评论实现 --- src/components/mini/mdDetail.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/components/mini/mdDetail.vue b/src/components/mini/mdDetail.vue index d6e38b0..daef7c0 100644 --- a/src/components/mini/mdDetail.vue +++ b/src/components/mini/mdDetail.vue @@ -32,6 +32,9 @@ <vue-markdown :source="source"></vue-markdown> </div> </div> + <div class="articleComment"> + <comment :acticleId="acticleId"></comment> + </div> </div> </template> @@ -44,13 +47,14 @@ import { queryBlogArticleDetail } from '../../api/blogArticle.js' - + import comment from "../mini/box12-comment.vue" import axios from 'axios' export default { components: { - VueMarkdown + VueMarkdown, + comment }, data() { return { @@ -166,7 +170,12 @@ align-items: center; } - .markdown-body { + .articleComment { + margin-top: 20px; + } + + .markdown-body, + .articleComment { min-height: 750px; padding: 35px 20px 10px 20px; box-shadow: 8px 8px 18px rgba(0, 0, 0, 0.1), -- Gitblit v1.9.1