diff --git a/api/request.js b/api/request.js index 657bc512..152482fa 100644 --- a/api/request.js +++ b/api/request.js @@ -1,5 +1,5 @@ //基础请求地址,需要根据自己的需求切换 -export const BASE_URL = "http://192.168.34.221:9111/" +export const BASE_URL = "http://192.168.34.221:19111/" //export const BASE_URL = "http://192.168.8.100:10000" //export const BASE_URL = "http://106.13.16.28:10000" diff --git a/pages.json b/pages.json index 216b74ee..2bc77e64 100644 --- a/pages.json +++ b/pages.json @@ -1681,6 +1681,20 @@ { "navigationBarTitleText" : "" } + }, + { + "path" : "pages/my/userInfo/userInfo", + "style" : + { + "navigationBarTitleText" : "个人中心" + } + }, + { + "path" : "pages/my/changePassword/changePassword", + "style" : + { + "navigationBarTitleText" : "修改密码" + } } ], // "subPackages":[{ diff --git a/pages/my/changePassword/changePassword.vue b/pages/my/changePassword/changePassword.vue new file mode 100644 index 00000000..943d6ad9 --- /dev/null +++ b/pages/my/changePassword/changePassword.vue @@ -0,0 +1,204 @@ + + + + + \ No newline at end of file diff --git a/pages/my/my.vue b/pages/my/my.vue index 7f56019d..a0a6a1c9 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -6,10 +6,16 @@ 我的 - - - {{userInfo.realName}} - {{userInfo.account}} + + + + {{userInfo.realName}} + {{userInfo.account}} + + + + 个人中心 + @@ -158,6 +164,11 @@ url: '../fileList/fileList' }) }, + goUserInfo() { + uni.navigateTo({ + url: '../my/userInfo/userInfo' + }) + }, toMessageCenter() { uni.navigateTo({ url: '../messageCenter/messageCenter' @@ -185,6 +196,25 @@