Bladeren bron

【修复】电费异常翻页时,会显示水费异常。首页显示优化。

程志平 4 jaren geleden
bovenliggende
commit
8e4b8a0b80
3 gewijzigde bestanden met toevoegingen van 14 en 11 verwijderingen
  1. 1 1
      src/components/login/Login.vue
  2. 6 8
      src/components/login/login.css
  3. 7 2
      src/components/zhifuyichang/zhifuyichang.vue

+ 1 - 1
src/components/login/Login.vue

@@ -103,7 +103,7 @@
 							// console.log(res.data);
 							if (typeof(res.data.msg) != 'undefined' && res.data.msg != '' && JSON.stringify(res
 									.data) != '{}') {
-								console.log(typeof(res.data.msg));
+								// console.log(typeof(res.data.msg));
 								if (res.data.msg == '用户名或密码不正确') {
 									_this.$message.error(res.data.msg);
 									return

+ 6 - 8
src/components/login/login.css

@@ -1,10 +1,8 @@
+html,
+body,
 .container {
-	width: 100%;
-	height: 100%;
-	min-width: 1900px;
-	min-height: 1080px;
-	max-width: 1920px;
-	max-height: 1080px;
+	width: 100vw;
+	height: 100vh;
 	background: url(../../../static/images/bg.png) no-repeat;
 	background-size: 100% 100%;
 	margin-bottom: 0;
@@ -15,7 +13,7 @@
 	flex-direction: column;
 	justify-content: center;
 	align-items: center;
-	padding: 230px 0 0 1015px;
+	padding: 190px 0 0 1055px;
 	width: 600px;
 }
 
@@ -30,7 +28,7 @@
 	width: 546px;
 	height: 42px;
 	line-height: 42px;
-	font-size: 42px;
+	font-size: 38px;
 	font-family: Microsoft YaHei;
 	font-weight: bold;
 	color: #3CADFD;

+ 7 - 2
src/components/zhifuyichang/zhifuyichang.vue

@@ -109,8 +109,13 @@
 					page: this.currentPage,
 					rows: this.pageRows
 				}
-				// 水费支付异常列表
-				this.get_water_exception_list(params)
+				if (this.drom == '水费') {
+					// 水费支付异常列表
+					this.get_water_exception_list(params)
+				} else if (this.drom == '电费') {
+					// 电费支付异常列表
+					this.get_electric_exception_list(params)
+				}
 			},
 			/**
 			 * 处理异常对话框