当前位置:网站首页>[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

边栏推荐
- MySQL uses explain to analyze SQL execution plans to help find performance bottlenecks
- Do you want to have a robot that can make cartoon avatars in three steps?
- [Linux] Oracle VirtualBox installation CentOS 8
- MySQL update uses case when to update the value of another field according to the value of one field
- 学习笔记总结篇(一)
- 图新地球:Revit建模的rvt格式BIM模型如何带着纹理精准匹配地图
- Intelligent robots and intelligent systems (Professor Zheng Zheng of Dalian University of Technology) -- 1. robots and mobile robots
- Avoid pitfalls and stay away from PUA in the workplace. You need to know the common routines and scripts of PUA!
- Saining Techtalk attack and defense drill: attack combination fist "stable, accurate and ruthless" penetration
- Stack / heap / queue question brushing (Part 2)
猜你喜欢

Vscode code style notes (vetur)

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

What is the NFT concept.. Fully understand NFT market, technology and cases

nacos报错: ERROR Nacos failed to start, please see D:\nacos\logs\nacos.log for more details.

When does MySQL use table locks and row locks?

Generative model and discriminant model

Database system - Basic Concepts

Digital twin demonstration project -- Talking about simple pendulum (3) solid model exploration

Introduction of some functions or methods in DGL Library

MySQL --- 子查询 - 标量子查询
随机推荐
how to add square on screenshot
[Beijiao] image processing: basic concepts, image enhancement, morphological processing, image segmentation
Kotlin coroutine (II): scope and cancellation
图新地球:Revit建模的rvt格式BIM模型如何带着纹理精准匹配地图
Stack / heap / queue question brushing (Part 2)
Figure New Earth: how to import CAD files with modified elevation datum (ellipsoid)
Introduction to webmethods
News topic classification task -- tochtext library for text classification
[target detection] IOU (intersection and combination ratio)
[Game Collection] mobile phones are about to burst, and a collection of six high-quality pyGame games is coming ~ (source code attached)
Cmake binary installation
Digital twin demonstration project -- Talking about simple pendulum (3) solid model exploration
[matlab] (IV) application of MATLAB in linear algebra
Kubernetes:(一)基本概念
About the big hole of wechat applet promise
Error reported by Nacos: error Nacos failed to start, please see d:\nacos\logs\nacos log for more details.
加密熊市:有人大举扩张 有人裁员收缩
学习笔记总结篇(一)
P1739 expression bracket matching problem solution
P1305 new binary tree solution