微信小程序-配置-tabBar配置问题

冉娃娃 2017-01-31 04:35:56
微信版本:6.5.4
微信开发者工具版本:0.12.130400
时间:2017-1-31

问题描述:
1、tabBar设置图标无效,wabBar配置代码如下:

"tabBar": {
"position": "bottom",
"list": [
{
"pagePath": "pages/index/index",
"text": "点菜",
"iconPath": "https://www.ranwawa.cn/content/test/dc1.png",
"selectedIconPath": "https://www.ranwawa.cn/content/test/dc2.png"
},.....]
}

已处理:图标只能使用微信小程序的相对路径,不能使用网络图片,也不用用/这个符号定位根目录,要不然无法手机预览
...全文
143 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复