Welcome

首页 / 脚本样式 / JavaScript / 微信小程序 navigator 组件实例详解


navigator跳转分为两个状态一种是关闭当前页面一种是不关闭当前页面。用redirect属性指定。
主要属性:

wxml
<navigator url="../index/index">点击跳转不关闭当前页面</navigator><navigator url="../logs/logs" redirect="true" >点击跳转关闭当前页面</navigator>
相关文章:
hello WeApp                      icon组件
Window                             text组件                                switch组件
tabBar底部导航                 progress组件                        action-sheet
应用生命周期                    button组件                            modal组件
页面生命周期                    checkbox组件                       toast组件
模块化详                           form组件详                            loading 组件
数据绑定                           input 组件                             navigator 组件
View组件                          picker组件                             audio 组件
scroll-view组件                 radio组件                              video组件
swiper组件                        slider组件                              Image组件