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/box-friend.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/components/mini/box-friend.vue b/src/components/mini/box-friend.vue
index 33fdc88..47ecd44 100644
--- a/src/components/mini/box-friend.vue
+++ b/src/components/mini/box-friend.vue
@@ -1,6 +1,7 @@
 <template>
 	<div class="myFriend">
-		<div v-for="temp in list">
+		<div v-if="list.length==0" class="mySecret"> 空空如也..</div>
+		<div v-for="temp in list" v-else>
 			<h1>{{temp.groupName}}</h1>
 			<hr>
 			<div class="link-box">
@@ -204,6 +205,7 @@
 			width: calc(100% / 3 - 8rem);
 		}
 	}
+
 	@media screen and (max-width: 1438px) and (min-width: 791px) {
 		.link-box a {
 			margin: 0 0.9375rem 3.75rem;

--
Gitblit v1.9.1