失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > 微信小程序——设置tabBar

微信小程序——设置tabBar

时间:2023-08-30 06:41:02

相关推荐

微信小程序——设置tabBar

"tabBar": {//字体颜色"color": "#999",//选中字体背景"selectedColor": "#ff2da4",//背景颜色"backgroundColor": "#fafafa",//边框类型"borderStyle": "black",//列表"list": [{//页面路径"pagePath": "pages/index/index",//页面名称"text": "首页",//页面图片"iconPath": "/icons/home.png",//被选中图片"selectedIconPath": "/icons/home-o.png"},{"pagePath": "pages/category/category","text": "分类","iconPath": "/icons/category.png","selectedIconPath": "/icons/category-o.png"},{"pagePath": "pages/cart/cart","text": "喜欢","iconPath": "/icons/cart.png","selectedIconPath": "/icons/cart-o.png"},{"pagePath": "pages/my/my","text": "我的","iconPath": "/icons/my.png","selectedIconPath": "/icons/my-o.png"}]},

如果觉得《微信小程序——设置tabBar》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。