赞
踩
1.
app.json2.
当我们想要在小程序中实现下面的效果的时候,可以使用tabBar3.
从图片中可以看到tab的结构:4.
1、3个可选的tab:5.
list:使用tabBar对象中的list对象数组属性来控制,list数组中的每个元素(对象),{"pages":["pages/index/index","pages/publish/index","pages/user/index"],"tabBar":{"color":"#dddddd","selectedColor":"#16f2e7","backgroundColor":"#fff","borderStyle":"black","list":[{"pagePath":"pages/index/index","text":"找房","iconPath":"static/image/icon_home_u.png","selectedIconPath":"static/image/icon_home_a.png"},{"pagePath":"pages/publish/index","text":"发布房源","iconPath":"static/image/icon_release_u.png","selectedIconPath":"static/image/icon_release_a.png"},{"pagePath":"pages/user/index","text
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。