diff --git a/pages/index/index.vue b/pages/index/index.vue index f484ed1..6f148d2 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -37,6 +37,22 @@ }; }, onLoad() { + uni.setTabBarItem({ + index: 1, + "visible": false + }); + uni.setTabBarItem({ + index: 2, + "visible": false + }); + uni.setTabBarItem({ + index: 3, + "visible": false + }); + uni.setTabBarItem({ + index: 4, + "visible": false + }); this.listTabbar(); this.getSwiperList() }, @@ -44,34 +60,37 @@ listTabbar() { this.$api.listTabbar({}) .then(res => { - for(var i=0; i console.log(e)); //捕获异常