Commit ea9e16db authored by houdong's avatar houdong

bug

parent 31cec99e
...@@ -1067,6 +1067,7 @@ var AppBridge = { ...@@ -1067,6 +1067,7 @@ var AppBridge = {
}, },
goHomeActivity:function (param) { goHomeActivity:function (param) {
// alert(param);
var _this = AppBridge; var _this = AppBridge;
try { try {
if (_this.device == 1) { if (_this.device == 1) {
...@@ -1076,6 +1077,7 @@ var AppBridge = { ...@@ -1076,6 +1077,7 @@ var AppBridge = {
}) })
}); });
} else if (_this.device == 2) { } else if (_this.device == 2) {
window.KoufuCallNative.goHomeActivity(param); window.KoufuCallNative.goHomeActivity(param);
} }
} catch (error) { } catch (error) {
......
...@@ -46,15 +46,16 @@ ...@@ -46,15 +46,16 @@
if (mfrom[0]==1&&mfrom[1]>=410) { if (mfrom[0]==1&&mfrom[1]>=410) {
AppBridge.goHomeActivity({"type1":3,"type2":1,"type3":0}); AppBridge.goHomeActivity({"type1":3,"type2":1,"type3":0});
} }
if (mfrom[0]==2&&mfrom[1]>=410) { // if (mfrom[0]==2&&mfrom[1]>=410) {
// AppBridge.goHomeActivity({"type1":5,"type2":1,"type3":0}); // AppBridge.goHomeActivity({"type1":5,"type2":1,"type3":0});
// jsonObj=JSON.parse({"type1":5,"type2":1,"type3":0}); // jsonObj=JSON.parse({"type1":5,"type2":1,"type3":0});
// AppBridge.goHomeActivity(jsonObj); // AppBridge.goHomeActivity(jsonObj);
jsonObj=JSON.parse({"type1":5,"type2":1,"type3":0}); jsonObj={"type1":5,"type2":1,"type3":0};
AppBridge.goHomeActivity(jsonObj.toString());
} AppBridge.goHomeActivity(JSON.stringify(jsonObj));
// }
//页面默认刷新 //页面默认刷新
var userId="{$user.userID}";//这个userid 一定是从session或者cookie里验证后获取到的。 var userId="{$user.userID}";//这个userid 一定是从session或者cookie里验证后获取到的。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment