webpackJsonp([13],{"2T0X":function(o,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=n("Au9i"),e={mixins:[n("5g4Q").a],data:function(){return{loadConf:{loadTopConf:{isFinish:!1,topPullText:"下拉刷新",topDropText:"松开刷新",topLoadingText:"刷新中"},loadBottomConf:{isFinish:!1,bottomPullText:"上拉加载更多",bottomDropText:"释放获取内容",bottomLoadingText:"加载中",count:1}},list:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],originalList:[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]}},methods:{loadTop:function(){var o=this;this.$refs.loadmore.onTopLoaded(),a.Indicator.open({text:"刷新中...",spinnerType:"snake"}),setTimeout(function(){o.refresh()},2e3)},handleTopChange:function(){},loadBottom:function(){var o=this;this.loadConf.loadBottomConf.count<2?(this.loadConf.loadBottomConf.count++,setTimeout(function(){o.list=o.list.concat([],[16,17,18,19,20]),o.$refs.loadmore.onBottomLoaded()},500)):(this.loadConf.loadBottomConf.isFinish=!0,this.$refs.loadmore.onBottomLoaded())},refresh:function(){Object(a.Toast)({message:"刷新成功",iconClass:"iconfont icon-caozuochenggong"}),a.Indicator.close(),this.loadConf.loadBottomConf.isFinish=!1,this.$refs.loadmore.onBottomLoaded(),this.list=this.originalList,this.loadConf.loadBottomConf.count=1}}},i={render:function(){var o=this,t=o.$createElement,n=o._self._c||t;return n("transition",{attrs:{name:"slide"}},[n("div",{staticClass:"loadmore"},[n("mt-header",{staticClass:"header",attrs:{title:"Loadmore",fixed:o.headerConf.fixed}},[n("div",{attrs:{slot:"left"},slot:"left"},[n("mt-button",{attrs:{icon:"back"},on:{click:o.back}},[o._v("返回")])],1)]),o._v(" "),n("div",{staticClass:"content"},[n("mt-loadmore",{ref:"loadmore",staticClass:"loadmore-content",attrs:{"top-method":o.loadTop,topPullText:o.loadConf.loadTopConf.topPullText,topDropText:o.loadConf.loadTopConf.topDropText,topLoadingText:o.loadConf.loadTopConf.topLoadingText,"bottom-method":o.loadBottom,bottomAllLoaded:o.loadConf.loadBottomConf.isFinish,bottomPullText:o.loadConf.loadBottomConf.bottomPullText,bottomDropText:o.loadConf.loadBottomConf.bottomDropText,bottomLoadingText:o.loadConf.loadBottomConf.bottomLoadingText},on:{"top-status-change":o.handleTopChange}},[n("ul",o._l(o.list,function(t){return n("li",[o._v(o._s(t))])}),0),o._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:o.loadConf.loadBottomConf.isFinish,expression:"loadConf.loadBottomConf.isFinish"}],staticClass:"no-content"},[o._v("我是有底线的")])])],1)],1)])},staticRenderFns:[]};var s=n("VU/8")(e,i,!1,function(o){n("o7y7")},"data-v-cac60590",null);t.default=s.exports},o7y7:function(o,t){}});
//# sourceMappingURL=13.495adef926628ea860d7.js.map