diff --git a/pages.json b/pages.json index d58b083f6e17b5d39a527663809bb5a1b03f3287..9b7f130222fb9a33cc176e198b43e661339fab5f 100644 --- a/pages.json +++ b/pages.json @@ -175,6 +175,13 @@ } } + }, { + "path": "pages/ucenter/help", + "style": { + "navigationBarTitleText": "帮助", + "enablePullDownRefresh": false + } + } ], "globalStyle": { diff --git a/pages/ucenter/help.vue b/pages/ucenter/help.vue new file mode 100644 index 0000000000000000000000000000000000000000..2f5d377ae0f21dd5695043275ff4bd2872f7c355 --- /dev/null +++ b/pages/ucenter/help.vue @@ -0,0 +1,178 @@ + + + + + \ No newline at end of file diff --git a/uni_modules/uni-login-page/common/loginPage.mixin.js b/uni_modules/uni-login-page/common/loginPage.mixin.js new file mode 100644 index 0000000000000000000000000000000000000000..3c949edc119034575cb5393f7f3da839cf8daaa5 --- /dev/null +++ b/uni_modules/uni-login-page/common/loginPage.mixin.js @@ -0,0 +1,11 @@ +const helpPage = '/pages/ucenter/help'; // 帮助页面 + +let mixin = { + // 监听帮助按钮 + onNavigationBarButtonTap(event) { + uni.navigateTo({ + url:helpPage + }) + }, +} +export default mixin \ No newline at end of file diff --git a/uni_modules/uni-login-page/pages/index/index.vue b/uni_modules/uni-login-page/pages/index/index.vue index 4e8fb0888360e168b91a968832e13ab96f7cc31e..1b8ef2e193aa77b60887691d2a5a02fd88f7a2d8 100644 --- a/uni_modules/uni-login-page/pages/index/index.vue +++ b/uni_modules/uni-login-page/pages/index/index.vue @@ -38,8 +38,10 @@