- 模板data="" 为什么不能传对象的某个属性-该属性值为一个Number类型
```html <view class="weui-media-box weui-media-box_appmsg" hover-class="weui-cell_active" wx:for="{{panelList}}" wx:for-index="idx" wx:key="idx"> <view class="weui-media-box__hd weui-media-box__hd_in-appmsg"> <image class="weui-media-box__thumb" src="{{item.imgUrl}}" /> view> <view class="weui-media-box__bd weui-media-box__bd_in-appmsg"> <view class="weui-media-box__title"> <view class="title-txt">{{item.name}}view> <view class="status online" wx:if="{{item.state.length > 0}}">{{item.state}}view> {{item.star}} <template is="star" data="{{item.star}}">template> view> <view class="weui-media-box__desc">{{item.info}}view> view> view> ``` [图片] [图片] 为什么不能这样传递呢?
2017-09-29 - 开发者工具 v0.22.202200如何打开页面地址?
微信Web开发者工具,v0.22.202200 如何在开发者工具中打开需要微信授权的页面地址。现在开发者工具中找不到可以输入网址的地方
2017-08-28 - 调试面板wxml 就这个页面不显示,console未报错
[图片]ss
2017-04-30 - 怎么向子组件 传递多个prop呢
[代码]<[代码][代码]template[代码] [代码]name[代码][代码]=[代码][代码]"navbar"[代码] [代码]>[代码][代码] [代码][代码]<[代码][代码]view[代码] [代码]id[代码][代码]=[代码][代码]"navbar"[代码][代码]>[代码][代码] [代码][代码]<[代码][代码]text[代码] [代码]class[代码][代码]=[代码][代码]"item {{currentTab==index ? 'active' : ''}}"[代码][代码] [代码][代码]wx:for[代码][代码]=[代码][代码]"{{navbar}}"[代码][代码] [代码][代码]wx:key[代码][代码]=[代码][代码]"{{index}}"[代码][代码] [代码][代码]data-index[代码][代码]=[代码][代码]"{{index}}"[代码][代码] [代码][代码]bindtap[代码][代码]=[代码][代码]"onNavbarTap"[代码][代码] [代码][代码]>[代码][代码] [代码][代码]{{item}}[代码][代码] [代码][代码]</[代码][代码]text[代码][代码]>[代码][代码] [代码][代码]</[代码][代码]view[代码][代码]>[代码][代码]</[代码][代码]template[代码][代码]>[代码] [代码]<[代码][代码]template[代码] [代码]is[代码][代码]=[代码][代码]"navbar"[代码] [代码]data[代码][代码]=[代码][代码]"{{navbar}}"[代码][代码]></[代码][代码]template[代码][代码]>[代码]还需要传递一个currentTab
2017-04-27