myInfo.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. // pages/myInfo/myInfo.js
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. },
  8. /**
  9. * 生命周期函数--监听页面加载
  10. */
  11. onLoad(options) {
  12. },
  13. //跳转到我发出的邀请详情
  14. sendInvitation(){
  15. wx.navigateTo({
  16. url: '/pages/sendInvitation/sendInvitation',
  17. })
  18. },
  19. //跳转到我收到的邀请详情
  20. receivedInvitation(){
  21. wx.navigateTo({
  22. url: '/pages/receivedInvitation/receivedInvitation',
  23. })
  24. },
  25. //跳转到老师认证
  26. teacherAuthentication(){
  27. wx.navigateTo({
  28. url: '/pages/teachAuthentication/teachAuthentication',
  29. })
  30. },
  31. // 跳转到发布新的课程页面
  32. toCoursePublish(){
  33. wx.navigateTo({
  34. url: '/pages/coursePublish/coursePublish',
  35. })
  36. },
  37. //跳转到发布新的需求页面
  38. toNeedPublis(){
  39. wx.navigateTo({
  40. url: '/pages/stuNeed/stuNeed',
  41. })
  42. },
  43. /**
  44. * 生命周期函数--监听页面初次渲染完成
  45. */
  46. onReady() {
  47. },
  48. /**
  49. * 生命周期函数--监听页面显示
  50. */
  51. onShow() {
  52. },
  53. /**
  54. * 生命周期函数--监听页面隐藏
  55. */
  56. onHide() {
  57. },
  58. /**
  59. * 生命周期函数--监听页面卸载
  60. */
  61. onUnload() {
  62. },
  63. /**
  64. * 页面相关事件处理函数--监听用户下拉动作
  65. */
  66. onPullDownRefresh() {
  67. },
  68. /**
  69. * 页面上拉触底事件的处理函数
  70. */
  71. onReachBottom() {
  72. },
  73. /**
  74. * 用户点击右上角分享
  75. */
  76. onShareAppMessage() {
  77. }
  78. })