老师,我重新建了一个文档后,前面的问题消失了,但是出现引入不成功,
这是我的app.json里面的代码
{
"pages": [
"pages/index/index",
"pages/logs/logs",
"pages/cart/cart"
],
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "吃芝麻长头发",
"navigationBarTextStyle": "black",
"enablePullDownRefresh":true
},
"tabBar":{
"color":"#B7BBBF",
"selectedColor":"#2B333B",
"list": [{
"pagePath": "pages/index/index",
"iconPath":"resources/home.png",
"selectedIconPath":"./resources/home-active.png",
"text": "首页"
},{
"pagePath": "pages/cart/cart",
"iconPath":"resources/cart.png",
"selectedIconPath":"./resources/cart-active.png",
"text": "购物车"
},{
"pagePath": "pages/logs/logs",
"iconPath":"resources/my.png",
"selectedIconPath":"./resources/my-active.png",
"text": "我的"
}
]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}
以及截图
麻烦老师看一下 还有新版的js文件显示是ts文件
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星