From 8ec9c517c58b70918f2d72f2bfa6ab4b0a4145f9 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Fri, 19 Aug 2022 18:03:39 +0800 Subject: [PATCH] 局部细节调整 --- src/components/mini/mdDetail.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/mini/mdDetail.vue b/src/components/mini/mdDetail.vue index e9e1b54..b85966b 100644 --- a/src/components/mini/mdDetail.vue +++ b/src/components/mini/mdDetail.vue @@ -6,7 +6,7 @@ </a-button> </div> --> - <div class="headertop filter-dot headertop-bar"> + <div class="headertop filter-dot headertop-bar " v-if="coverURL.length>0"> <figure class="centerbg" v-bind:style="{'background-image':'url('+this.coverURL+')'}"> </figure> </div> @@ -50,8 +50,8 @@ </pre> </div> - <div class="markdown-body article-detail" v-else> - <vue-markdown :source="source"></vue-markdown> + <div class="markdown-body article-detail " v-else> + <vue-markdown :source="source" ></vue-markdown> </div> </div> @@ -123,7 +123,7 @@ value: '', disabled: false }, - coverURL: "http://t.inleft.com/share/media_photo/background.jpg" + coverURL: "" } }, created() { -- Gitblit v1.9.1