//index.wxml get //index.js goToPage:function(){ wx.navigateTo({ url: ‘/pages/hello/hello’, //跳转到的页面地址 }) }