xiuli.gao 6 years ago
parent
commit
07cd60c0e2

+ 1 - 1
fund_h5/css/fund_h5_api.css

29
     background-repeat: no-repeat;
29
     background-repeat: no-repeat;
30
     background-size: 100% auto;
30
     background-size: 100% auto;
31
     position: absolute;
31
     position: absolute;
32
-    top: 0.2rem;
32
+    top: 0;
33
     bottom: 0;
33
     bottom: 0;
34
     margin: auto;
34
     margin: auto;
35
 	margin-left: 0.1rem;
35
 	margin-left: 0.1rem;

+ 2 - 2
fund_h5/js/choose_city2.js

12
 
12
 
13
 $('#back').click(function() {
13
 $('#back').click(function() {
14
 // window.history.go(-1)
14
 // window.history.go(-1)
15
-    window.webkit.messageHandlers.PopRootMessageHandler.postMessage();
15
+    window.webkit.messageHandlers.PopRootMessageHandler.postMessage({name:"1"});
16
 });
16
 });
17
 
17
 
18
 $('.current-city').click(function() {
18
 $('.current-city').click(function() {
23
 //	data = JSON.stringify(data);
23
 //	data = JSON.stringify(data);
24
     window.webkit.messageHandlers.CityLocationMessageHandler.postMessage(data);
24
     window.webkit.messageHandlers.CityLocationMessageHandler.postMessage(data);
25
 //  window.history.go(-1)
25
 //  window.history.go(-1)
26
-    window.webkit.messageHandlers.PopRootMessageHandler.postMessage();
26
+//  window.webkit.messageHandlers.PopRootMessageHandler.postMessage({name:'1'});
27
 })
27
 })
28
 
28
 
29
 function redirectToFailedReturnUrl(tid, result, failCode, reason) {
29
 function redirectToFailedReturnUrl(tid, result, failCode, reason) {

+ 0 - 2
fund_h5/js/city_picker2.js

59
 					code: that.code
59
 					code: that.code
60
 				}
60
 				}
61
     			    window.webkit.messageHandlers.CityLocationMessageHandler.postMessage(data);
61
     			    window.webkit.messageHandlers.CityLocationMessageHandler.postMessage(data);
62
-//			    window.history.go(-1)
63
-    				window.webkit.messageHandlers.PopRootMessageHandler.postMessage();
64
 //              if (document.referrer.indexOf('&name=') === -1) {
62
 //              if (document.referrer.indexOf('&name=') === -1) {
65
 //                  window.location.href = './fund_h5_api.html?token=' + token + '&name=' + that.city + '&code=' + that.code;
63
 //                  window.location.href = './fund_h5_api.html?token=' + token + '&name=' + that.city + '&code=' + that.code;
66
 //              } else {
64
 //              } else {

+ 1 - 1
fund_h5/js/fund_h5_api.js

204
         },
204
         },
205
         error: function(err) {
205
         error: function(err) {
206
 //          return showMsg('获取城市信息失败:' + JSON.stringify(err));
206
 //          return showMsg('获取城市信息失败:' + JSON.stringify(err));
207
-            return showMsg('获取城市信息失败' + cityInfo.region + '公积金查询');
207
+            return showMsg('获取城市信息失败:' + qs.name + '公积金查询');
208
         }
208
         }
209
     });
209
     });
210
 }
210
 }

+ 2 - 2
fund_h5/js/queryHelp.js

32
 //nav返回上一页
32
 //nav返回上一页
33
 function goBack () {
33
 function goBack () {
34
 	$("nav i").click(function () {
34
 	$("nav i").click(function () {
35
-//		history.go(-1)
36
-		window.location.href = httpStr + "&name=" + city_name + "&code=" + code + "&token=" + token;
35
+   		window.history.go(-1)
36
+//		window.location.href = httpStr + "&name=" + city_name + "&code=" + code + "&token=" + token;
37
 	})
37
 	})
38
 }
38
 }
39
 
39