Home >WeChat Applet >Mini Program Development >WeChat Mini Program (3) Detailed introduction of tabBar bottom navigation

WeChat Mini Program (3) Detailed introduction of tabBar bottom navigation

高洛峰
高洛峰Original
2017-01-09 10:57:521978browse

微信小程序 (三)tabBar底部导航详细介绍

TabBar is relatively commonly used, but it is not difficult to use. Just configure tabBar in app.json. Note that tabBar requires at least two and at most five Item options.

Main attributes:

For tabBar overall property settings:

微信小程序 (三)tabBar底部导航详细介绍

For each Item property setting in tabBar:

微信小程序 (三)tabBar底部导航详细介绍

The following is a picture from the official website describing tabBar:

微信小程序 (三)tabBar底部导航详细介绍

The configuration of app.json is relatively simple:

微信小程序 (三)tabBar底部导航详细介绍


More WeChat mini programs (3) For detailed introduction to the bottom navigation of tabBar, please pay attention to the PHP Chinese website for related articles!


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn