点击按钮,进行页面之间的跳转
bindtap="goNext" 点击事件
###html###
<van-button type="primary" size="large" color="linear-gradient(to right, #4bb0ff, #6149f6)" class='next-demo' bindtap="goNext" >
下一步
</van-button>
###js###
跳转事件
goNext(){
// 【næ vɪ ɡeɪ t to】
wx.navigateTo({
url: '/pages/selectaddress/selectaddress'//跳转
})
},