Commit 4d37bd73 authored by fengruiyu's avatar fengruiyu

修改JS(z3map)

parent 044c435b
...@@ -105,6 +105,15 @@ function centerChanged() { ...@@ -105,6 +105,15 @@ function centerChanged() {
} }
} }
function needPay() {
try {
doAppFun("needPay");
} catch (e) {
// console.log("tips", msg)
//alert("app未弹框==>" + msg + e)
}
}
function tips(msg) { function tips(msg) {
try { try {
doAppFun("tips", msg); doAppFun("tips", msg);
...@@ -197,6 +206,12 @@ connectWebViewJavascriptBridge(function (bridge) { ...@@ -197,6 +206,12 @@ connectWebViewJavascriptBridge(function (bridge) {
responseCallback(getVmMsg("suc:changeMapType")); responseCallback(getVmMsg("suc:changeMapType"));
}); });
bridge.registerHandler("changeToVip", function (data, responseCallback) {
vm.changeToVip();
responseCallback(getVmMsg("suc:changeToVip"));
});
}) })
......
This diff is collapsed.
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