merManagement.js 951 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. // merManagement/merManagement.js
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. checked: true,
  8. activeIcon: '/images/xuanze.svg',
  9. inactiveIcon: '/images/xuanzeanniu.svg',
  10. },
  11. onChange(event) {
  12. this.setData({
  13. checked: event.detail,
  14. });
  15. },
  16. /**
  17. * 生命周期函数--监听页面加载
  18. */
  19. onLoad(options) {
  20. },
  21. /**
  22. * 生命周期函数--监听页面初次渲染完成
  23. */
  24. onReady() {
  25. },
  26. /**
  27. * 生命周期函数--监听页面显示
  28. */
  29. onShow() {
  30. },
  31. /**
  32. * 生命周期函数--监听页面隐藏
  33. */
  34. onHide() {
  35. },
  36. /**
  37. * 生命周期函数--监听页面卸载
  38. */
  39. onUnload() {
  40. },
  41. /**
  42. * 页面相关事件处理函数--监听用户下拉动作
  43. */
  44. onPullDownRefresh() {
  45. },
  46. /**
  47. * 页面上拉触底事件的处理函数
  48. */
  49. onReachBottom() {
  50. },
  51. /**
  52. * 用户点击右上角分享
  53. */
  54. onShareAppMessage() {
  55. }
  56. })