上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页

2017年2月12日

摘要: var ReactClass={ createClass:function(spec){ //通过属性找方法 } }; ReactClass.createClass var React={ createClass:ReactClass.CreateClass // }; React.createCl 阅读全文
posted @ 2017-02-12 21:26 aivnfjgj 阅读(99) 评论(0) 推荐(0)

2017年2月7日

摘要: 外壳 ReactDom.render( <Comment Box/> document.getElementById (content) ); 列表 var CommentList = React.createClass({ render:function(){ return( ); } }); 表 阅读全文
posted @ 2017-02-07 22:34 aivnfjgj 阅读(109) 评论(0) 推荐(0)

2017年2月3日

摘要: html <view class="content"> <block wx:for="{{list}}" wx:key="{{index}}"> <view animation="{{item.value.animation}} class="list"> <view class="title" b 阅读全文
posted @ 2017-02-03 22:39 aivnfjgj 阅读(91) 评论(0) 推荐(0)

2017年1月31日

摘要: 到后台调接口 hotapp post(key.value.function(res){ that.setData({list:newdata}) 阅读全文
posted @ 2017-01-31 21:56 aivnfjgj 阅读(119) 评论(0) 推荐(0)
摘要: onFavorite:function(e){ var that=this; console.log(e.currentTarget.dataset.key) var key=e.currentTarget.dataset.key, //监听触发事件的节点 数据库节点 钥匙 value=e.curr 阅读全文
posted @ 2017-01-31 21:53 aivnfjgj 阅读(109) 评论(0) 推荐(0)

2017年1月30日

摘要: class与id区别及用法 登陆条:loginBar 标志:logo 侧栏:sideBar 广告:banner 导航:nav 子航导:subnav 菜单:menu 子菜单:submenu 搜索:search 滚动:scroll 页面主体:main 内容:content 标签页:tab 文章列表:li 阅读全文
posted @ 2017-01-30 23:34 aivnfjgj 阅读(116) 评论(0) 推荐(0)
摘要: html <view class="list" bindtouchend="onTouchend", bindtouchstart="onTouchstart"> //邦定当移出手指时触发,按下手指时触发 js onTouchend:function(e){ console.log(e.change 阅读全文
posted @ 2017-01-30 23:00 aivnfjgj 阅读(86) 评论(0) 推荐(0)

2017年1月29日

摘要: page({ data:{ list:[] }, //监听显示 onshow:function(){ //到前台显示 var that = this; hotapp.searchkey({ //后台搜索钥匙 "prefix":"item", //前缀节点 "pageIndex":pageIndex, 阅读全文
posted @ 2017-01-29 22:38 aivnfjgj 阅读(108) 评论(0) 推荐(0)

2017年1月24日

摘要: 阅读全文
posted @ 2017-01-24 13:34 aivnfjgj 阅读(126) 评论(0) 推荐(0)

2017年1月23日

摘要: onLoad:function(options){ console.log(options) html <view class="list bindtap=onload New data-key=""{{item key}}" js onLoad News:function(e){ console. 阅读全文
posted @ 2017-01-23 22:52 aivnfjgj 阅读(10448) 评论(1) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 25 下一页

导航