uniapp配置tabbar
时间: 2023-08-22 16:04:55 浏览: 179
在uniapp中配置tabbar有几个关键的配置项。首先是通过tabBar配置项指定tab栏的表现和切换时显示的对应页。可以设置tabBar的属性包括:color(颜色)、selectedColor(选中颜色)、backgroundColor(背景颜色)、borderStyle(上边框颜色,仅支持black和white)、position(tabbar位置,可选值为bottom和top,其中top值仅微信小程序支持)。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [uni-app(4)— 配置tabbar](https://blog.csdn.net/tiffany_kim/article/details/115484137)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文