text: webpackJsonp([33],{"4Qta":function(t,e){},LFPu:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=s("7+uW"),a=s("Au9i"),l=s("iVvP");i.default.use(a.InfiniteScroll),i.default.component(a.Spinner.name,a.Spinner);var n={components:{Empty:l.a},props:{},data:function(){return{buzy:!1,isLoading:!1,title:"返利记录",sumFee:0,lastDate:"截至2018-04-02",rebatePageDesc:"",list:[],curentPage:1,limit:10,allLoaded:!1,bottomDis:50,wrapperHeight:0}},watch:{},computed:{hasRecord:function(){return this.list&&this.list.length>0}},methods:{getList:function(){var t=this;this.isLoading=!0;var e={page:this.curentPage,limit:this.limit};this.$http.getUserRebate(e).then(function(e){t.isLoading=!1,e&&(t.sumFee=e.userSum.sumFee,t.rebatePageDesc=e.rebatePageDesc,t.lastDate=e.userSum.lastDate,e.list&&e.list.length>0?(1==t.curentPage&&(t.list=[]),t.curentPage=t.curentPage+1,t.list=t.list.concat(e.list),e.list.length<t.limit&&(t.buzy=!0)):t.buzy=!0)})},loadMore:function(){this.getList()}},created:function(){},mounted:function(){this.wrapperHeight=document.documentElement.clientHeight-this.$refs.wrapper.getBoundingClientRect().top}},r=s("XyMi");var c=function(t){s("4Qta")},o=Object(r.a)(n,function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"main-view"},[s("mt-header",{staticClass:"boder-header",attrs:{fixed:"",title:t.title}},[s("router-link",{attrs:{slot:"left",to:"/mine"},slot:"left"},[s("mt-button",{attrs:{icon:"back"}})],1),t._v(" "),s("router-link",{attrs:{slot:"right",to:"/mine/mineRebateRecord"},slot:"right"},[s("mt-button",[t._v("登记记录")])],1)],1),t._v(" "),s("div",{staticClass:"rebate-container"},[s("div",{staticClass:"banner"},[s("div",{staticClass:"top"},[s("div",{staticClass:"sumRewardFee"},[s("label",[t._v(t._s(t._f("moneyFormal")(t.sumFee)))]),t._v(" "),s("div",{staticClass:"sumRewardFeeDescription"},[t._v("累计返利(元)")])]),t._v(" "),s("div",{staticClass:"lastDate"},[t._v(t._s(t.lastDate))])]),t._v(" "),s("div",{staticClass:"descriptionView"},[t._m(0),t._v(" "),s("pre",{staticClass:"description",domProps:{innerHTML:t._s(t.rebatePageDesc)}})])]),t._v(" "),t._m(1),t._v(" "),s("div",{staticClass:"space-line"}),t._v(" "),s("div",{staticClass:"rebate-record-divider"}),t._v(" "),s("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.loadMore,expression:"loadMore"}],ref:"wrapper",staticClass:"list",style:{height:t.wrapperHeight+"px"},attrs:{"infinite-scroll-disabled":"buzy","infinite-scroll-distance":"10"}},[t._l(t.list,function(e,i){return t.hasRecord?s("div",{key:i},[s("div",{staticClass:"item"},[s("div",{staticClass:"span1"},[s("label",{staticClass:"label"},[t._v(t._s(t._f("moneyFormal")(e.rebateMoney)))])]),t._v(" "),s("div",{staticClass:"span2"},[s("label",{staticClass:"label"},[t._v(t._s(t._f("moneyFormal")(e.memberInterest)))])]),t._v(" "),s("div",{staticClass:"span3"},[s("label",[t._v(t._s(e.investDate)+"/加入"+t._s(e.platName)+t._s(e.cycle)+"标"+t._s(e.investMoney/100)+"元")])])]),t._v(" "),s("div",{staticClass:"space-line"})]):t._e()}),t._v(" "),s("p",{directives:[{name:"show",rawName:"v-show",value:t.isLoading,expression:"isLoading"}],staticClass:"loading"},[s("mt-spinner",{attrs:{type:"fading-circle"}}),t._v(" "),s("span",[t._v("加载中...")])],1)],2),t._v(" "),t.hasRecord?t._e():s("empty")],1)],1)},[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"pointout"},[e("img",{staticClass:"image",attrs:{src:"/static/images/pointout@2x.png"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"center"},[e("div",{staticClass:"span1"},[e("label",{staticClass:"label"},[this._v("金额(元）")])]),this._v(" "),e("div",{staticClass:"span2"},[e("label",{staticClass:"label"},[this._v("会员权益返利(元)")])]),this._v(" "),e("div",{staticClass:"span3"},[e("label",{staticClass:"label"},[this._v("加入日期和类型")])])])}],!1,c,"data-v-0daff75a",null);e.default=o.exports}});
  //# sourceMappingURL=33.7bb19e516ca6d91da1d0.js.map