Browse Source

底部固定

常志远 3 years ago
parent
commit
56c1ffab1e
3 changed files with 16 additions and 8 deletions
  1. 8 4
      pages/parking/outPayment.vue
  2. 2 2
      pages/parking/paymentResult.vue
  3. 6 2
      pages/parking/request.vue

+ 8 - 4
pages/parking/outPayment.vue

@@ -116,9 +116,7 @@
 </script>
 
 <style lang="scss" scoped>
-	page{
-		padding-bottom: 20px;
-	}
+
 	.main{
 		height: 200px;
 		padding: 20px 23px;
@@ -216,6 +214,12 @@
   		color: rgba(0, 90, 217, 100);
   		font-size: 16px;
   		text-align: center;
-  		margin-top: 13.9vh;
+  		
+		position: absolute;
+		bottom:20px;
+		left: 0;
+	    right: 0;
+		
+		
   }
 </style>

+ 2 - 2
pages/parking/paymentResult.vue

@@ -56,8 +56,8 @@
 	  		color: rgba(0, 90, 217, 100);
 	  		font-size: 16px;
 	  		text-align: center;
-	  		position: fixed;
-	  		bottom: 20px;
+	  		position: absolute;
+	  		bottom:20px;
 	  		left: 0;
 	  		right: 0;
 	  }

+ 6 - 2
pages/parking/request.vue

@@ -78,7 +78,8 @@
 <style lang="scss" scoped>
 	page{
 		background-color: #fff;
-		padding-bottom: 20px;
+	
+		
 	}
 	.success {
 		text-align: center;
@@ -119,7 +120,10 @@
   		color: rgba(0, 90, 217, 100);
   		font-size: 16px;
   		text-align: center;
-  		margin-top: 32.7vh;
+  		position: absolute;
+  		bottom:20px;
+  		left: 0;
+  		right: 0;
 		
 		
   }