From b505f3648a10dd998ae9fe7a6edb1bf125d7d6a6 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Fri, 21 Jan 2022 01:51:33 +0800
Subject: [PATCH] 主页结构调整

---
 src/components/group/articleListScorll.vue |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/components/group/articleListScorll.vue b/src/components/group/articleListScorll.vue
index d8e2c19..a2f63dd 100644
--- a/src/components/group/articleListScorll.vue
+++ b/src/components/group/articleListScorll.vue
@@ -2,6 +2,7 @@
 	<div>
 		<div v-infinite-scroll="loadMore" infinite-scroll-disabled="busy" :infinite-scroll-distance="10">
 			<div v-for="temp in data">
+				<newArticle></newArticle>
 				<box5 v-bind="temp"></box5>
 			</div>
 			<div v-if="loading && !busy" class="demo-loading-container">
@@ -14,15 +15,14 @@
 					:defaultPageSize="pageSize" :total="total" />
 			</div>
 		</a-row>
-		<a-back-top>
-			<a-icon type="up" />回到顶部
-		</a-back-top>
+		
 	</div>
 </template>
 <script>
 	import infiniteScroll from 'vue-infinite-scroll';
 	import box5 from "../mini/box5-article.vue"
 	import babyActicle from '../../assets/baby.htm'
+	import newArticle from "../mini/box-new-article.vue"
 	import shijie from '../../assets/shijie.htm'
 
 	var obj1 = {
@@ -52,7 +52,8 @@
 
 	export default {
 		components: {
-			box5
+			box5,
+			newArticle
 		},
 		directives: {
 			infiniteScroll
@@ -85,7 +86,7 @@
 				console.log(this.current);
 				console.log(this.busy);
 
-				if (data.length > 15) {
+				if (data.length > 3) {
 					this.$message.warning('没有更多了');
 					this.busy = true;
 					this.loading = false;

--
Gitblit v1.9.1