xiuli.gao 6 年 前
コミット
07cd60c0e2
共有5 個のファイルを変更した6 個の追加8 個の削除を含む
  1. 1 1
      fund_h5/css/fund_h5_api.css
  2. 2 2
      fund_h5/js/choose_city2.js
  3. 0 2
      fund_h5/js/city_picker2.js
  4. 1 1
      fund_h5/js/fund_h5_api.js
  5. 2 2
      fund_h5/js/queryHelp.js

+ 1 - 1
fund_h5/css/fund_h5_api.css

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

+ 2 - 2
fund_h5/js/choose_city2.js

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

+ 0 - 2
fund_h5/js/city_picker2.js

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

+ 1 - 1
fund_h5/js/fund_h5_api.js

@@ -204,7 +204,7 @@ function getLoginInfo() {
204 204
         },
205 205
         error: function(err) {
206 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,8 +32,8 @@ $().ready(function() {
32 32
 //nav返回上一页
33 33
 function goBack () {
34 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