// pages/teacherHomePage/teacherHomePage.js Page({ goBack: function() { wx.navigateTo({ url:'/pages/index/index' }); }, startRollCall: function() { wx.navigateTo({ url: '/pages/rollCall/rollCall' }); }, showRanking: function() { wx.navigateTo({ url: '/pages/ranking/ranking' }); }, showStudentList: function() { wx.navigateTo({ url: '/pages/studentList/studentList' }); }, showRulesList: function() { wx.navigateTo({ url: '/pages/RulesList/RulesList' }); } });