diff --git a/pages.json b/pages.json index e4ad754..43c0c9b 100644 --- a/pages.json +++ b/pages.json @@ -3,6 +3,23 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/login/login", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, + { + "path": "pages/myinformation/myinformation", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, + { "path": "pages/myinformation/myinformation", "style": { @@ -20,33 +37,27 @@ "enablePullDownRefresh": false, "navigationBarTitleText": "工单" } - }, { - "path": "pages/index/index", - "style": { - "enablePullDownRefresh": false, - "navigationStyle": "custom" - } - }, - + } // { - // "path": "pages/login/login", + // "path": "pages/index/index", // "style": { - // "navigationBarTitleText": "", // "enablePullDownRefresh": false, // "navigationStyle": "custom" // } - // }, - { - "path": "pages/myinformation/myinformation", - "style": { - "navigationBarTitleText": "我的", - "enablePullDownRefresh": false, - "navigationBarBackgroundColor": "#4ac4ab" + // } - // "navigationStyle": "custom" - } - } - ], + + + ,{ + "path" : "pages/Personalinfo/Personalinfo", + "style" : + { + "navigationBarTitleText": "个人信息", + "enablePullDownRefresh": false + } + + } + ], "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "", diff --git a/pages/Personalinfo/Personalinfo.vue b/pages/Personalinfo/Personalinfo.vue new file mode 100644 index 0000000..b224ce9 --- /dev/null +++ b/pages/Personalinfo/Personalinfo.vue @@ -0,0 +1,72 @@ + + + + + \ No newline at end of file diff --git a/pages/login/login.vue b/pages/login/login.vue index 693b49b..6490908 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -15,8 +15,6 @@ - - diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue index 7d9d635..30ce16c 100644 --- a/pages/myinformation/myinformation.vue +++ b/pages/myinformation/myinformation.vue @@ -70,7 +70,7 @@ - + 个人信息 @@ -113,6 +113,15 @@ }, methods: { + // 个人信息 + personlinfo(){ + uni.navigateTo({ + url:'/pages/Personalinfo/Personalinfo' + }) + + }, + + } }