From 620f759cfe9fa42fa9667b2ec63d7d00944e4af0 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 02 Mar 2022 12:49:35 +0800 Subject: [PATCH] 评论列表样式调整 --- src/components/mini/mdDetail.vue | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/components/mini/mdDetail.vue b/src/components/mini/mdDetail.vue index e75b1c7..d6e38b0 100644 --- a/src/components/mini/mdDetail.vue +++ b/src/components/mini/mdDetail.vue @@ -32,8 +32,6 @@ <vue-markdown :source="source"></vue-markdown> </div> </div> - - </div> </template> @@ -92,6 +90,8 @@ }, methods: { queryDetail() { + this.showMsg = true; + this.errorMsg = "加载中.."; queryBlogArticleDetail({ id: this.acticleId, authWord: this.secret == "" ? null : md5(this.secret) @@ -121,15 +121,15 @@ return } - - //获取日志资源文件 - this.showMsg = false; - this.errorMsg = ""; this.$axios .get(res.data.articleFileURL) .then((res) => { this.source = res.data; }) + + //获取日志资源文件 + this.showMsg = false; + this.errorMsg = ""; }) }, pressEnter() { @@ -150,7 +150,7 @@ this.$router.go(-1); } }, - + } </script> @@ -167,7 +167,8 @@ } .markdown-body { - padding: 10px 20px 10px 20px; + min-height: 750px; + padding: 35px 20px 10px 20px; box-shadow: 8px 8px 18px rgba(0, 0, 0, 0.1), -8px -8px 18px #ffffff; } -- Gitblit v1.9.1