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
刚试了下,复制你的json数据,没报你上面显示的错误,所以json文件没问题,估计是其他页面的原因,建议建一个新文件夹,每次放一个页面文件夹,然后排查
全局搜搜 Page 区分大小写,看看哪里是不是不小心用了呢
好想不是这个原因,看了一下没有用错的地方
把上面那个三角尖尖点开呢
看不出来,看上去只是说的在某个莫名其妙的方法里,很像是某个三方js里调用了 Page() 方法
不是,是代码有问题,比如重复定义了变量之类的,我就遇到过