diff --git a/teamwork/App.vue b/teamwork/App.vue index be44f843a571630ff597e801c03dced4cccad8c9..a4d18a1900b364914a0c1cbdcc0db6f315b6f71b 100644 --- a/teamwork/App.vue +++ b/teamwork/App.vue @@ -2,6 +2,7 @@ export default { onLaunch: function() { console.log('App Launch') + uni.hideTabBar(); }, onShow: function() { console.log('App Show') diff --git a/teamwork/components/tabbar/tabbar.vue b/teamwork/components/tabbar/tabbar.vue index 35edbc0418a91e9408fd0c1cfc1068933da82203..1a70c31e83c624f8a96620d377e481e8aa0056ee 100644 --- a/teamwork/components/tabbar/tabbar.vue +++ b/teamwork/components/tabbar/tabbar.vue @@ -1,11 +1,12 @@ @@ -17,8 +18,22 @@ }, data() { return { - list: [{ path: "pages/login/login" }, - { path: "pages/login/register" }, + list: [{ + path: "pages/sport/main" + }, + { + path: "pages/discover/main" + }, + { + path: "pages/post/post" + }, + { + path: "pages/team/main" + }, + { + path: "pages/my/main" + } + ] }; }, diff --git a/teamwork/main.js b/teamwork/main.js index c1141161c93b89aa3f6b03e6a80d5101aa9a0dba..c78495aa7b8da6fd013496a718fa4ccf49d04d86 100644 --- a/teamwork/main.js +++ b/teamwork/main.js @@ -1,6 +1,8 @@ import App from './App' import Vue from 'vue' import './uni.promisify.adaptor' +import uView from '@/uni_modules/uview-ui' +Vue.use(uView) Vue.config.productionTip = false App.mpType = 'app' const app = new Vue({ diff --git a/teamwork/pages.json b/teamwork/pages.json index 83a64a512f24d00ad1cd990ef940fd98e20b20cb..77791336e509d4ede74763660bd8d698d197b757 100644 --- a/teamwork/pages.json +++ b/teamwork/pages.json @@ -1,49 +1,75 @@ { - + "easycom": { "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue" }, - "pages": [ + "pages": [ + // { + // "path": "pages/login/login", + // "style": { + // "navigationStyle": "custom" + // } + // }, { + // "path": "pages/login/register", + // "style": { + // "navigationStyle": "custom" + // } + // }, { - "path": "pages/login/login", + "path": "pages/sport/main", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/discover/main", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/post/post", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/team/main", + "style": { + "navigationStyle": "custom" + } + }, + { + "path": "pages/my/main", "style": { "navigationStyle": "custom" } } - ,{ - "path" : "pages/login/register", - "style" : - { - "navigationStyle": "custom" - } - },{ - "path" : "pages/helang-tabBar/helang-tabBar", - "style" : - { - "navigationStyle": "custom" - } - },{ - "path" : "pages/sport/main", - "style" : - { - "navigationStyle": "custom" - } - } - ], + ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, - "tabBar": { + "tabBar": { "list": [{ - "pagePath": "pages/login/login" + "pagePath": "pages/sport/main" + }, + { + "pagePath": "pages/discover/main" + }, + { + "pagePath": "pages/post/post" + }, + { + "pagePath": "pages/team/main" }, { - "pagePath": "pages/login/register" + "pagePath": "pages/my/main" } + ] }, "uniIdRouter": {} -} +} \ No newline at end of file diff --git a/teamwork/pages/discover/main.vue b/teamwork/pages/discover/main.vue new file mode 100644 index 0000000000000000000000000000000000000000..60f525a3b0746586ccc7a1deaa5175234055a880 --- /dev/null +++ b/teamwork/pages/discover/main.vue @@ -0,0 +1,17 @@ + + + + + \ No newline at end of file diff --git a/teamwork/pages/helang-tabBar/helang-tabBar.vue b/teamwork/pages/helang-tabBar/helang-tabBar.vue deleted file mode 100644 index 5f67c62a17031615ec24777c6547546d3e1a2693..0000000000000000000000000000000000000000 --- a/teamwork/pages/helang-tabBar/helang-tabBar.vue +++ /dev/null @@ -1,68 +0,0 @@ - - - - - diff --git a/teamwork/pages/login/login.vue b/teamwork/pages/login/login.vue index 0f710e34c014cf3b45e7ff8a37c91a44c93092da..0f321b03d28722a46e081b1740ad335038bad18a 100644 --- a/teamwork/pages/login/login.vue +++ b/teamwork/pages/login/login.vue @@ -15,6 +15,7 @@ + @@ -30,6 +31,9 @@ export default { name: 'login', components: {}, + onLoad() { + uni.hideTabBar(); + }, data() { return { formData: { diff --git a/teamwork/pages/my/main.vue b/teamwork/pages/my/main.vue new file mode 100644 index 0000000000000000000000000000000000000000..ca09f8351ca3653ea8f47fa1b6ba23f0082acf58 --- /dev/null +++ b/teamwork/pages/my/main.vue @@ -0,0 +1,17 @@ + + + + + \ No newline at end of file diff --git a/teamwork/pages/post/post.vue b/teamwork/pages/post/post.vue new file mode 100644 index 0000000000000000000000000000000000000000..01a66c85a25f8d38f3f408a4573b1ca9c9106527 --- /dev/null +++ b/teamwork/pages/post/post.vue @@ -0,0 +1,72 @@ + + + + + \ No newline at end of file diff --git a/teamwork/pages/sport/main.vue b/teamwork/pages/sport/main.vue index 11efff500ba244e7c1d3c9eb3dba97141aa7a8e8..854bca4e6a5e1122e87837708922beca11142653 100644 --- a/teamwork/pages/sport/main.vue +++ b/teamwork/pages/sport/main.vue @@ -1,8 +1,16 @@ - + \ No newline at end of file diff --git "a/teamwork/static/tabbar/\345\217\221\347\216\260.png" "b/teamwork/static/tabbar/\345\217\221\347\216\260.png" new file mode 100644 index 0000000000000000000000000000000000000000..7fcb14e9a74648d5edd64a03a4b73a98e63555b1 Binary files /dev/null and "b/teamwork/static/tabbar/\345\217\221\347\216\260.png" differ diff --git "a/teamwork/static/tabbar/\345\234\210\345\255\220.png" "b/teamwork/static/tabbar/\345\234\210\345\255\220.png" new file mode 100644 index 0000000000000000000000000000000000000000..9ec29714e28dd9306a0ad92b86f7f81f0dc17bbd Binary files /dev/null and "b/teamwork/static/tabbar/\345\234\210\345\255\220.png" differ diff --git "a/teamwork/static/tabbar/\346\210\221\347\232\204.png" "b/teamwork/static/tabbar/\346\210\221\347\232\204.png" new file mode 100644 index 0000000000000000000000000000000000000000..65bd6f86655289e5713d2796e9f2ec93105d0c45 Binary files /dev/null and "b/teamwork/static/tabbar/\346\210\221\347\232\204.png" differ diff --git "a/teamwork/static/tabbar/\350\277\220\345\212\250.png" "b/teamwork/static/tabbar/\350\277\220\345\212\250.png" new file mode 100644 index 0000000000000000000000000000000000000000..33089587747d9b47e1520970b5f851ce5157c797 Binary files /dev/null and "b/teamwork/static/tabbar/\350\277\220\345\212\250.png" differ diff --git "a/teamwork/static/tabbar/\351\230\237\344\274\215.png" "b/teamwork/static/tabbar/\351\230\237\344\274\215.png" new file mode 100644 index 0000000000000000000000000000000000000000..ec95c340f6d6c7a5382348c42f97cc068bc9f93b Binary files /dev/null and "b/teamwork/static/tabbar/\351\230\237\344\274\215.png" differ