- 为什么我的模拟器显示的和真机调试显示的不一样?
[图片][图片][图片][图片]前面两张是模拟器的界面,书有图片,但是点进去之后的选项没有。后两张是手机上的,书没有图,但是点进去之后有选项。电脑上的选项没有我没法进行后续的编辑了。这怎么办呢,是什么原因呢?
03-29 - 一直显示app.json不正确,我写了好几个程序都是这样。为什么?
{ "pages": [ "pages/home/index", "pages/book-list/index", "pages/book-detail/index", "pages/sell-book/index", "pages/cart/index", "pages/order/index", "pages/profile/index", "pages/location/index" ], "windowBackgroundTextStyle": "light", "navigationBarBackgroundColor": "#ffffff", "navigationBarTextStyle": "black", "navigationBarTitleText": "Book Bazaar", "backgroundColor": "#eeeeee", "backgroundTextStyle": "light", "tabBar": { "color": "#8a8a8a", "selectedColor": "#ff5a5a", "backgroundColor": "#ffffff", "borderStyle": "black", "list": [ { "pagePath": "pages/home/index", "text": "首页", "iconPath": "resources/icon/home.png", "selectedIconPath": "resources/icon/home-active.png" }, { "pagePath": "pages/cart/index", "text": "购物车", "iconPath": "resources/icon/cart.png", "selectedIconPath": "resources/icon/cart-active.png" }, { "pagePath": "pages/profile/index", "text": "我的", "iconPath": "resources/icon/mine.png", "selectedIconPath": "resources/icon/mine-active.png" } ] } } [ app.json 文件内容错误] app.json: ["tabBar"]["list"][0]["iconPath"]: "resources/icon/home.png" not found ["tabBar"]["list"][0]["selectedIconPath"]: "resources/icon/home-active.png" not found ["tabBar"]["list"][1]["iconPath"]: "resources/icon/cart.png" not found ["tabBar"]["list"][1]["selectedIconPath"]: "resources/icon/cart-active.png" not found ["tabBar"]["list"][2]["iconPath"]: "resources/icon/mine.png" not found ["tabBar"]["list"][2]["selectedIconPath"]: "resources/icon/mine-active.png" not found(env: Windows,mp,1.06.2412050; lib: 3.7.11) 这个是说我这些地方错了 [图片]所有东西我都有,不知道哪里错了。
03-14 - 什么模板都没用为什么一创建一个东西他就开始告诉我wxml编译错误?
[图片]
03-13