- slot生成位置不对,WeUI样式显示不出来
1 查看代码生成的结构 [图片] 2.前台显示的样式 [图片] 3.wxml中定义 [图片] 4.各个组件的定义 4.1 weui-cells [图片] 4.2 weui-cell [图片] 4.3 weui-cell-header [图片] 4.4 weui-cell-body [图片] 4.5 weui-cell-footer [图片]
2017-12-12 - 如果每个页面都引用所有的自定义组件会有性能的问题吗?
现在将所有的组件路径都写在一个文件中,然后使用自动化工具将所有pages的json中加入引用组件(每个page不一定都使用上所有组件) 好处是:只要更改一次,然后生成,这样就可以使用组件了,不需要每个页面单独去配置 未知:不知道这样会不会影响性能?请解答
2017-11-23 - 如何更好的在组件中引用样式
想在组件中使用WeUI定义的样式,直接想在app.wxss定义,此路不通。 直接在组件中 myComponent.wxss中引用 @import "../../../../assets/styles/weui/weui.wxss";报下面的错误 [图片] 现在是不是只能一个个重新定义一下,有没有更好的解决方案呢?
2017-11-06 - 基础库版本1.6.4 '__route__' of undefined
在未使用自定义组件时,可以正常显示,现在加入了一个自定义组件,报下面的错误 [图片] WAService.js:12 Uncaught (in promise) TypeError: Cannot read property '__route__' of undefined at WAService.js:12 at EmitterService.js? [sm]:47 at Array.forEach (<anonymous>) at EmitterService.emit (EmitterService.js? [sm]:46) at Object.publishWorkContext (WorkContextService.js? [sm]:49) at Object.<anonymous> (CheckoutService.js? [sm]:65) at r (tslib.js? [sm]:1) at Object.next (tslib.js? [sm]:1) at _ (tslib.js? [sm]:1) at <anonymous> (anonymous) @ WAService.js:12 (anonymous) @ EmitterService.js? [sm]:47 EmitterService.emit @ EmitterService.js? [sm]:46 publishWorkContext @ WorkContextService.js? [sm]:49 (anonymous) @ CheckoutService.js? [sm]:65 r @ tslib.js? [sm]:1 (anonymous) @ tslib.js? [sm]:1 _ @ tslib.js? [sm]:1 Promise rejected (async) i @ tslib.js? [sm]:1 (anonymous) @ tslib.js? [sm]:1 __awaiter @ tslib.js? [sm]:1 BillingAddressPage.onSelectAddress @ billingAddressPage.js? [sm]:88 (anonymous) @ WAService.js:13 a @ WAService.js:13 K @ WAService.js:13 (anonymous) @ WAService.js:13 (anonymous) @ WAService.js:13 (anonymous) @ WAService.js:6 e.(anonymous function) @ WAService.js:3 d @ appservice:1728 g.registerCallback @ appservice:1728 k.forEach @ appservice:1728 d @ appservice:1728 h.onmessage @ appservice:1728
2017-11-03 - 升级基础版到1.6.4后报jsEnginScriptError错误
WAService.js:3 jsEnginScriptError n is not a function TypeError: n is not a function at _ (http://127.0.0.1:9973/appservice/__dev__/WAService.js:12:14247) at Function.y [as create] (http://127.0.0.1:9973/appservice/__dev__/WAService.js:12:14400) at Function.p.prepare (http://127.0.0.1:9973/appservice/__dev__/WAService.js:11:12109) at F (http://127.0.0.1:9973/appservice/__dev__/WAService.js:13:14230) at W (http://127.0.0.1:9973/appservice/__dev__/WAService.js:13:14261) at U (http://127.0.0.1:9973/appservice/__dev__/WAService.js:13:14641) at Function.(http://127.0.0.1:9973/appservice/__dev__/WAService.js:13:17012) at http://127.0.0.1:9973/appservice/__dev__/WAService.js:13:22046 at http://127.0.0.1:9973/appservice/__dev__/WAService.js:5:22487 at Array.forEach () errorReport @ WAService.js:3 (anonymous) @ WAService.js:3 t.errorReport @ WAService.js:13 (anonymous) @ WAService.js:13 (anonymous) @ WAService.js:5 (anonymous) @ WAService.js:5 (anonymous) @ WAService.js:4 d @ appservice:1711 f.registerCallback @ appservice:1711 k.forEach @ appservice:1711 d @ appservice:1711 h.onmessage @ appservice:1711 [图片] [图片]
2017-11-03 - 开发者工具版本(v1.01.171013),仍然调试无法查看源码
官方能否给个说明,什么时候支持,这个已经严重影响开发效率,难道你们写代码不调试
2017-10-14 - 微信开发者工具 v1.01.170907 网络设置无效
在版本 v1.01.170907中,将网络设置成Offline仍然可以请求数据 [图片]
2017-09-08 - 开发者工具版本(2017.08.30),调试无法查看源码
开发者工具版本:2017.08.30 我们使用Typescript开发微信小程序,在上一个版本中,是可以通过加断点直接调试ts源程序代码,最新版本中,看不到了,只能调试编译后的JS代码,这样很不方便调试,希望微信团队可以帮忙解决问题。 [图片]
2017-08-31