不明报错
发布于 6 年前 作者 schen 8071 次浏览 来自 问答

app.json :

{

“pages”: [

“pages/home/index”,

“pages/my/giftCard”,

“pages/my/my”,

“pages/my/payCard”,

“pages/my/vip”,

“pages/my/registry”,

“pages/my/receipt”,

“pages/my/myCoupon”,

“pages/my/vipEquities”,

“pages/my/couponDetails”,

“pages/my/receiptContent”,

“pages/my/discountCoupons”

],

“window”: {

“backgroundTextStyle”: “dark”,

“backgroundColor”: “#efefef”,

“navigationBarBackgroundColor”: “#ffffff”,

“navigationBarTitleText”: “TouchUI”,

“navigationBarTextStyle”: “black”

},

“networkTimeout”: {

“request”: 10000

},

“tabBar”: {

“color”: “#a9b7b7”,

“selectedColor”: “#51a7e8”,

“borderStyle”: “#a9b7b7”,

“backgroundColor”: “#fff”,

“list”: [

{

“selectedIconPath”: “./images/Shome.png”,

“iconPath”: “./images/home.png”,

“pagePath”: “pages/home/index”,

“text”: “首页”

},

{

“selectedIconPath”: “./images/Smy.png”,

“iconPath”: “./images/my.png”,

“pagePath”: “pages/my/my”,

“text”: “我的”

}

]

},

“theme”: {

“theme-color”: “#39f”

}

}

没有plugin.json

2 回复

刚试了下,复制你的json数据,没报你上面显示的错误,所以json文件没问题,估计是其他页面的原因,建议建一个新文件夹,每次放一个页面文件夹,然后排查

全局搜搜 Page 区分大小写,看看哪里是不是不小心用了呢

回到顶部