页面生命周期:https://uniapp.dcloud.io/api/lifecycle?id=%e9%a1%b5%e9%9d%a2%e7%94%9f%e5%91%bd%e5%91%a8%e6%9c%9f组件的生命周期https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/lifetimes.html