# push
跳转到下一 weex 页面
 插件首页 weex.js 默认的 viewTag 是:rootView,返回插件首页可以使用
# 请求参数
| Prop | Type | Required | Default | Description | 
|---|---|---|---|---|
url |  String |  Y |  N/A |  跳转页面路径(以插件文件夹为根目录的相对路径) | 
options |  Object |  N |  animated:{Type: Boolean, Default: true, Description: 是否需要跳转动画 } replace:{Type: Boolean, Default: true, Description: 跳转后是否在历史栈保留当前页面 } viewTag:{Type: String, Default: N/A, Description: 给跳转目标页面设置标识,可用于 goBack 时指定返回页面 } bgColor:{ // ^5.11.0Type: String, Default: N/A, Description: 设置 weex 页面背景颜色 }  |  跳转时选项设置 | 
params |  Object |  N |  - |  url 拼接的参数,以对象键值对形式传参 | 
callback |  Object |  N |  - |  跳转成功的回调 | 
# 接口调用示例
//跳转到pageA页面
let url = 'pageA.js',
options = {
  viewTag: 'pageA',
},
params = {
    type: 'T0x13',
    name: 'lamp'
}
this.$bridge
  .push({
      url,
      options,
      params
  })
  .catch((err) => {
    console.log(err)
  })
 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19