diff --git a/pages.json b/pages.json index 243e739..09d84f1 100644 --- a/pages.json +++ b/pages.json @@ -3,21 +3,59 @@ "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - + { - "path": "pages/index/index", + "path": "pages/homepage/homepage", + "style": { + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, { + "path": "pages/login/login", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "navigationStyle": "custom" + "navigationBarTitleText": "", + "enablePullDownRefresh": false, + "navigationStyle": "custom" + } + }, { + "path": "pages/myinformation/myinformation", + "style": { + "navigationBarTitleText": "我的", + "enablePullDownRefresh": false, + "navigationBarBackgroundColor": "#4ac4ab" + + // "navigationStyle": "custom" } } ], "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", + "navigationBarTitleText": "", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, - "uniIdRouter": {} + "uniIdRouter": {}, + "tabBar": { + "color": "#7A7E83", + "selectedColor": "#435950", + "borderStyle": "black", + "backgroundColor": "#ffffff", + "list": [{ + "pagePath": "pages/homepage/homepage", + "iconPath": "static/homepage.png", + "selectedIconPath": "static/homepage.png", + "text": "首页" + }, + + { + "pagePath": "pages/myinformation/myinformation", + "iconPath": "static/myinformation.png", + "selectedIconPath": "static/myinformations.png", + "text": "我的" + } + ] + } } diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue new file mode 100644 index 0000000..7cadeb5 --- /dev/null +++ b/pages/homepage/homepage.vue @@ -0,0 +1,25 @@ + + + + + \ No newline at end of file diff --git a/pages/myinformation/myinformation.vue b/pages/myinformation/myinformation.vue new file mode 100644 index 0000000..277cc3e --- /dev/null +++ b/pages/myinformation/myinformation.vue @@ -0,0 +1,45 @@ + + + + + \ No newline at end of file diff --git a/static/homepage.png b/static/homepage.png new file mode 100644 index 0000000..2951ef2 Binary files /dev/null and b/static/homepage.png differ