先看下效果
实现步骤
1.先引入uview ui(1.0版本),不会的可以看下我另外一篇文章,写的很详细
uniapp 中uview-ui的使用教程
https://blog.youkuaiyun.com/hu104160112/article/details/120076812?spm=1001.2014.3001.5501
2.创建tabbar 组件及页面
3.pages.json文件中配置
{
"easycom": {
"autoscan": true,
"custom": {
"^uni-(.*)": "@/components/uni-$1/uni-$1.vue",
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
}
},
"pages":