(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-500d3b11"],{"13b8":function(t,i,e){"use strict";var n=e("9723"),s=e.n(n);s.a},2994:function(t,i,e){"use strict";e("68ef"),e("c0c2")},"2bdd":function(t,i,e){"use strict";var n=e("a142"),s=e("023d"),a=e("543e"),o=e("db78"),l=Object(n["f"])("list"),c=l[0],r=l[1],d=l[2];i["a"]=c({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=s["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,i=this.scroller,e=s["a"].getVisibleHeight(i);if(e&&"none"!==s["a"].getComputedStyle(t).display&&null!==t.offsetParent){var n=s["a"].getScrollTop(i),a=n+e,o=!1;if(t===i)o=i.scrollHeight-a<this.offset;else{var l=s["a"].getElementTop(t)-s["a"].getElementTop(i)+s["a"].getVisibleHeight(t);o=l-e<this.offset}o&&(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?o["b"]:o["a"])(this.scroller,"scroll",this.check))}},render:function(t){return t("div",{class:r()},[this.$slots.default,this.loading&&t("div",{class:r("loading")},[this.$slots.loading||[t(a["a"],{class:r("loading-icon")}),t("span",{class:r("loading-text")},[this.loadingText||d("loading")])]]),this.finished&&this.finishedText&&t("div",{class:r("finished-text")},[this.finishedText]),this.error&&this.errorText&&t("div",{on:{click:this.clickErrorText},class:r("error-text")},[this.errorText])])}})},9723:function(t,i,e){},c0c2:function(t,i,e){},d2e9:function(t,i,e){"use strict";e.r(i);var n=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"point-contain"},[n("div",{staticClass:"point-header border-box"},[n("p",{staticClass:"font-13 color-cfa972"},[t._v("可用积分")]),n("div",{staticClass:"point-number font-50 color-cfa972"},[t._v(t._s(t.pointNum))])]),n("div",{staticClass:"point-body",style:{"min-height":t.$store.state.bodyH-113+"px"}},[t.list.length?n("van-list",{attrs:{finished:t.finished,"finished-text":" "},on:{load:t.onLoad},model:{value:t.loading,callback:function(i){t.loading=i},expression:"loading"}},t._l(t.list,function(i,e){return n("div",{key:e+i.name,staticClass:"point-list-cell border-box flex border-bottom-1"},[n("div",{staticClass:"point-list-cell_left flex-1"},[n("div",{staticClass:"list-cell_left_name font-15 color-232326"},[t._v(t._s(i.name))]),n("div",{staticClass:"list-cell_left_brand font-12 m-t-6 color-232326"},[t._v(t._s(i.brandName))]),n("div",{staticClass:"list-cell_left_date font-12 m-t-8 color-848689"},[t._v(t._s(i.date))])]),n("div",{staticClass:"point-list-cell_right flex-1 text-right"},[n("div",{staticClass:"list-cell_right_num font-18 color-000"},[t._v("+"+t._s(i.point))])])])}),0):t._e(),t.list.length?t._e():n("div",{staticClass:"no-recorde-data no-data-contain"},[n("img",{attrs:{src:e("e189"),alt:"card-no-data"}}),n("p",{staticClass:"font-16 color-848689"},[t._v("暂无积分明细")])])],1)])},s=[],a=(e("96cf"),e("3b8d")),o=e("bd86"),l=(e("2994"),e("2bdd")),c=(e("cadf"),e("551c"),e("097d"),e("0c6d")),r=function(t){return Object(c["a"])("/vip/getvouchers",t)},d={name:"point",components:Object(o["a"])({},l["a"].name,l["a"]),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,i=this;setTimeout(function(){for(var e=0;e<10;e++)t.list.push({name:"今日签到",brandName:"[MATERIAL GIRL]",date:"2018-12-06 10:32",point:"5"});i.loading=!1,i.list.length>=50&&(i.finished=!0)},500)},getData:function(){var t=Object(a["a"])(regeneratorRuntime.mark(function t(){var i,e;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return i=this,t.next=3,r();case 3:e=t.sent,1==e.errorCode&&(i.list=e);case 5:case"end":return t.stop()}},t,this)}));function i(){return t.apply(this,arguments)}return i}()}},h=d,f=(e("13b8"),e("2877")),u=Object(f["a"])(h,n,s,!1,null,"78a52c1a",null);u.options.__file="index.vue";i["default"]=u.exports},e189:function(t,i,e){t.exports=e.p+"img/data-null-icon.c2c4cad8.png"}}]);
//# sourceMappingURL=chunk-500d3b11.d1a8bf0f.js.map