(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-dde864ee"],{"5e13":function(t,e,i){},7378:function(t,e,i){"use strict";var n=i("5e13"),a=i.n(n);a.a},ca8b: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:"pointer-detail"},[i("Header",{attrs:{title:"积分明细"}}),i("div",{staticClass:"point-list-head clr"},[i("div",{staticClass:"f-l",class:{act:1==t.flow_type},on:{click:function(e){return t.tab(1)}}},[t._v("收入")]),i("div",{staticClass:"f-l",class:{act:2==t.flow_type},on:{click:function(e){return t.tab(2)}}},[t._v("支出")]),i("div",{staticClass:"f-r point-value"},[t._v("\n 当前总积分:"),i("font",[t._v(t._s(t.getUserCurrentPoint))])],1)]),i("div",{ref:"pointContent",staticClass:"point_content"},[i("div",{staticClass:"has_data"},[i("van-list",{attrs:{loading:t.loadStatus,finished:t.finished,offset:2,"finished-text":"没有更多了"},on:{load:t.onLoad},model:{value:t.loading,callback:function(e){t.loading=e},expression:"loading"}},t._l(t.detaillist,(function(e,n){return i("div",{key:n,staticClass:"data-group clr"},[i("div",{staticClass:"f-l"},[i("div",[t._v(t._s(e.flow_reason_type_text))]),i("span",[t._v(t._s(t._f("dateTimeFormate")(e.flow_time)))])]),i("div",{staticClass:"f-r"},[t._v(t._s(1==e.flow_type?"+":"-")+t._s(e.flow_point))])])})),0)],1)])],1)},a=[],o=(i("5ab2"),i("6d57"),i("e44b"),i("e10e"),i("9d37")),s=i("0261"),r=i("08c1"),l=i("e790"),c=i("57af");function d(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function f(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?d(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):d(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}s["a"].use(l["a"]);var u={name:"pointdetail",data:function(){return{finishedtext:" ",page:1,loading:!1,limit:12,flow_type:1,detaillists:[]}},computed:f({},Object(r["c"])({getUserCurrentPoint:function(t){return t.pointdetail.getUserCurrentPoint},loadStatus:function(t){return t.pointdetail.loadStatus},finished:function(t){return t.pointdetail.finished},totalLimit:function(t){return t.pointdetail.totalLimit},detaillist:function(t){return t.pointdetail.detaillist}})),watch:{loadStatus:function(t){this.loading=t}},created:function(){this.$store.dispatch({type:"getUserCurrentPointdetail"}),this.getData()},methods:{getData:function(){this.$store.dispatch({type:"getUserPointDetail",page:this.page,limit:this.limit,flow_type:this.flow_type})},tab:function(t){if(this.flow_type!=t){var e=this.$refs["pointContent"];this.flow_type=t,this.page=1,e.scrollTo?e.scrollTo(0,0):e.scrollTop=0,this.getData()}},onLoad:function(){this.page<this.totalLimit&&(this.page++,this.getData())}},components:{Header:c["a"]}},p=u,h=(i("7378"),i("5511")),_=Object(h["a"])(p,n,a,!1,null,"2886ee09",null);e["default"]=_.exports}}]);