From 44c6462f69ef89a19d0962cd8991793ffc30cae8 Mon Sep 17 00:00:00 2001 From: xuzhangzheng Date: Mon, 25 Jul 2022 15:34:46 +0800 Subject: [PATCH] update --- .../exercises.md" | 33 +++++++++++++++++ .../config.json" | 13 ++++++- .../exercises.md" | 37 +++++++++++++++++++ .../exercises.md" | 33 +++++++++++++++++ 4 files changed, 114 insertions(+), 2 deletions(-) create mode 100644 "data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/1.\345\272\224\347\224\250\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" create mode 100644 "data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/2.\351\241\265\351\235\242\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" create mode 100644 "data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/3.\347\273\204\344\273\266\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" diff --git "a/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/1.\345\272\224\347\224\250\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" "b/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/1.\345\272\224\347\224\250\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" new file mode 100644 index 0000000..4026bfe --- /dev/null +++ "b/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/1.\345\272\224\347\224\250\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" @@ -0,0 +1,33 @@ +# 应用生命周期 + +下列生命周期函数中,哪个不是小程序的应用生命周期? + +## 答案 + +onLoad + +## 选项 + +### A + +onLaunch + +### B + +onShow + +### C + +onHide + +### D + +onError + +### E + +onPageNotFound + +### F + +onThemeChange diff --git "a/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/2.\351\241\265\351\235\242\347\224\237\345\221\275\345\221\250\346\234\237/config.json" "b/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/2.\351\241\265\351\235\242\347\224\237\345\221\275\345\221\250\346\234\237/config.json" index a34d2ba..bda30b2 100644 --- "a/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/2.\351\241\265\351\235\242\347\224\237\345\221\275\345\221\250\346\234\237/config.json" +++ "b/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/2.\351\241\265\351\235\242\347\224\237\345\221\275\345\221\250\346\234\237/config.json" @@ -1,9 +1,18 @@ { "node_id": "mini_programs-99efecbacb014401bec990a69eaafd6a", - "keywords": [], + "keywords": [ + "页面生命周期", + "onLoad", + "onShow", + "onReady", + "onHide", + "onUnload" + ], "children": [], "export": [], - "keywords_must": [], + "keywords_must": [ + + ], "keywords_forbid": [], "group": 0 } \ No newline at end of file diff --git "a/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/2.\351\241\265\351\235\242\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" "b/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/2.\351\241\265\351\235\242\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" new file mode 100644 index 0000000..637eb90 --- /dev/null +++ "b/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/2.\351\241\265\351\235\242\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" @@ -0,0 +1,37 @@ +# 页面生命周期 + +在小程序中有着很多个页面生命周期,它们会在某些特定场景下自动触发对应的函数,请问当页面滚动到底部时,会触发哪个函数? + +## 答案 + +onReachBottom + +## 选项 + +### A + +onPullDownRefresh + +### B + +onPageScroll + +### C + +onShareAppMessage + +### D + +onResize + +### E + +onHide + +### F + +onReady + +### G + +onLoad diff --git "a/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/3.\347\273\204\344\273\266\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" "b/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/3.\347\273\204\344\273\266\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" new file mode 100644 index 0000000..895aaa7 --- /dev/null +++ "b/data/1.\345\260\217\347\250\213\345\272\217\345\210\235\351\230\266/3.\347\224\237\345\221\275\345\221\250\346\234\237/3.\347\273\204\344\273\266\347\224\237\345\221\275\345\221\250\346\234\237/exercises.md" @@ -0,0 +1,33 @@ +# 组件生命周期 + +在下列选项中,哪个生命周期函数,是在组件实例创建完成后被立即调用的? + +## 答案 + +created + +## 选项 + +### A + +onLoad + +### B + +beforeCreate + +### C + +onReady + +### D + +beforeMount + +### E + +mounted + +### F + +destroyed -- GitLab