onHide() 页面隐藏/切入后台时触发。 如 wx.navigateTo 或底部 tab 切换到其他页面,小程序切入后台等。 onUnload() 页面卸载时触发。如wx.redirectTo或wx.navigateBack到其他页面时。 原因:左上角返回会卸载页面,触发onUnload()