dedsudiyu 10 months ago
parent
commit
c2c99183b1

+ 0 - 2
pages/views/home/home.vue

@@ -54,12 +54,10 @@
 		height: 100%;
 		display: flex;
 		flex-direction: column;
-		overflow: hidden;
 		.flex-box-page{
 			flex:1;
 			display: flex;
 			flex-direction: column;
-			overflow: hidden;
 		}
 	}
 </style>

+ 0 - 2
pages/views/mine/mine.vue

@@ -366,12 +366,10 @@
 		height: 100%;
 		display: flex;
 		flex-direction: column;
-		overflow: hidden;
 		.flex-box-page{
 			flex:1;
 			display: flex;
 			flex-direction: column;
-			overflow: hidden;
 		}
 		
 		

+ 4 - 1
pages/views/pupilPage/pupilHome.vue

@@ -138,10 +138,13 @@
 
 <style lang="stylus" scoped>
 	.pupilHome {
+		height:100%;
 		flex: 1;
 		display: flex;
 		flex-direction: column;
-		overflow: hidden;
+		overflow-y: scroll;
+		overflow-x: hidden;
+		padding-bottom:100rpx;
 
 		.top-page-title {
 			text-align: center;

+ 11 - 6
pages/views/pupilPage/pupilMine.vue

@@ -68,6 +68,7 @@
 				<img class="right-img" src="@/pages/images/newImage/icon_wd_gd@1x.png">
 			</view>
 		</view>
+		<view class="null-flex-p"></view>
 		<view class="out-button" @click="clickOut">退出登录</view>
 		<tab-bar></tab-bar>
 	</view>
@@ -289,7 +290,9 @@
 		flex: 1;
 		display: flex;
 		flex-direction: column;
-		overflow: hidden;
+		overflow-y: scroll;
+		overflow-x: hidden;
+		padding-bottom:100rpx;
 
 		.back-img-box {
 			z-index: 0;
@@ -471,11 +474,14 @@
 				color:#0183FA!important;
 			}
 		}
-
+		.null-flex-p{
+			flex:1;
+		}
 		.out-button {
-			position absolute;
-			bottom: 140rpx;
-			left: 75rpx;
+			// position absolute;
+			// bottom: 140rpx;
+			// left: 75rpx;
+			margin:20rpx 0 20rpx 75rpx;
 			width: 600rpx;
 			height: 80rpx;
 			line-height: 80rpx;
@@ -484,7 +490,6 @@
 			background #0183FA;
 			color: #ffffff;
 			font-size: 30rpx;
-			margin: 0 auto;
 		}
 	}
 </style>

+ 3 - 1
pages/views/teacherPage/teacherHome.vue

@@ -249,7 +249,9 @@
 			flex:1;
 			display: flex;
 			flex-direction: column;
-			overflow: scroll;
+			overflow-y: scroll;
+			overflow-x: hidden;
+			padding-bottom:100rpx;
 			.top-page-title{
 				text-align: center;
 				font-size:28rpx;

+ 11 - 6
pages/views/teacherPage/teacherMine.vue

@@ -79,6 +79,7 @@
 				<img class="right-img" src="@/pages/images/newImage/icon_wd_gd@1x.png">
 			</view>
 		</view>
+		<view class="null-flex-p"></view>
 		<view class="out-button" @click="clickOut">退出登录</view>
 		<tab-bar></tab-bar>
 	</view>
@@ -311,7 +312,9 @@
 		flex: 1;
 		display: flex;
 		flex-direction: column;
-		overflow: hidden;
+		overflow-y: scroll;
+		overflow-x: hidden;
+		padding-bottom:100rpx;
 
 		.back-img-box {
 			z-index: 0;
@@ -493,11 +496,14 @@
 				color:#0183FA!important;
 			}
 		}
-
+		.null-flex-p{
+			flex:1;
+		}
 		.out-button {
-			position absolute;
-			bottom: 140rpx;
-			left: 75rpx;
+			// position absolute;
+			// bottom: 140rpx;
+			// left: 75rpx;
+			margin:20rpx 0 20rpx 75rpx;
 			width: 600rpx;
 			height: 80rpx;
 			line-height: 80rpx;
@@ -506,7 +512,6 @@
 			background #0183FA;
 			color: #ffffff;
 			font-size: 30rpx;
-			margin: 0 auto;
 		}
 	}
 </style>