当前位置:网站首页>微信小程序-TabBar用法
微信小程序-TabBar用法
2022-06-21 15:51:00 【华为云】
主页:小王叔叔的博客
支持:点赞关注️收藏
如何搭建多选面板(HH自己理解):tabBar的用法???
tabBar用法:


1,打开微信小程序的开发工具:微信web开发者工具,创建自己的小程序的项目
2,目录结构中,找到app.json文件,在page中输入tabBar的相关代码,及在整体文件夹下,按照MVC分层模式,创建微信小程序的代码结构文件夹,并存放
tabBar中所需要的图片(.png/.jpg/...)
我的分层如下:..\pages\images\tabbars -->存放tabBar的图片
3,在app.json中写入tabBar的代码,我的代码如下:
以上为tabBar的代码
4,在tabBar中涉及的图片在网上就可以找到,我是在:【http://www.iconfont.cn/collections/index?spm=a313x.7781069.1998910419.3】
里面找到的,一起分享下。
5,这就是tabBar的代码,然后在工具中“预览”下,看看效果。
转载声明:本文为博主原创文章,未经博主允许不得转载
️注意 ~
本期内容就结束了,如果内容有误,麻烦大家评论区指出!
如有疑问可以在评论区或私信,尽我最大能力*️帮大家解决!
如果我的文章有帮助到您,欢迎点赞+关注️鼓励博主,您的鼓励是我分享的动力~
边栏推荐
- Score-Based Generative Modeling through Stochastic Differential Equations
- svn与vss的区别有哪些
- Research Report on the overall scale, major manufacturers, major regions, product and application segmentation of global market full body massage chairs in 2022
- SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP
- Write commodity table with JSP
- Analysis on development details of NFT card chain game system
- [redis] string type is basically used
- Torch utils. Data: analyze the whole process of data processing
- 深入理解零拷贝技术
- The rising sun chart effectively shows the hierarchy and ownership of data
猜你喜欢

建立自己的网站(4)

2022年Q1手机银行用户规模达6.5亿,加强ESG个人金融产品创新

TypeScript(6)函数

In 2022, the number of mobile banking users in Q1 will reach 650million, and ESG personal financial product innovation will be strengthened

It can be called a masterpiece! Read through the JVM notes and easily handle the Alibaba 30K interview!

Cvpr2022 | defeat magic with magic, Netease Entertainment AILab new method for image forgery detection to crack forged faces

使用NMT和pmap解决JVM资源泄漏问题

Native JS routing, iframe framework

Baota, a well-known server operation and maintenance software manufacturer, joined dragon lizard community and completed compatibility and adaptation with Anolis OS

Go language - Method
随机推荐
RichardSutton:经验是AI的终极数据,四个阶段通向真正AI的发展之路
Practice of geospatial data in Nepal graph
Distributed analytical database star ring argodb 3.2
Wireshark captures packets to analyze the process of SSL handshake
Daily appointment queue assistant | user manual
It can be called a masterpiece! Read through the JVM notes and easily handle the Alibaba 30K interview!
TypeScript(6)函数
[redis] string type is basically used
The key points of the article get to solid principle
A pit trodden in the equivalence comparison of integer
【深度学习】被PyTorch打爆!谷歌抛弃TensorFlow,押宝JAX
How can decentralized games attract traditional players?
Typescript (6) function
【贪心】leetcode1005K次取反后数组后的最大值
目前哪个期货公司开户比较好?请问手续费低、交易又安全?
Set up your own website (4)
WDS必知必会
使用APICloud实现文档下载和预览功能
Research Report on the overall scale, major manufacturers, major regions, product and application segmentation of global market full body massage chairs in 2022
单一职责原则(SRP)
