From 2f9d3c2392db9094af5ac6ea50b017140421f059 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Fri, 25 Feb 2022 18:35:59 +0800
Subject: [PATCH] 评论页页面拟定

---
 src/components/group/articleListScorll.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/components/group/articleListScorll.vue b/src/components/group/articleListScorll.vue
index c18502a..47e61cb 100644
--- a/src/components/group/articleListScorll.vue
+++ b/src/components/group/articleListScorll.vue
@@ -1,10 +1,14 @@
 <template>
 	<div>
 		<div v-infinite-scroll="loadMore" infinite-scroll-disabled="busy" :infinite-scroll-distance="10">
-			<div v-for="temp in data">
-				<newArticle v-bind="temp"></newArticle>
+			<div v-for="(temp,index) in data">
+				<newArticle v-bind="temp" :index="index"></newArticle>
 				<!-- <box5 v-bind="temp"></box5> -->
 			</div>
+			<div class="mySecret" v-if="data.length==0">
+				<p>空空如也..</p>
+			</div>
+			
 			<div v-if="loading && !busy" class="demo-loading-container">
 				<a-spin />
 			</div>
@@ -81,7 +85,7 @@
 			},
 			typeId: function(newValue, oldValue) {
 				this.busy = true;
-				this.$message.info('loading',0.3);
+				this.$message.info('loading', 0.3);
 				this.onChange(1);
 			}
 

--
Gitblit v1.9.1