当前位置:网站首页>[wechat applet development] (II) wechat native bottom tabbar configuration
[wechat applet development] (II) wechat native bottom tabbar configuration
2022-07-24 08:14:00 【Sock is a dog】
1 Note that the added pages are displayed in the pages Introduction in
"pages": [ //pages The first item in the array represents the application startup page , Reference resources :https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText": " home page "
}
},
{
"path": "pages/list/index",
"style": {
"navigationBarTitleText": " List of pp. "
}
},
{
"path": "pages/userCenter/index",
"style": {
"navigationBarTitleText": " Personal center "
}
}
]
2 And then in tabbar Configure page path and menu selection color
"tabBar": {
"color": "#2c2c2c",
"selectedColor": "#d81e06",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"height": "50px",
"fontSize": "10px",
"iconWidth": "24px",
"spacing": "3px",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/iconfont/icon_f6z500i978v/a-huaban2.png",
"selectedIconPath": "static/iconfont/icon_raosim3pe9/a-huaban2.png",
"text": " home page "
}, {
"pagePath": "pages/list/index",
"iconPath": "static/iconfont/icon_f6z500i978v/a-huaban2fuben6.png",
"selectedIconPath": "static/iconfont/icon_raosim3pe9/a-huaban2fuben6.png",
"text": " List of pp. "
}, {
"pagePath": "pages/userCenter/index",
"iconPath": "./static/iconfont/icon_f6z500i978v/a-huaban2fuben15.png",
"selectedIconPath": "static/iconfont/icon_raosim3pe9/a-huaban2fuben15.png",
"text": " Personal center "
}]
}
You will get the following page

边栏推荐
- Implementation of unity hub free version
- (dkby) DFL learning notes
- warning: could not execute support code to read Objective-C class data in the process.
- Detailed notes on pytoch building neural network
- Autojs article proficient in detailed explanation of autojs script tutorial
- Svg from entry to regret, why not learn it earlier (graphic version)
- 13.Unity2D 横版 可上下左右移动的双向平台(双向行走+可移动+单独判定)+随机平台生成
- P1305 new binary tree solution
- [multithreading] five communication modes between multithreads
- Crypto bear market: some people expand on a large scale, some layoffs shrink
猜你喜欢

Assembly | screen display numbers

Kubernetes: (I) basic concepts

Image feature SIFT (scale invariant feature transform)

Solve the problem that Anaconda navigator cannot be opened

图新地球:Revit建模的rvt格式BIM模型如何带着纹理精准匹配地图

Wechat applet file types and functions

Error reported by Nacos: error Nacos failed to start, please see d:\nacos\logs\nacos log for more details.
![[matlab] (IV) application of MATLAB in linear algebra](/img/c8/97fddb4105008990173247b1b4a155.png)
[matlab] (IV) application of MATLAB in linear algebra

Hegong sky team vision training Day2 - traditional vision, opencv basic operation

13. Unity2d horizontal version of two-way platform that can move up, down, left and right (two-way walking + movable + independent judgment) + random platform generation
随机推荐
*Code understanding *numpy basic (plus code) that must be understood
[matlab] (IV) application of MATLAB in linear algebra
[tools] a few lines of code can realize complex excel import and export tool classes, which is really strong!!!
Database | simple hospital patient appointment system based on opengauss
nacos报错: ERROR Nacos failed to start, please see D:\nacos\logs\nacos.log for more details.
QT | string generation QR code function
Solution of p3916 graph traversal problem
MySQL -- subquery scalar subquery
What is the NFT concept.. Fully understand NFT market, technology and cases
Assemble | find the maximum and minimum values
MySQL 啥时候用表锁,啥时候用行锁?
Kotlin coprocess analysis (III) -- understanding the context of coprocess
NFT概念究竟是怎么回事。。全面了解NFT市场、技术和案例
Installation and use of CONDA
Learning to track at 100 FPS with deep progression networks
学习-用do…while循环按公式e=1+1/1!+1/2!+1/3!+…+1/n!计算 e 的值(精度为 1e-6)
基于thinkphp将execle表格上传并插入数据库
[multithreading] five communication modes between multithreads
Summary of study notes (I)
Natural language processing Jieba