瀏覽代碼

bug 修复

lilei 2 年之前
父節點
當前提交
3ecf433b56
共有 1 個文件被更改,包括 7 次插入17 次删除
  1. 7 17
      pages/sales/addCustomer.vue

+ 7 - 17
pages/sales/addCustomer.vue

@@ -243,22 +243,19 @@
 </script>
 
 <style lang="scss">
+	page{
+		height: 100vh;
+	}
 	.addCustomer-content{
 		width: 100%;
-		height: 100vh;
+		height: 100%;
 		background-color: #fff;
 		padding:0 40upx;
 		display: flex;
 		flex-direction: column;
-		.content-customerName{
-			// padding: 10upx;
-			// border-radius: 10upx;
-			// border: 1upx solid #e5e5e5;
-		}
 		.content-form{
-			flex: 1;
-			// box-shadow:0 8upx 24upx rgba(0,0,0,.1);
-			// border: 1upx solid #e5e5e5;
+			flex-grow:1;
+			overflow: auto;
 			.receiveAddress{
 				width: 100%;
 				line-height: 1.5em;
@@ -267,17 +264,10 @@
 				text-align: end;
 			}
 		}
-		.content-form:not(:last-child){
-			border-bottom: none;
-		}
 		.form-footer-btn{
 			background-color: #fff;
-			position: fixed;
-			bottom: 0;
-			left: 0;
 			width: 100%;
-			padding: 16upx 20upx 12upx;
-			z-index: 999;
+			padding: 20upx;
 			.handle-btn{
 				width: 100%;
 				background-color: rgb(51, 95, 182);