非要用本地图片的话,可以使用相对/绝对定位布局,类似: <view relative> <image src=本地图片 /> <view absolute> 其他元素
元素添加本地背景图片模拟器正常真机运行空白在使用背景图片时使用本地图片在模拟器上运行正常,真机运行显示空白。 [图片]图片1模拟器正常显示 [图片]图片2真机运行显示异常 <view class="phone-icon" style="background-image: url(../../images/my_phone.png)"></view>
2020-04-152年过去了
cover-view设置position:fixed时,slot元素表现异常- 当前 Bug 的表现(可附上截图) 在自定义组件中,当cover-view设置为position: fixed时,slot元素会被覆盖,开发者工具表现正常,真机(6sp iOS12.1.1)表现异常 [图片] [图片]
2020-04-09哎
在npm组件中使用cover-view作为slot节点,但在真机中显示不出来在调取wx.getUserInfo这个接口的时候,后台解密,微信会报数据解密异常,@官方,这种情况一般是什么原因造成的? 在npm组件中使用cover-view,并在cover-view中插入slot节点,在使用npm组件并且slot里也用的cover-view,但是slot节点中的内容在真机上显示不出来 @官方,请帮忙解决下
2020-04-09我用的UPNG+kapo实现的裁剪和压缩,但库比较大,加起来都100k了
什么时候出个图片裁剪功能?希望能有个图片裁剪的api出来
2019-11-18原因是block元素不参与渲染和节点数,所以你的if else看似同级,实质不同
使用if else 出现Bad attr `wx[图片] 图1 这样写会出现 图2 问题,如图3写 正常编译。请问是 什么问题。跪求大佬。 [图片] 图2 [图片]图3 第二次编辑------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ 按照图4方法写 放在同级下 节点不出现else 内容;图5可以解决 但是 为什么???? [图片] 图4 [图片] 图5 可以解决 问题是 为何是 w:else ??
2019-11-01完全不知所措,这问题很特殊,只发生在个别用户上,例如iphone6s、微信版本7.08,小程序版本4.5.8,基础版本库2.8.3(最新)
这种情况下如何追踪定位BUG?[图片] 以下是用户反馈的日志文件: 2019-10-13 17:43:33 [log] wx.getSystemInfoSync api invoke 2019-10-13 17:43:33 [log] wx.getSystemInfoSync return 2019-10-13 17:43:33 [log] wx.getStorageSync api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync return 2019-10-13 17:43:33 [log] wx.getStorageSync api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync return 2019-10-13 17:43:33 [log] wx.request api invoke with seq 0 2019-10-13 17:43:33 [log] wx.getStorageSync api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync return 2019-10-13 17:43:33 [log] wx.getStorageSync api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync return 2019-10-13 17:43:33 [log] wx.getSystemInfo api invoke 2019-10-13 17:43:33 [log] wx.getSystemInfo success callback with msg getSystemInfo:ok 2019-10-13 17:43:33 [log] App onLaunch have been invoked 2019-10-13 17:43:33 [log] wx.getUpdateManager api invoke 2019-10-13 17:43:33 [log] wx.getUpdateManager return 2019-10-13 17:43:33 [log] App onShow have been invoked 2019-10-13 17:43:33 [log] wx.canIUse api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync return 2019-10-13 17:43:33 [log] wx.request api invoke with seq 0 2019-10-13 17:43:33 [log] page pages/index/index onLoad have been invoked 2019-10-13 17:43:33 [log] wx.getStorageSync api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync return 2019-10-13 17:43:33 [log] wx.request api invoke with seq 0 2019-10-13 17:43:33 [log] page pages/index/index onShow have been invoked 2019-10-13 17:43:33 [log] wx.getSystemInfoSync api invoke 2019-10-13 17:43:33 [log] wx.getSystemInfoSync return 2019-10-13 17:43:33 [log] wx.getStorageSync api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync return 2019-10-13 17:43:33 [log] wx.getStorageSync api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync return 2019-10-13 17:43:33 [log] wx.getStorageSync api invoke 2019-10-13 17:43:33 [log] wx.getStorageSync return 2019-10-13 17:43:33 [log] wx.request api invoke with seq 0 2019-10-13 17:43:33 [log] page pages/index/index onReady have been invoked 2019-10-13 17:43:33 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:43:34 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:43:34 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:43:34 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:43:35 [log] wx.getNetworkType api invoke 2019-10-13 17:43:35 [log] wx.getNetworkType success callback with msg getNetworkType:ok 2019-10-13 17:43:35 [log] wx.onNetworkStatusChange api invoke 2019-10-13 17:44:37 [log] page pages/index/index onHide have been invoked 2019-10-13 17:44:37 [log] App onHide have been invoked 2019-10-13 17:46:56 [log] wx.getUpdateManager api invoke 2019-10-13 17:46:56 [log] wx.getUpdateManager return 2019-10-13 17:46:56 [log] App onShow have been invoked 2019-10-13 17:46:56 [log] wx.getStorageSync api invoke 2019-10-13 17:46:56 [log] wx.getStorageSync return 2019-10-13 17:46:56 [log] wx.request api invoke with seq 0 2019-10-13 17:46:56 [log] page pages/index/index onShow have been invoked 2019-10-13 17:46:56 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:46:58 [log] page pages/index/index onUnload have been invoked 2019-10-13 17:46:58 [log] page pages/landpak/pages/doorplates/doorplates onLoad have been invoked 2019-10-13 17:46:58 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:46:58 [log] page pages/landpak/pages/doorplates/doorplates onReady have been invoked 2019-10-13 17:49:1 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:49:1 [log] App onHide have been invoked 2019-10-13 17:49:2 [log] wx.getUpdateManager api invoke 2019-10-13 17:49:2 [log] wx.getUpdateManager return 2019-10-13 17:49:2 [log] App onShow have been invoked 2019-10-13 17:49:2 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:49:4 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:49:4 [log] App onHide have been invoked 2019-10-13 17:49:4 [log] wx.getUpdateManager api invoke 2019-10-13 17:49:4 [log] wx.getUpdateManager return 2019-10-13 17:49:4 [log] App onShow have been invoked 2019-10-13 17:49:4 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:49:6 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:49:6 [log] App onHide have been invoked 2019-10-13 17:49:9 [log] wx.getUpdateManager api invoke 2019-10-13 17:49:9 [log] wx.getUpdateManager return 2019-10-13 17:49:9 [log] App onShow have been invoked 2019-10-13 17:49:9 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:49:11 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:49:11 [log] App onHide have been invoked 2019-10-13 17:49:35 [log] wx.getSystemInfoSync api invoke 2019-10-13 17:49:35 [log] wx.getSystemInfoSync return 2019-10-13 17:49:35 [log] wx.getStorageSync api invoke 2019-10-13 17:49:35 [log] wx.getStorageSync return 2019-10-13 17:49:35 [log] wx.getStorageSync api invoke 2019-10-13 17:49:35 [log] wx.getStorageSync return 2019-10-13 17:49:35 [log] wx.request api invoke with seq 0 2019-10-13 17:49:35 [log] wx.getStorageSync api invoke 2019-10-13 17:49:35 [log] wx.getStorageSync return 2019-10-13 17:49:35 [log] wx.getStorageSync api invoke 2019-10-13 17:49:35 [log] wx.getStorageSync return 2019-10-13 17:49:35 [log] wx.getSystemInfo api invoke 2019-10-13 17:49:35 [log] wx.getSystemInfo success callback with msg getSystemInfo:ok 2019-10-13 17:49:35 [log] App onLaunch have been invoked 2019-10-13 17:49:35 [log] wx.getUpdateManager api invoke 2019-10-13 17:49:35 [log] wx.getUpdateManager return 2019-10-13 17:49:35 [log] App onShow have been invoked 2019-10-13 17:49:35 [log] wx.canIUse api invoke 2019-10-13 17:49:35 [log] wx.getStorageSync api invoke 2019-10-13 17:49:35 [log] wx.getStorageSync return 2019-10-13 17:49:35 [log] wx.request api invoke with seq 0 2019-10-13 17:49:35 [log] page pages/index/index onLoad have been invoked 2019-10-13 17:49:35 [log] wx.getStorageSync api invoke 2019-10-13 17:49:35 [log] wx.getStorageSync return 2019-10-13 17:49:35 [log] wx.request api invoke with seq 0 2019-10-13 17:49:35 [log] page pages/index/index onShow have been invoked 2019-10-13 17:49:36 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:49:36 [log] wx.getSystemInfoSync api invoke 2019-10-13 17:49:36 [log] wx.getSystemInfoSync return 2019-10-13 17:49:36 [log] wx.getStorageSync api invoke 2019-10-13 17:49:36 [log] wx.getStorageSync return 2019-10-13 17:49:36 [log] wx.getStorageSync api invoke 2019-10-13 17:49:36 [log] wx.getStorageSync return 2019-10-13 17:49:36 [log] wx.getStorageSync api invoke 2019-10-13 17:49:36 [log] wx.getStorageSync return 2019-10-13 17:49:36 [log] wx.request api invoke with seq 0 2019-10-13 17:49:36 [log] page pages/index/index onReady have been invoked 2019-10-13 17:49:36 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:49:36 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:49:36 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:49:37 [log] wx.getNetworkType api invoke 2019-10-13 17:49:37 [log] wx.getNetworkType success callback with msg getNetworkType:ok 2019-10-13 17:49:37 [log] wx.onNetworkStatusChange api invoke 2019-10-13 17:49:55 [log] page pages/index/index onHide have been invoked 2019-10-13 17:49:55 [log] App onHide have been invoked 2019-10-13 17:50:5 [log] wx.getUpdateManager api invoke 2019-10-13 17:50:5 [log] wx.getUpdateManager return 2019-10-13 17:50:5 [log] App onShow have been invoked 2019-10-13 17:50:5 [log] wx.getStorageSync api invoke 2019-10-13 17:50:5 [log] wx.getStorageSync return 2019-10-13 17:50:5 [log] wx.request api invoke with seq 0 2019-10-13 17:50:5 [log] page pages/index/index onShow have been invoked 2019-10-13 17:50:5 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 17:50:6 [log] page pages/index/index onUnload have been invoked 2019-10-13 17:50:6 [log] page pages/landpak/pages/doorplates/doorplates onLoad have been invoked 2019-10-13 17:50:6 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:50:6 [log] page pages/landpak/pages/doorplates/doorplates onReady have been invoked 2019-10-13 17:50:12 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:50:12 [log] App onHide have been invoked 2019-10-13 17:50:13 [log] wx.getUpdateManager api invoke 2019-10-13 17:50:13 [log] wx.getUpdateManager return 2019-10-13 17:50:13 [log] App onShow have been invoked 2019-10-13 17:50:13 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:50:15 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:50:15 [log] App onHide have been invoked 2019-10-13 17:54:5 [log] wx.getUpdateManager api invoke 2019-10-13 17:54:5 [log] wx.getUpdateManager return 2019-10-13 17:54:5 [log] App onShow have been invoked 2019-10-13 17:54:5 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:54:9 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:54:9 [log] App onHide have been invoked 2019-10-13 17:54:11 [log] wx.getUpdateManager api invoke 2019-10-13 17:54:11 [log] wx.getUpdateManager return 2019-10-13 17:54:11 [log] App onShow have been invoked 2019-10-13 17:54:11 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:54:15 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:54:15 [log] App onHide have been invoked 2019-10-13 17:54:19 [log] wx.getUpdateManager api invoke 2019-10-13 17:54:19 [log] wx.getUpdateManager return 2019-10-13 17:54:19 [log] App onShow have been invoked 2019-10-13 17:54:19 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:54:21 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:54:21 [log] App onHide have been invoked 2019-10-13 17:54:27 [log] wx.getUpdateManager api invoke 2019-10-13 17:54:27 [log] wx.getUpdateManager return 2019-10-13 17:54:27 [log] App onShow have been invoked 2019-10-13 17:54:27 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 17:54:27 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 17:54:27 [log] App onHide have been invoked 2019-10-13 18:6:15 [log] wx.getSystemInfoSync api invoke 2019-10-13 18:6:15 [log] wx.getSystemInfoSync return 2019-10-13 18:6:15 [log] wx.getStorageSync api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync return 2019-10-13 18:6:15 [log] wx.getStorageSync api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync return 2019-10-13 18:6:15 [log] wx.request api invoke with seq 0 2019-10-13 18:6:15 [log] wx.getStorageSync api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync return 2019-10-13 18:6:15 [log] wx.getStorageSync api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync return 2019-10-13 18:6:15 [log] wx.getSystemInfo api invoke 2019-10-13 18:6:15 [log] wx.getSystemInfo success callback with msg getSystemInfo:ok 2019-10-13 18:6:15 [log] App onLaunch have been invoked 2019-10-13 18:6:15 [log] wx.getUpdateManager api invoke 2019-10-13 18:6:15 [log] wx.getUpdateManager return 2019-10-13 18:6:15 [log] App onShow have been invoked 2019-10-13 18:6:15 [log] wx.canIUse api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync return 2019-10-13 18:6:15 [log] wx.request api invoke with seq 0 2019-10-13 18:6:15 [log] page pages/index/index onLoad have been invoked 2019-10-13 18:6:15 [log] wx.getStorageSync api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync return 2019-10-13 18:6:15 [log] wx.request api invoke with seq 0 2019-10-13 18:6:15 [log] page pages/index/index onShow have been invoked 2019-10-13 18:6:15 [log] wx.getSystemInfoSync api invoke 2019-10-13 18:6:15 [log] wx.getSystemInfoSync return 2019-10-13 18:6:15 [log] wx.getStorageSync api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync return 2019-10-13 18:6:15 [log] wx.getStorageSync api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync return 2019-10-13 18:6:15 [log] wx.getStorageSync api invoke 2019-10-13 18:6:15 [log] wx.getStorageSync return 2019-10-13 18:6:15 [log] wx.request api invoke with seq 0 2019-10-13 18:6:15 [log] page pages/index/index onReady have been invoked 2019-10-13 18:6:15 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 18:6:15 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 18:6:15 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 18:6:15 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 18:6:15 [log] page pages/index/index onHide have been invoked 2019-10-13 18:6:15 [log] App onHide have been invoked 2019-10-13 18:6:16 [log] wx.getNetworkType api invoke 2019-10-13 18:6:16 [log] wx.getNetworkType success callback with msg getNetworkType:ok 2019-10-13 18:6:16 [log] wx.onNetworkStatusChange api invoke 2019-10-13 18:6:20 [log] wx.getUpdateManager api invoke 2019-10-13 18:6:20 [log] wx.getUpdateManager return 2019-10-13 18:6:20 [log] App onShow have been invoked 2019-10-13 18:6:20 [log] wx.getStorageSync api invoke 2019-10-13 18:6:20 [log] wx.getStorageSync return 2019-10-13 18:6:20 [log] wx.request api invoke with seq 0 2019-10-13 18:6:20 [log] page pages/index/index onShow have been invoked 2019-10-13 18:6:20 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 18:6:24 [log] page pages/index/index onHide have been invoked 2019-10-13 18:6:24 [log] App onHide have been invoked 2019-10-13 18:6:26 [log] wx.getUpdateManager api invoke 2019-10-13 18:6:26 [log] wx.getUpdateManager return 2019-10-13 18:6:26 [log] App onShow have been invoked 2019-10-13 18:6:26 [log] wx.getStorageSync api invoke 2019-10-13 18:6:26 [log] wx.getStorageSync return 2019-10-13 18:6:26 [log] wx.request api invoke with seq 0 2019-10-13 18:6:26 [log] page pages/index/index onShow have been invoked 2019-10-13 18:6:26 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 18:6:27 [log] page pages/index/index onUnload have been invoked 2019-10-13 18:6:27 [log] page pages/landpak/pages/doorplates/doorplates onLoad have been invoked 2019-10-13 18:6:27 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 18:6:27 [log] page pages/landpak/pages/doorplates/doorplates onReady have been invoked 2019-10-13 18:7:29 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 18:7:29 [log] App onHide have been invoked 2019-10-13 18:11:33 [log] wx.getUpdateManager api invoke 2019-10-13 18:11:33 [log] wx.getUpdateManager return 2019-10-13 18:11:33 [log] App onShow have been invoked 2019-10-13 18:11:33 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 18:11:34 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 18:11:34 [log] App onHide have been invoked 2019-10-13 18:12:9 [log] wx.getUpdateManager api invoke 2019-10-13 18:12:9 [log] wx.getUpdateManager return 2019-10-13 18:12:9 [log] App onShow have been invoked 2019-10-13 18:12:9 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 18:12:13 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 18:12:13 [log] App onHide have been invoked 2019-10-13 18:13:2 [log] wx.getUpdateManager api invoke 2019-10-13 18:13:2 [log] wx.getUpdateManager return 2019-10-13 18:13:2 [log] App onShow have been invoked 2019-10-13 18:13:2 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 18:13:5 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 18:13:5 [log] App onHide have been invoked 2019-10-13 18:19:31 [log] wx.getUpdateManager api invoke 2019-10-13 18:19:31 [log] wx.getUpdateManager return 2019-10-13 18:19:31 [log] App onShow have been invoked 2019-10-13 18:19:31 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 18:19:32 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 18:19:32 [log] App onHide have been invoked 2019-10-13 18:28:2 [log] wx.getUpdateManager api invoke 2019-10-13 18:28:2 [log] wx.getUpdateManager return 2019-10-13 18:28:2 [log] App onShow have been invoked 2019-10-13 18:28:2 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 18:29:2 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 18:29:2 [log] App onHide have been invoked 2019-10-13 18:30:59 [log] wx.getUpdateManager api invoke 2019-10-13 18:30:59 [log] wx.getUpdateManager return 2019-10-13 18:30:59 [log] App onShow have been invoked 2019-10-13 18:30:59 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 18:32:3 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 18:32:3 [log] App onHide have been invoked 2019-10-13 18:57:49 [log] wx.getUpdateManager api invoke 2019-10-13 18:57:49 [log] wx.getUpdateManager return 2019-10-13 18:57:49 [log] App onShow have been invoked 2019-10-13 18:57:49 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 18:57:51 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 18:57:51 [log] App onHide have been invoked 2019-10-13 18:57:52 [log] wx.getUpdateManager api invoke 2019-10-13 18:57:52 [log] wx.getUpdateManager return 2019-10-13 18:57:52 [log] App onShow have been invoked 2019-10-13 18:57:52 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 18:57:53 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 18:57:53 [log] App onHide have been invoked 2019-10-13 19:3:43 [log] wx.getUpdateManager api invoke 2019-10-13 19:3:43 [log] wx.getUpdateManager return 2019-10-13 19:3:43 [log] App onShow have been invoked 2019-10-13 19:3:43 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 19:4:4 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 19:4:4 [log] App onHide have been invoked 2019-10-13 19:5:46 [log] wx.getUpdateManager api invoke 2019-10-13 19:5:46 [log] wx.getUpdateManager return 2019-10-13 19:5:46 [log] App onShow have been invoked 2019-10-13 19:5:46 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 19:5:51 [log] page pages/landpak/pages/doorplates/doorplates onUnload have been invoked 2019-10-13 19:5:51 [log] wx.getStorageSync api invoke 2019-10-13 19:5:51 [log] wx.getStorageSync return 2019-10-13 19:5:51 [log] wx.request api invoke with seq 0 2019-10-13 19:5:51 [log] page pages/index/index onLoad have been invoked 2019-10-13 19:5:51 [log] wx.getStorageSync api invoke 2019-10-13 19:5:51 [log] wx.getStorageSync return 2019-10-13 19:5:51 [log] wx.request api invoke with seq 0 2019-10-13 19:5:51 [log] page pages/index/index onShow have been invoked 2019-10-13 19:5:51 [log] wx.getSystemInfoSync api invoke 2019-10-13 19:5:51 [log] wx.getSystemInfoSync return 2019-10-13 19:5:51 [log] wx.getStorageSync api invoke 2019-10-13 19:5:51 [log] wx.getStorageSync return 2019-10-13 19:5:51 [log] wx.getStorageSync api invoke 2019-10-13 19:5:51 [log] wx.getStorageSync return 2019-10-13 19:5:51 [log] wx.getStorageSync api invoke 2019-10-13 19:5:51 [log] wx.getStorageSync return 2019-10-13 19:5:51 [log] wx.request api invoke with seq 0 2019-10-13 19:5:51 [log] page pages/index/index onReady have been invoked 2019-10-13 19:5:51 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 19:5:51 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 19:5:51 [log] wx.request success callback with msg request:ok with seq 0 2019-10-13 19:6:9 [log] page pages/index/index onUnload have been invoked 2019-10-13 19:6:9 [log] page pages/landpak/pages/doorplates/doorplates onLoad have been invoked 2019-10-13 19:6:9 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 19:6:9 [log] page pages/landpak/pages/doorplates/doorplates onReady have been invoked 2019-10-13 19:7:14 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 19:7:14 [log] App onHide have been invoked 2019-10-13 19:7:18 [log] wx.getUpdateManager api invoke 2019-10-13 19:7:18 [log] wx.getUpdateManager return 2019-10-13 19:7:18 [log] App onShow have been invoked 2019-10-13 19:7:18 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 19:7:27 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 19:7:27 [log] App onHide have been invoked 2019-10-13 19:8:29 [log] wx.getUpdateManager api invoke 2019-10-13 19:8:29 [log] wx.getUpdateManager return 2019-10-13 19:8:29 [log] App onShow have been invoked 2019-10-13 19:8:29 [log] page pages/landpak/pages/doorplates/doorplates onShow have been invoked 2019-10-13 19:8:36 [log] page pages/landpak/pages/doorplates/doorplates onHide have been invoked 2019-10-13 19:8:36 [log] App onHide have been invoked
2019-10-14我是同一个开发工具,其中一个小程序可以打开二维码,另一个就报楼主的错误,我还以为哪里没设置,原来是个BUG, 开发者工具版本号: 1.02.1902010
通过二维码编译失败- 当前 Bug 的表现(可附上截图) [图片] 这是什么情况,为什么在配置完小程序二维码之后,生成的二维码编译不了呢 - 预期表现 [图片] 这是生成出来的二维码 - 复现路径 - 提供一个最简复现 Demo
2019-04-11这个确实太重要了,用户主动订阅就不要限制了
【模版消息】报41028,建议增加【消息订阅】功能模版消息通知接口 项目已经运行一段时间了,今天突然某个用户的formid,很多都返回41028(过期或无效),而且基本都是昨天收集的。确定没有使用过。 导致很多消息没有推送成功,没有及时处理信息。 不知道微信是否有收集formid 的限制,看了该用户的数据,这两天收集了九十几个,今天中午发现有几十个都报41028,目前业务上只能判断接口返41028后再重新用新的formid提交了,我们场景需要收集大量的formid 及时推送消息给用户。比如订单信息,需要及时通知处理订单。 还是希望增加【消息订阅】功能,不用这么频繁收集formid,这个需求很强烈。实在不行,最终只能转APP了。现在功能都在小程序上实现的。
2019-02-26同问
scroll-view内部无法水平居中在scroll-view里面,无法设置内部元素水平居中,只能在scroll-view内部在多嵌套一个view来进行内部元素水平居中,这是何解?代码如下: <scroll-view scroll-y style='width: 100%; height: auto; display: flex; flex-direction: column; align-items: center;'> <view style='background-color: yellow; height: 200rpx; width: 200rpx;'></view> </scroll-view> 无法把内部元素水平居中,包裹一个view才能 <scroll-view scroll-y style='width: 100%; height: auto;'> <view style='display: flex; flex-direction: column; align-items: center;'> <view style='background-color: yellow; height: 200rpx; width: 200rpx;'></view> </view> </scroll-view> 求大佬解惑
2019-01-22不用
扫普通链接二维码打开小程序的校验文件文件要一直放着吗扫普通链接二维码打开小程序的校验文件文件要一直放着吗
2018-12-11