组件化之后的js 和 原生交互就发生了很大的变化, html只管根据 url 来跳转到原生的各个界面:
  1. 再也不需要根据 html 的 type 来判断跳转到那个页面
  2. 对于需要登录、权限、定位或者其他先决条件的界面也不需要在跳转前处理
  1. 测试自动注入
  2. router://component1/testQuery?name=webName&pass=webPass
  3. 打电话:router://system/callPhone?tel=17321174171
  4. 打电话:router://system/callPhone?tel=15857913627
  5. 去拍照(router://system/takePhone)
  6. 个人中心(router://user/personCenter)
  7. https://www.baidu.com
  8. https://github.com/ManbangGroup/Phantom/