diff --git a/App.vue b/App.vue index 34d965b..4e6a764 100644 --- a/App.vue +++ b/App.vue @@ -56,6 +56,16 @@ .blank_wrapper { height: calc(20rpx + var(--safe-area-inset-bottom)); + } + + .top_blank_wrapper::after { + content: "."; + } + + .top_blank_wrapper { + height: 0; + width: 100%; + opacity: 0; } .navbar_wrapper { diff --git a/pages.json b/pages.json index 17901e0..339d327 100644 --- a/pages.json +++ b/pages.json @@ -5,6 +5,13 @@ "navigationBarTitleText": "鹿和开发套件", "enablePullDownRefresh": false } + }, { + "path": "pages/main/user/user", + "style": { + "navigationBarTitleText": "我的", + "enablePullDownRefresh": false + } + }], "subPackages": [{ "root": "pages/dev", @@ -17,6 +24,23 @@ } }] }], + "tabBar": { + "color": "#7A7E83", + "selectedColor": "#333333", + "borderStyle": "white", + "backgroundColor": "#ffffff", + "list": [{ + "pagePath": "pages/main/home/home", + "iconPath": "static/image/tabbar/tof.png", + "selectedIconPath": "static/image/tabbar/ton.png", + "text": "首页" + }, { + "pagePath": "pages/main/user/user", + "iconPath": "static/image/tabbar/tof.png", + "selectedIconPath": "static/image/tabbar/ton.png", + "text": "我的" + }] + }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "鹿和开发套件", diff --git a/pages/main/user/user.vue b/pages/main/user/user.vue new file mode 100644 index 0000000..0eda4c0 --- /dev/null +++ b/pages/main/user/user.vue @@ -0,0 +1,22 @@ + + + + + diff --git a/static/image/tabbar/tof.png b/static/image/tabbar/tof.png new file mode 100644 index 0000000..096773c Binary files /dev/null and b/static/image/tabbar/tof.png differ diff --git a/static/image/tabbar/ton.png b/static/image/tabbar/ton.png new file mode 100644 index 0000000..c5dee2f Binary files /dev/null and b/static/image/tabbar/ton.png differ