From 054cdefd40ac8963fac897e4fe98ffc1de4e0b69 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Wed, 17 Aug 2022 17:30:53 +0800
Subject: [PATCH] 重构消息盒子,优化表情组件

---
 src/components/mini/mdDetail.vue |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/src/components/mini/mdDetail.vue b/src/components/mini/mdDetail.vue
index 58022b4..c1fea4e 100644
--- a/src/components/mini/mdDetail.vue
+++ b/src/components/mini/mdDetail.vue
@@ -8,7 +8,8 @@
 
 		<div v-if="showMsg && !myLock">
 			<div class="mySecretSamll" v-if="articleFileType==myConstant.fileTypeShort">
-				<p>碎碎念只有那么一点了,但是下面依旧可以碎碎念</p>
+				<p>碎碎念只有那么一点了</p>
+				<p>但是下面依旧可以碎碎念</p>
 			</div>
 
 			<div class="mySecret" v-else>
@@ -32,7 +33,9 @@
 			</div>
 
 			<div class="mySecret"
-				v-else-if="articleFileType==myConstant.fileTypeVideo|| articleFileType==myConstant.fileTypeMp3">
+				v-else-if="articleFileType==myConstant.fileTypeVideo
+				|| articleFileType==myConstant.fileTypeMp3
+				|| articleFileType==myConstant.fileTypeShort">
 				<pre style="white-space: pre-line;">
 				{{introduce}}
 				</pre>
@@ -141,10 +144,10 @@
 				this.showMsg = true;
 				this.errorMsg = "加载中..";
 
-				if (this.articleFileType == myConstant.fileTypeShort) {
-					this.errorMsg = "该类型日志在这里没有更多啦..";
-					return
-				}
+				// if (this.articleFileType == myConstant.fileTypeShort) {
+				// 	this.errorMsg = "该类型日志在这里没有更多啦..";
+				// 	return
+				// }
 
 				queryBlogArticleDetail({
 					id: this.articleId,
@@ -246,7 +249,7 @@
 	}
 
 	.mySecret {
-		height: 715px;
+		height: 515px;
 		display: flex;
 		flex-direction: column;
 		justify-content: center;

--
Gitblit v1.9.1