(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-630c80cf"],{2994:function(t,e,i){"use strict";i("68ef"),i("c0c2")},"2bdd":function(t,e,i){"use strict";var n=i("a142"),s=i("023d"),a=i("543e"),o=i("db78"),r=Object(n["f"])("list"),l=r[0],c=r[1],d=r[2];e["a"]=l({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,e=this.scroller,i=s["a"].getVisibleHeight(e);if(i&&"none"!==s["a"].getComputedStyle(t).display&&null!==t.offsetParent){var n=s["a"].getScrollTop(e),a=n+i,o=!1;if(t===e)o=e.scrollHeight-a<this.offset;else{var r=s["a"].getElementTop(t)-s["a"].getElementTop(e)+s["a"].getVisibleHeight(t);o=r-i<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:c()},[this.$slots.default,this.loading&&t("div",{class:c("loading")},[this.$slots.loading||[t(a["a"],{class:c("loading-icon")}),t("span",{class:c("loading-text")},[this.loadingText||d("loading")])]]),this.finished&&this.finishedText&&t("div",{class:c("finished-text")},[this.finishedText]),this.error&&this.errorText&&t("div",{on:{click:this.clickErrorText},class:c("error-text")},[this.errorText])])}})},c0c2:function(t,e,i){},d2e9:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,n=t._self._c||e;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.accumulatPoints))])]),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(e){t.loading=e},expression:"loading"}},t._l(t.list,function(e,i){return n("div",{key:i+e.memberIntegralName,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(e.memberIntegralName))]),n("div",{staticClass:"list-cell_left_brand font-12 m-t-6 color-232326"},[t._v(t._s(e.brandName))]),n("div",{staticClass:"list-cell_left_date font-12 m-t-8 color-848689"},[t._v(t._s(e.createTime))])]),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(e.intervalHistory))])])])}),0):t._e(),t.list.length?t._e():n("div",{staticClass:"no-recorde-data no-data-contain"},[n("img",{attrs:{src:i("e189"),alt:"card-no-data"}}),n("p",{staticClass:"font-16 color-848689"},[t._v("暂无积分明细")])])],1)])},s=[],a=(i("96cf"),i("3b8d")),o=i("bd86"),r=(i("2994"),i("2bdd")),l=(i("cadf"),i("551c"),i("097d"),i("0c6d")),c=function(t){return Object(l["a"])("/gicfwh/load-group-interal-record",t)},d={name:"point",components:Object(o["a"])({},r["a"].name,r["a"]),data:function(){return{accumulatPoints:"10,000",list:[{memberIntegralName:"今日签到",brandName:"[MATERIAL GIRL]",createTime:"2018-12-06 10:32",intervalHistory:"5"}],loading:!1,finished:!1,currentPage:1,pageSize:5}},computed:{},methods:{onLoad:function(){var t=this,e=this;setTimeout(function(){for(var i=0;i<10;i++)t.list.push({memberIntegralName:"今日签到",brandName:"[MATERIAL GIRL]",createTime:"2018-12-06 10:32",intervalHistory:"5"});e.loading=!1,e.list.length>=50&&(e.finished=!0)},500)},getData:function(){var t=Object(a["a"])(regeneratorRuntime.mark(function t(){var e,i,n;return regeneratorRuntime.wrap(function(t){while(1)switch(t.prev=t.next){case 0:return e=this,i={memberId:e.$store.state.memberId,currentPage:e.currentPage,pageSize:e.pageSize},t.next=4,c(i);case 4:n=t.sent,0==n.errorCode&&(e.list=n.result);case 6:case"end":return t.stop()}},t,this)}));function e(){return t.apply(this,arguments)}return e}()},mounted:function(){var t=this;t.getData()}},h=d,f=(i("f48a"),i("2877")),u=Object(f["a"])(h,n,s,!1,null,"57355451",null);u.options.__file="index.vue";e["default"]=u.exports},e189:function(t,e,i){t.exports=i.p+"img/data-null-icon.c2c4cad8.png"},ef7f:function(t,e,i){},f48a:function(t,e,i){"use strict";var n=i("ef7f"),s=i.n(n);s.a}}]);
//# sourceMappingURL=chunk-630c80cf.cbf09350.js.map