当前位置:网站首页>[wechat applet] set the bottom menu (tabbar) for the applet
[wechat applet] set the bottom menu (tabbar) for the applet
2022-04-23 02:37:00 【Yangcy】

One 、 Project directory
Three pages :

Icon resources :

Two 、app.json Set in tabBar
here pages Page path that already exists in :

add to tabBar attribute , And window and pages At the same level .

among selectedColor Is the font color of the label after the current menu is selected .
list An object in represents a menu item .
pagePath: The page path corresponding to the current menu , belong pages There is a corresponding path
text: The label of the current menu
iconPath: The icon path displayed when the menu is not selected
selectedIconPath: The icon path displayed after the current menu is selected
3、 ... and 、 effect

版权声明
本文为[Yangcy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204220814542183.html
边栏推荐
- 认识进程(多线程_初阶)
- PTA: 点赞狂魔
- Daily question (April 22, 2022) - rotation function
- LeetCode 283. Move zero (simple, array) Day12
- The usage and difference of * and & in C language and the meaning of keywords static and volatile
- Handwritten memory pool and principle code analysis [C language]
- The 16th day of sprint to the big factory, noip popularization Group Three Kingdoms game
- 007_ Redis_ Jedis connection pool
- How to recognize products from the perspective of Dialectics
- SQL server2019无法下载所需文件,这可能表示安装程序的版本不再受支持,怎么办了
猜你喜欢

The usage and difference of * and & in C language and the meaning of keywords static and volatile

Arduino esp8266 network upgrade OTA

009_ Redis_ Getting started with redistemplate

PTA: praise the crazy devil
![[XJTU計算機網絡安全與管理]第二講 密碼技術](/img/b0/263e8dcbfeb2ce9f504a9c8eb76b07.png)
[XJTU計算機網絡安全與管理]第二講 密碼技術

013_ Analysis of SMS verification code login process based on session

Daily question (April 22, 2022) - rotation function

Understanding process (multithreading primary)

全局、独享、局部路由守卫

How to solve the complexity of project document management?
随机推荐
Interpretation of the future development of smart agriculture
LeetCode 349. Intersection of two arrays (simple, array) Day12
How to prevent leakage of operation and maintenance data
Hack the box optimum
PTA: praise the crazy devil
Applet reads files
Flink stream processing engine system learning (III)
wordpress 调用指定页面内容详解2 get_children()
JDBC JDBC
[xjtu Computer Network Security and Management] session 2 Cryptographic Technology
PTA: Romantic reflection [binary tree reconstruction] [depth first traversal]
Usage of vector common interface
一个国产图像分割项目重磅开源!
Water diversion into chengluo Valley p1514
基于Torchserve部署SBERT模型<语义相似度任务>
Deploying sbert model based on torchserve < semantic similarity task >
Using go language to build web server
005_ redis_ Set set
Consider defining a bean of type 'com netflix. discovery. AbstractDiscoveryClientOptionalArgs‘
013_ Analysis of SMS verification code login process based on session