diff --git a/api/me/withdraw.js b/api/me/withdraw.js index 1e18e87..425201a 100644 --- a/api/me/withdraw.js +++ b/api/me/withdraw.js @@ -1,8 +1,5 @@ import http from '@/http/http.js' - - - /** * 获取提现金额 */ diff --git a/api/user/user.js b/api/user/user.js index 0f89981..93846b2 100644 --- a/api/user/user.js +++ b/api/user/user.js @@ -8,4 +8,15 @@ export const selectUserById = (data) => { url: '/user/selectUserById', data: data }) -} \ No newline at end of file +} + +/** + * 修改用户信息 + */ +export const updateUsers = (data) => { + return http.request({ + url: '/user/updateUsers', + method: 'POST', + data: data, + }) +} diff --git a/pages.json b/pages.json index 51babc2..e15f514 100644 --- a/pages.json +++ b/pages.json @@ -95,6 +95,11 @@ "navigationBarTitleText": "注册", "navigationStyle": "custom" } + }, { + "path": "pages/login/bind", + "style": { + "navigationBarTitleText": "修改手机号" + } }, { "path": "pages/login/registerApp", "style": { diff --git a/pages/me/index.vue b/pages/me/index.vue index 808992b..6917c38 100644 --- a/pages/me/index.vue +++ b/pages/me/index.vue @@ -9,14 +9,14 @@ - + - + {{ userInfo.phone || '请登录' }} @@ -31,7 +31,7 @@ 我的追剧 {{ likeData.collectCount }} - + 我的红包 {{ amount || 0 }} @@ -82,11 +82,11 @@ 帮助中心 - + 检查更新 - + 用户协议 @@ -94,7 +94,7 @@ 关于我们 - + 隐私政策 @@ -106,7 +106,7 @@