(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-005a12b8"],{"13ee":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"point-contain"},[i("div",{staticClass:"point-header border-box"},[i("p",{staticClass:"font-13 color-cfa972"},[t._v("可用积分")]),i("div",{staticClass:"point-number font-50 color-cfa972"},[t._v(t._s(t.pointNum))])]),i("div",{staticClass:"point-body"},[i("van-list",{attrs:{finished:t.finished,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.list,function(e,n){return i("div",{key:n+e.name,staticClass:"point-list-cell border-box flex border-bottom-1"},[i("div",{staticClass:"point-list-cell_left flex-1"},[i("div",{staticClass:"list-cell_left_name font-15"},[t._v(t._s(e.name))]),i("div",{staticClass:"list-cell_left_brand font-12 m-t-6"},[t._v(t._s(e.brandName))]),i("div",{staticClass:"list-cell_left_date font-12 m-t-8"},[t._v(t._s(e.date))])]),i("div",{staticClass:"point-list-cell_right flex-1 text-right"},[i("div",{staticClass:"list-cell_right_num font-18 color-000"},[t._v("+"+t._s(e.point))])])])}),0)],1)])},o=[],s=i("bd86"),l=(i("68ef"),i("c0c2"),i("a142")),a={getScrollEventTarget:function(t,e){void 0===e&&(e=window);var i=t;while(i&&"HTML"!==i.tagName&&"BODY"!==i.tagName&&1===i.nodeType&&i!==e){var n=this.getComputedStyle(i),o=n.overflowY;if("scroll"===o||"auto"===o)return i;i=i.parentNode}return e},getScrollTop:function(t){return"scrollTop"in t?t.scrollTop:t.pageYOffset},setScrollTop:function(t,e){"scrollTop"in t?t.scrollTop=e:t.scrollTo(t.scrollX,e)},getElementTop:function(t){return(t===window?0:t.getBoundingClientRect().top)+this.getScrollTop(window)},getVisibleHeight:function(t){return t===window?t.innerHeight:t.getBoundingClientRect().height},getComputedStyle:!l["e"]&&document.defaultView.getComputedStyle.bind(document.defaultView)},c=i("543e"),r=i("db78"),d=Object(l["f"])("list"),h=d[0],f=d[1],u=d[2],g=h({model:{prop:"loading"},props:{error:Boolean,loading:Boolean,finished:Boolean,errorText:String,loadingText:String,finishedText:String,immediateCheck:{type:Boolean,default:!0},offset:{type:Number,default:300}},mounted:function(){this.scroller=a.getScrollEventTarget(this.$el),this.handler(!0),this.immediateCheck&&this.$nextTick(this.check)},destroyed:function(){this.handler(!1)},activated:function(){this.handler(!0)},deactivated:function(){this.handler(!1)},watch:{loading:function(){this.$nextTick(this.check)},finished:function(){this.$nextTick(this.check)}},methods:{check:function(){if(!(this.loading||this.finished||this.error)){var t=this.$el,e=this.scroller,i=a.getVisibleHeight(e);if(i&&"none"!==a.getComputedStyle(t).display&&null!==t.offsetParent){var n=a.getScrollTop(e),o=n+i,s=!1;if(t===e)s=e.scrollHeight-o<this.offset;else{var l=a.getElementTop(t)-a.getElementTop(e)+a.getVisibleHeight(t);s=l-i<this.offset}s&&(this.$emit("input",!0),this.$emit("load"))}}},clickErrorText:function(){this.$emit("update:error",!1),this.$nextTick(this.check)},handler:function(t){this.binded!==t&&(this.binded=t,(t?r["b"]:r["a"])(this.scroller,"scroll",this.check))}},render:function(t){return t("div",{class:f()},[this.$slots.default,this.loading&&t("div",{class:f("loading")},[this.$slots.loading||[t(c["a"],{class:f("loading-icon")}),t("span",{class:f("loading-text")},[this.loadingText||u("loading")])]]),this.finished&&this.finishedText&&t("div",{class:f("finished-text")},[this.finishedText]),this.error&&this.errorText&&t("div",{on:{click:this.clickErrorText},class:f("error-text")},[this.errorText])])}}),p=(i("cadf"),i("551c"),i("097d"),{name:"point",components:Object(s["a"])({},g.name,g),data:function(){return{pointNum:"10,000",list:[{name:"今日签到",brandName:"[MATERIAL GIRL]",date:"2018-12-06 10:32",point:"5"}],loading:!1,finished:!1}},computed:{},methods:{onLoad:function(){var t=this;setTimeout(function(){for(var e=0;e<10;e++);t.loading=!1,t.list.length>=40&&(t.finished=!0)},500)}}}),m=p,v=(i("d8f9"),i("2877")),T=Object(v["a"])(m,n,o,!1,null,"04a4aed0",null);T.options.__file="index.vue";e["default"]=T.exports},a61b:function(t,e,i){},c0c2:function(t,e,i){},d8f9:function(t,e,i){"use strict";var n=i("a61b"),o=i.n(n);o.a}}]);
//# sourceMappingURL=chunk-005a12b8.a07cc9d2.js.map