页面不显示内容的问题
老师,我在index页面,寄快递,查快递,和我的页面里面都写了<view>hello world</view>
但是只有index页面显示了,切换到其他页面都没有显示。控制台也没有报错。这是为什么呢?
以下是我的app.json配置
{
"pages":[
"pages/index/index",
"pages/send/send",
"pages/search/search",
"pages/my/my"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#35BD00",
"navigationBarTextStyle":"white"
},
"tabBar": {
"color": "#666666",
"selectedColor": "#35BD00",
"list":[{
"pagePath": "pages/index/index",
"iconPath": "resources/home-icon.png",
"selectedIconPath": "resources/home-icon-hover.png",
"text": "首页"
},{
"pagePath": "pages/send/send",
"iconPath": "resources/send-icon.png",
"selectedIconPath": "resources/send-icon-hover.png",
"text": "寄快递"
},{
"pagePath": "pages/search/search",
"iconPath": "resources/polling-icon.png",
"selectedIconPath": "resources/polling-icon-hover.png",
"text": "查快递"
},{
"pagePath": "pages/my/my",
"iconPath": "resources/my-icon.png",
"selectedIconPath": "resources/my-icon-hover.png",
"text": "我的"
}]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}
3
收起
正在回答 回答被采纳积分+1
1回答
相似问题
登录后可查看更多问答,登录/注册
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星