pages/index/index.vue
@@ -36,6 +36,10 @@ this.currIndex = '0' this.showTabBar = true }, onReachBottom() { //这里是判断是否需要继续掉接口 this.$refs.agencyPage.onBottom() }, mounted() { //等待登录成功 this.token = uni.getStorageSync('tonken') @@ -78,4 +82,8 @@ } } </script> <style></style> <style> .newIndex { width: calc(100vw); } </style>