Pārlūkot izejas kodu

C:/Program Files/Git/city/listinfo

xiuli.gao 6 gadi atpakaļ
vecāks
revīzija
55b8664c43

+ 1 - 1
fund_h5/css/typeChoice.css

@@ -35,7 +35,7 @@ nav p {
35 35
 }
36 36
 
37 37
 .list{
38
-	margin-top: 0.74rem;
38
+	margin-top: 0.54rem;
39 39
 }
40 40
 .typeList{
41 41
 	background: #FFFFFF;

+ 1 - 1
fund_h5/fund_h5_api.html

@@ -90,7 +90,7 @@
90 90
     </div>
91 91
     <script src="./js/auto_size.js"></script>
92 92
     <script src="./js/tips.js"></script>
93
-    <script src="./js/fund_h5_api.js?v=10"></script>
93
+    <script src="./js/fund_h5_api.js?v=11"></script>
94 94
 </body>
95 95
 
96 96
 </html>

+ 19 - 7
fund_h5/js/fund_h5_api.js

@@ -265,11 +265,26 @@ function renderLoginInfo(cityInfo) {
265 265
             if (loginField.name.includes('联名卡')) {
266 266
                 placeStr = '请输入公积金联名卡号';
267 267
             } else if (loginField.name.includes('身份证')) {
268
-                placeStr = '首次查询请选择联名卡号';
268
+                placeStr = '请输入身份证';
269
+            } else if (loginField.name.includes('手机号')) {
270
+                placeStr = '请输入手机号';
271
+            } else if (loginField.name.includes('用户名')) {
272
+                placeStr = '请输入用户名';
273
+            } else if (loginField.name.includes('账号')) {
274
+                placeStr = '请输入账号';
275
+            } else if (loginField.name.includes('姓名')) {
276
+                placeStr = '请输入姓名';
277
+            } else if (loginField.name.includes('存折账号')) {
278
+                placeStr = '请输入存折账号';
269 279
             } else if (loginField.name.includes('密码')) {
270 280
                 placeStr = '请输入密码';
271 281
                 type = 'password';
272 282
             }
283
+            if(qs.name == "北京"){
284
+            	if (loginField.name.includes('身份证')) {
285
+	                placeStr = '首次查询请选择联名卡号';
286
+	            }
287
+            }
273 288
 			if(loginField.name.includes('密码')){
274 289
 				tabConHtmlStr += '<div class="input-wrapper inputForget" ><label for="">' + loginField.name + ':</label><input id="' + loginField.code + '" type="' + type + '" placeholder="' + placeStr + '"><div class="forget" onclick="forgetEvent()">忘记密码</div></div>';
275 290
 			}else{
@@ -743,18 +758,15 @@ var process = new Process({
743 758
 function cituInfoData () {
744 759
 	$.ajax({
745 760
 		type:"POST",
746
-		url: "/api/city/info",
747
-		headers:{
748
-			'token': '5dac206be8b1f5736285fc03a08adb3c'
749
-		},
761
+		url: "/api/city/listinfo",
750 762
 		data:{
751 763
 			'region': qs.name
752 764
 		},
753 765
 		dataType:'json',
754 766
 		success: function (res) {
755 767
 			console.log(res)
756
-			if(res.errno == 0 && res.rst.data && res.rst.data.city){
757
-				var data = res.rst.data.city;
768
+			if(res.errno == 0 && res.rst.city && res.rst.city.city){
769
+				var data = res.rst.city.city;
758 770
 				if(data.pwd_info){
759 771
 					$(".dialog-forget").find("p").html(data.pwd_info);
760 772
 				}else{

+ 3 - 6
fund_h5/js/queryHelp.js

@@ -55,18 +55,15 @@ function goZhuce () {
55 55
 function cituInfoData () {
56 56
 	$.ajax({
57 57
 		type:"POST",
58
-		url: "/api/city/info",
59
-		headers:{
60
-			'token': '5dac206be8b1f5736285fc03a08adb3c'
61
-		},
58
+		url: "/api/city/listinfo",
62 59
 		data:{
63 60
 			'region': qs.name
64 61
 		},
65 62
 		dataType:'json',
66 63
 		success: function (res) {
67 64
 			console.log(res)
68
-			if(res.errno == 0 && res.rst.data && res.rst.data.city){
69
-				var data = res.rst.data.city;
65
+			if(res.errno == 0 && res.rst.city && res.rst.city.city){
66
+				var data = res.rst.city.city;
70 67
 				if(data.help_info && data.help_info != ""){
71 68
 					$(".container").html(data.help_info);
72 69
 					$(".container").find("p").css({

+ 3 - 6
fund_h5/js/typeChoice.js

@@ -48,17 +48,14 @@ function goBack () {
48 48
 function cituInfoData () {
49 49
 	$.ajax({
50 50
 		type:"POST",
51
-		url: "/api/city/info",
52
-		headers:{
53
-			'token': '5dac206be8b1f5736285fc03a08adb3c'
54
-		},
51
+		url: "/api/city/listinfo",
55 52
 		data:{
56 53
 			'region': name
57 54
 		},
58 55
 		success: function (res) {
59 56
 			console.log(res)
60
-			if(res.errno == 0 && res.rst.data){
61
-				var list = res.rst.data.list;
57
+			if(res.errno == 0 && res.rst.city){
58
+				var list = res.rst.city.list;
62 59
 				var html = '';
63 60
 				if(list.length > 0){
64 61
 					for(var i = 0 ; i < list.length ; i++){

+ 1 - 1
fund_h5/queryHelp.html

@@ -34,4 +34,4 @@
34 34
 </html>
35 35
 <script src="./js/auto_size.js"></script>
36 36
 <script src="./js/tips.js"></script>
37
-<script type="text/javascript" src="js/queryHelp.js?v=12"></script>
37
+<script type="text/javascript" src="js/queryHelp.js?v=13"></script>

+ 2 - 2
fund_h5/typeChoice.html

@@ -5,7 +5,7 @@
5 5
 	    <title>类型选择</title>
6 6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7 7
 	    <link rel="stylesheet" href="./css/reset.css">
8
-	    <link rel="stylesheet" href="./css/typeChoice.css?v=10">
8
+	    <link rel="stylesheet" href="./css/typeChoice.css?v=11">
9 9
 	    <script src="./js/jquery.min.js"></script>
10 10
 	    <script type="text/javascript" src="kuxuan/api-url.js"></script>
11 11
 	    <script src="./js/common.js"></script>
@@ -37,4 +37,4 @@
37 37
 </html>
38 38
 <script src="./js/auto_size.js"></script>
39 39
 <script src="./js/tips.js"></script>
40
-<script type="text/javascript" src="js/typeChoice.js?v=10"></script>
40
+<script type="text/javascript" src="js/typeChoice.js?v=11"></script>

+ 1 - 1
fund_h5_01/css/typeChoice.css

@@ -35,7 +35,7 @@ nav p {
35 35
 }
36 36
 
37 37
 .list{
38
-	margin-top: 0.74rem;
38
+	margin-top: 0.54rem;
39 39
 }
40 40
 .typeList{
41 41
 	background: #FFFFFF;

+ 1 - 1
fund_h5_01/fund_h5_api.html

@@ -98,7 +98,7 @@
98 98
     </div>
99 99
     <script src="./js/auto_size.js"></script>
100 100
     <script src="./js/tips.js"></script>
101
-    <script src="./js/fund_h5_api.js?v=10"></script>
101
+    <script src="./js/fund_h5_api.js?v=11"></script>
102 102
 </body>
103 103
 
104 104
 </html>

+ 19 - 7
fund_h5_01/js/fund_h5_api.js

@@ -285,11 +285,26 @@ function renderLoginInfo(cityInfo) {
285 285
             if (loginField.name.includes('联名卡')) {
286 286
                 placeStr = '请输入公积金联名卡号';
287 287
             } else if (loginField.name.includes('身份证')) {
288
-                placeStr = '首次查询请选择联名卡号';
288
+                placeStr = '请输入身份证';
289
+            } else if (loginField.name.includes('手机号')) {
290
+                placeStr = '请输入手机号';
291
+            } else if (loginField.name.includes('用户名')) {
292
+                placeStr = '请输入用户名';
293
+            } else if (loginField.name.includes('账号')) {
294
+                placeStr = '请输入账号';
295
+            } else if (loginField.name.includes('姓名')) {
296
+                placeStr = '请输入姓名';
297
+            } else if (loginField.name.includes('存折账号')) {
298
+                placeStr = '请输入存折账号';
289 299
             } else if (loginField.name.includes('密码')) {
290 300
                 placeStr = '请输入密码';
291 301
                 type = 'password';
292 302
             }
303
+            if(qs.name == "北京"){
304
+            	if (loginField.name.includes('身份证')) {
305
+	                placeStr = '首次查询请选择联名卡号';
306
+	            }
307
+            }
293 308
 			if(loginField.name.includes('密码')){
294 309
 				tabConHtmlStr += '<div class="input-wrapper inputForget" ><label for="">' + loginField.name + ':</label><input id="' + loginField.code + '" type="' + type + '" placeholder="' + placeStr + '"><div class="forget" onclick="forgetEvent()">忘记密码</div></div>';
295 310
 			}else{
@@ -771,18 +786,15 @@ var process = new Process({
771 786
 function cituInfoData () {
772 787
 	$.ajax({
773 788
 		type:"POST",
774
-		url: "/api/city/info",
775
-		headers:{
776
-			'token': '5dac206be8b1f5736285fc03a08adb3c'
777
-		},
789
+		url: "/api/city/listinfo",
778 790
 		data:{
779 791
 			'region': qs.name
780 792
 		},
781 793
 		dataType:'json',
782 794
 		success: function (res) {
783 795
 			console.log(res)
784
-			if(res.errno == 0 && res.rst.data && res.rst.data.city){
785
-				var data = res.rst.data.city;
796
+			if(res.errno == 0 && res.rst && res.rst.city){
797
+				var data = res.rst.city.city;
786 798
 				if(data.pwd_info){
787 799
 					$(".dialog-forget").find("p").html(data.pwd_info);
788 800
 				}else{

+ 4 - 7
fund_h5_01/js/queryHelp.js

@@ -61,18 +61,15 @@ function goZhuce () {
61 61
 function cituInfoData () {
62 62
 	$.ajax({
63 63
 		type:"POST",
64
-		url: "/api/city/info",
65
-		headers:{
66
-			'token': '5dac206be8b1f5736285fc03a08adb3c'
67
-		},
64
+		url: "/api/city/listinfo",
68 65
 		data:{
69 66
 			'region': qs.name
70 67
 		},
71 68
 		dataType:'json',
72 69
 		success: function (res) {
73 70
 			console.log(res)
74
-			if(res.errno == 0 && res.rst.data && res.rst.data.city){
75
-				var data = res.rst.data.city;
71
+			if(res.errno == 0 && res.rst.city && res.rst.city.city){
72
+				var data = res.rst.city.city;
76 73
 				if(data.help_info && data.help_info != ""){
77 74
 					$(".container").html(data.help_info);
78 75
 					$(".container").find("p").css({
@@ -86,7 +83,7 @@ function cituInfoData () {
86 83
 						"font-family": "微软雅黑"
87 84
 					})
88 85
 					$(".container strong").css({"color":"#333333","font-weight":"bold","font-size":"0.16rem"})
89
-					$(".container strong span").css({"color":"#333333","font-weight":"bold","font-size":"0.16rem"})
86
+					$(".container strong span").css({"color":"#333333","font-weight":"bold","font-size":"0.1rem"})
90 87
 					$(".container strong").find("span").css({"color":"#333333"})
91 88
 					$(".goGjj").html(`<div class="ljqw">前往<em>${city_name}</em>公积金官网注册  <span onclick="goZhuce()">复制链接 </span>
92 89
             </div>`)

+ 3 - 6
fund_h5_01/js/typeChoice.js

@@ -50,17 +50,14 @@ function cituInfoData () {
50 50
 	console.log(name)
51 51
 	$.ajax({
52 52
 		type:"POST",
53
-		url: "/api/city/info",
54
-		headers:{
55
-			'token': '5dac206be8b1f5736285fc03a08adb3c'
56
-		},
53
+		url: "/api/city/listinfo",
57 54
 		data:{
58 55
 			'region': name
59 56
 		},
60 57
 		success: function (res) {
61 58
 			console.log(res)
62
-			if(res.errno == 0 && res.rst.data){
63
-				var list = res.rst.data.list;
59
+			if(res.errno == 0 && res.rst.city){
60
+				var list = res.rst.city.list;
64 61
 				var html = '';
65 62
 				if(list.length > 0){
66 63
 					for(var i = 0 ; i < list.length ; i++){

+ 1 - 1
fund_h5_01/queryHelp.html

@@ -41,4 +41,4 @@
41 41
 </html>
42 42
 <script src="./js/auto_size.js?vv=10"></script>
43 43
 <script src="./js/tips.js?vv=10"></script>
44
-<script type="text/javascript" src="js/queryHelp.js?vv=12"></script>
44
+<script type="text/javascript" src="js/queryHelp.js?vv=13"></script>

+ 2 - 2
fund_h5_01/typeChoice.html

@@ -5,7 +5,7 @@
5 5
 	    <title>类型选择</title>
6 6
 	    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
7 7
 	    <link rel="stylesheet" href="./css/reset.css?vv=1">
8
-	    <link rel="stylesheet" href="./css/typeChoice.css?vv=10">
8
+	    <link rel="stylesheet" href="./css/typeChoice.css?vv=11">
9 9
 	    <script src="./js/jquery.min.js"></script>
10 10
 	    <script type="text/javascript" src="kuxuan/api-url.js?vv=10"></script>
11 11
 	    <div style="display: none;">
@@ -37,4 +37,4 @@
37 37
 </html>
38 38
 <script src="./js/auto_size.js?vv=10"></script>
39 39
 <script src="./js/tips.js?vv=10"></script>
40
-<script type="text/javascript" src="js/typeChoice.js?vv=10"></script>
40
+<script type="text/javascript" src="js/typeChoice.js?vv=11"></script>