在app.wepy文件下写如下代码,报错,请问如何解决?config = {
pages: [ 'pages/index'
], window: {
backgroundTextStyle: 'light',
navigationBarBackgroundColor: '#fff',
navigationBarTitleText: 'WeChat',
navigationBarTextStyle: 'black'
},
tabBar: {
color: "#7A7E83",
selectedColor: "#3cc51f",
borderStyle: "black",
backgroundColor: "#ffffff",
list: [{
pagePath: "page/index",
iconPath: "image/zhiling.png",
selectedIconPath: "image/youyong.png",
text: "组件"
}, {
pagePath: "page/index",
iconPath: "image/youyong.png",
selectedIconPath: "image/zhiling.png",
text: "接口"
}]
}
}
- 1 回答
- 0 关注
- 3129 浏览
添加回答
举报
0/150
提交
取消