login.js 754 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. // pages/login/login.js
  2. Page({
  3. /**
  4. * Page initial data
  5. */
  6. data: {},
  7. /**
  8. * Lifecycle function--Called when page load
  9. */
  10. onLoad(options) {},
  11. /**
  12. * Lifecycle function--Called when page is initially rendered
  13. */
  14. onReady() {},
  15. /**
  16. * Lifecycle function--Called when page show
  17. */
  18. onShow() {},
  19. /**
  20. * Lifecycle function--Called when page hide
  21. */
  22. onHide() {},
  23. /**
  24. * Lifecycle function--Called when page unload
  25. */
  26. onUnload() {},
  27. /**
  28. * Page event handler function--Called when user drop down
  29. */
  30. onPullDownRefresh() {},
  31. /**
  32. * Called when page reach bottom
  33. */
  34. onReachBottom() {},
  35. /**
  36. * Called when user click on the top right corner to share
  37. */
  38. onShareAppMessage() {}
  39. })