点击按钮,进行页面之间的跳转
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'//跳转
})
},