默认高度是50px,可以在pages.json中修改高度
样式修改
App.vue全局样式style添加
.uni-tabbar { // tab 样式 // 背景色 background-color: rgba(57, 181, 74, 0.1) !important; // tabBar 样式 // 上边框 .uni-tabbar-border { background-color: #e54d42 !important; // tabBar 上边框的颜色 } .uni-tabbar__item { // tabBar 单项样式 height: 100rpx !important; &:not(:last-child) { border-right: 4rpx solid #eee; } .uni-tabbar__icon { // tabBar 图标样式 width: 40rpx !important; height: 40rpx !important; } .uni-tabbar__label { // tabBar 文字样式 // color:yellow !important } } }
网友回复
ai先写功能代码通过chrome mcp来进行测试功能最后ai美化页面这个流程能行吗?
vue在手机端上下拖拽元素的时候如何禁止父元素及body的滚动导致无法拖拽完成?
使用tailwindcss如何去掉响应式自适应?
有没有直接在浏览器中运行的离线linux系统?
nginx如何保留post或get数据进行url重定向?
python有没有能绕过Cloudflare人机验证的爬虫库?
有没有免费的股票量化交易本地部署预测模型?
如何根据一张人脸照片全网人肉搜索这个人的其他照片或信息?
js版本iife esm umd cjs有啥区别?
如何将ctrl+c复制的网页图文列表自动解析成可编辑的电子表格?