write the following code under the app.wepy
file to report an error. How to solve it?
config = {
pages: [
"pages/index"
],
window: {
backgroundTextStyle: "light",
navigationBarBackgroundColor: "-sharpfff",
navigationBarTitleText: "WeChat",
navigationBarTextStyle: "black"
},
tabBar: {
color: "-sharp7A7E83",
selectedColor: "-sharp3cc51f",
borderStyle: "black",
backgroundColor: "-sharpffffff",
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: ""
}]
}
}