03 2017 档案

摘要:常用小知识点 1、文字显示第N行之后变成…显示,只适合谷歌浏览器 text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-cl 阅读全文
posted @ 2017-03-27 14:10 web程序狮 阅读(652) 评论(0) 推荐(0)
摘要:1、数据绑定 {{}} <view id="item-{{id}}"> </view> 2、条件语句 wx:if wx:elif wx:else <view wx:if="{{length > 5}}"> 1 </view> <view wx:elif="{{length > 2}}"> 2 </v 阅读全文
posted @ 2017-03-07 23:27 web程序狮 阅读(1524) 评论(0) 推荐(0)