那里写错了?只要加iconPath和selectedIconPath这两项,什么都不显示了
"iconPath": "assets/img/car.png",
"selectedIconPath": "assets/img/car1.png",
############################################
{
"pages":[
"pages/index/index",
"pages/config/config"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#FF9999",
"navigationBarTitleText": "******",
"navigationBarTextStyle":"white"
},
"tabBar": {
"color":"#313131",
"selectedColor": "#CC3333",
"borderstyle":"#313131",
"backgroundColor": "ffffff",
"list": [
{
"iconPath": "assets/img/car.png",
"selectedIconPath": "assets/img/car1.png",
"pagePath": "pages/index/index",
"text": "首页"
},
微信小程序开发相关问题解答;本文来自微信小程序工厂 http://www.xcxgc.com 转载请保留。
微信小程序开发者回答:
Y***:
绝对路径
A***:
"iconPath": "pages/assets/img/car.png",这样也是不行啊,目录是对的啊
审核不通过,微信小程序开发
A***:
还真是路径的问题,谢谢
A***:系统记录
A***:系统记录【已解决】关于服务类目的问题##微信小程序教程
本文网址:http://www.91bianli.com/kaifazhinan/65706.html