From bc95187efc506413cf85749fe36fe748cf75fed5 Mon Sep 17 00:00:00 2001 From: inleft <inleft@qq.com> Date: Wed, 17 Aug 2022 18:43:04 +0800 Subject: [PATCH] 重新界定碎念类型入口 --- src/components/mini/mdDetail.vue | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/mini/mdDetail.vue b/src/components/mini/mdDetail.vue index c1fea4e..18f43f8 100644 --- a/src/components/mini/mdDetail.vue +++ b/src/components/mini/mdDetail.vue @@ -32,10 +32,14 @@ <span class="myTip">{{errorMsg}}</span> </div> - <div class="mySecret" - v-else-if="articleFileType==myConstant.fileTypeVideo + <div class="mySecret" v-else-if="articleFileType==myConstant.fileTypeVideo || articleFileType==myConstant.fileTypeMp3 || articleFileType==myConstant.fileTypeShort"> + + <div class="mySecretSamll" v-if="introduce.length==0"> + <p>碎碎念只有那么一点了</p> + <p>但是下面依旧可以碎碎念</p> + </div> <pre style="white-space: pre-line;"> {{introduce}} </pre> @@ -180,6 +184,7 @@ this.isAllowedComment = res.data.isAllowedComment; this.introduce = res.data.introduce; + this.articleFileType = res.data.articleFileType; this.articelMeta = res.data; -- Gitblit v1.9.1