From aab8119ad66583d65d517e2eb8e574b8794180c9 Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Sun, 16 Jan 2022 20:58:19 +0800
Subject: [PATCH] 无限列表滚动

---
 src/components/swichLabel/main1-show.vue |   17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diff --git a/src/components/swichLabel/main1-show.vue b/src/components/swichLabel/main1-show.vue
index b53280b..f20b673 100644
--- a/src/components/swichLabel/main1-show.vue
+++ b/src/components/swichLabel/main1-show.vue
@@ -2,13 +2,13 @@
 	<div>
 		<div class="blog-drawer">
 			<a-drawer placement="left" :closable="false" :visible="visible1" :getContainer="'body'"
-				:after-visible-change="afterVisibleChange" @close="onClose1" :zIndex="10" :width=270
+				:after-visible-change="afterVisibleChange" @close="onClose1" :zIndex="90" :width=270
 				:bodyStyle="{padding:'0px'}" :wrapStyle="{padding:'0px',top:'60px'}">
 				<boxLeft></boxLeft>
 			</a-drawer>
 
 			<a-drawer placement="right" :closable="false" :visible="visible2" :getContainer="'body'"
-				:after-visible-change="afterVisibleChange" @close="onClose2" :zIndex="10" :width=270
+				:after-visible-change="afterVisibleChange" @close="onClose2" :zIndex="90" :width=270
 				:bodyStyle="{padding:'0px'}" :wrapStyle="{padding:'0px',top:'60px'}">
 				<boxRight></boxRight>
 			</a-drawer>
@@ -28,7 +28,8 @@
 					<a-button @click="showDrawer2">
 						小抽屉2
 					</a-button>
-					<router-view></router-view>
+					<articleListScorll/>
+					<!-- <router-view class="fade"></router-view> -->
 				</a-col>
 				
 				<a-col v-bind="colApiRight" ref="myDrawer">
@@ -44,13 +45,16 @@
 	import boxLeft from "../group/boxLeft.vue"
 	import boxRight from "../group/boxRight.vue"
 	import articleList from "../group/articleList.vue"
+	import articleListScorll from "../group/articleListScorll.vue"
 
 	export default {
 
 		components: {
 			boxLeft,
 			boxRight,
-			articleList
+			articleList,
+			articleListScorll,
+			
 		},
 		methods: {
 			afterVisibleChange(val) {},
@@ -140,6 +144,9 @@
 		background-color: white;
 		border-radius: 15px;
 	}
+	.holdHeight{
+		min-height: 780px;
+	}
 
 	.article-detail {
 		max-height: 750px;
@@ -155,7 +162,7 @@
 	/*左右两边的盒子容器*/
 	.blog-cell {
 		opacity: 0.8;
-		padding: 0px 25px 10px;
+		padding: 0px 14px 10px;
 	}
 
 	/*左边部分*/

--
Gitblit v1.9.1