From dec256eb4a7cafbe924db6ff4c5046a454b5f7e9 Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Tue, 21 Nov 2023 16:11:44 +0800 Subject: [PATCH] 111 --- common/wxSilentLogin.js | 8 -- pages.json | 11 ++ pages/index/BindPhone.vue | 253 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 264 insertions(+), 8 deletions(-) create mode 100644 pages/index/BindPhone.vue diff --git a/common/wxSilentLogin.js b/common/wxSilentLogin.js index de1ac3c..6ac3ec6 100644 --- a/common/wxSilentLogin.js +++ b/common/wxSilentLogin.js @@ -1,10 +1,3 @@ -// 静默登录 -import { - isEmpty -} from './TextUtils.js' - -//引入bus -import bus from '@/common/bus'; const wxSilentLogin = () => { return new Promise((resolve, reject) => { @@ -94,7 +87,6 @@ const wxSilentLogin = () => { uni.setStorageSync("sid", res.data.data.sid) uni.setStorageSync("isLogin", true) - bus.$emit('wholeSpin', true); } } else { getApp().globalData.isLogin = false diff --git a/pages.json b/pages.json index f3d9e1a..a639d35 100644 --- a/pages.json +++ b/pages.json @@ -5,6 +5,17 @@ "style": { "navigationBarTitleText": "uni-app" } + }, + { + "path": "pages/index/BindPhone", + "style": { + "navigationBarTitleText": "绑定账号", + "navigationStyle": "custom", + "app-plus": { + "scrollIndicator": false //禁用原生导航栏, + } + } + } ], "globalStyle": { diff --git a/pages/index/BindPhone.vue b/pages/index/BindPhone.vue new file mode 100644 index 0000000..1aa87fe --- /dev/null +++ b/pages/index/BindPhone.vue @@ -0,0 +1,253 @@ + + + + + \ No newline at end of file