Commit 45eff9fb by sunchao

banner跳转

parent bd529de2
...@@ -34,7 +34,10 @@ ...@@ -34,7 +34,10 @@
window.location.href = url; window.location.href = url;
// #endif // #endif
// #ifdef APP-PLUS // #ifdef APP-PLUS
plus.runtime.openURL(url) uni.navigateTo({
url: '/components/webview?url=' + url
// page.json定义的路径 传url 到webview界面去接收 实现跳转
})
//#endif //#endif
} }
} }
......
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