From b1336e3f7fbc43854b6e891578a1d7673ea8e6dd Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Sun, 27 Feb 2022 23:35:17 +0800
Subject: [PATCH] 弹窗调整

---
 src/components/swichLabel/main1-show.vue |   40 ++++++++++++++++++++++++++++++----------
 1 files changed, 30 insertions(+), 10 deletions(-)

diff --git a/src/components/swichLabel/main1-show.vue b/src/components/swichLabel/main1-show.vue
index 45172ae..7b20388 100644
--- a/src/components/swichLabel/main1-show.vue
+++ b/src/components/swichLabel/main1-show.vue
@@ -15,21 +15,24 @@
 		<div class="blog-main">
 
 			<a-row>
-				<a-col v-bind="colApiLeft">
-					<boxLeft></boxLeft>
-					<boxRight></boxRight>
-				</a-col>
+				<keep-alive>
+					<a-col v-bind="colApiLeft">
+						<boxLeft></boxLeft>
+						<boxRight></boxRight>
+					</a-col>
+				</keep-alive>
 
 				<a-col v-bind="colApiMain ">
 					<a-col v-bind="colMini" :style="{'position':'absolute','right':'30px'}">
 						<a-affix :offset-top="550">
 							<a-button @click="showDrawer1">
-								抽屉1
+								more
 							</a-button>
 						</a-affix>
 					</a-col>
-
-					<router-view class="fade"></router-view>
+					<keep-alive>
+						<router-view class="fade"></router-view>
+					</keep-alive>
 				</a-col>
 
 				<a-col v-bind="colApiRight" ref="myDrawer">
@@ -159,13 +162,25 @@
 </script>
 
 <style lang="less">
+	
+	
 	@font-face {
 		font-family: 'HYTangMeiRen';
 		// font-display: swap;
 		src: url("https://unpkg.zhimg.com/fontawepro@latest/fonts/hytmr55.woff") format("truetype");
 	}
 
-	span,p,a,body,h1,h2,h3,h4,h5,h6,code {
+	span,
+	p,
+	a,
+	body,
+	h1,
+	h2,
+	h3,
+	h4,
+	h5,
+	h6,
+	code {
 		font-family: HYTangMeiRen !important;
 	}
 
@@ -184,14 +199,19 @@
 
 	.blog-main {
 		margin-top: 80px;
-		padding-left: 5%;
-		padding-right: 5%;
+		padding-left: 3%;
+		padding-right: 3%;
 	}
 
 	/*左右两边的盒子容器*/
 	.blog-cell {
 		opacity: 0.8;
 		padding: 0px 14px 10px;
+		-moz-user-select: none;
+		-webkit-user-select: none;
+		-ms-user-select: none;
+		-khtml-user-select: none;
+		user-select: none;
 	}
 
 	/*左边部分*/

--
Gitblit v1.9.1