<template> <div> <tabbar :current="0"></tabbar> 首页</div> </template> <script> import tabbar from "../../components/uiq-tabbar/uiq-tabbar.vue" export default { name: "index", onLoad() { uni.hideTabBar() }, components:{ tabbar } } </script> <style scoped lang="scss"> </style>