(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-457330e9"],{"43d1":function(t,i,e){"use strict";e.r(i);var s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{ref:"container",staticClass:"commission-details"},[e("NavBar",{attrs:{title:"佣金记录"}}),e("div",{staticClass:"promoterHeader bg-color-red"},[e("div",{staticClass:"headerCon acea-row row-between-wrapper"},[e("div",[e("div",{staticClass:"name"},[t._v("佣金记录")]),e("div",{staticClass:"money"},[t._v("\n          ￥"),e("span",{staticClass:"num"},[t._v(t._s(t.commission))])])]),e("div",{staticClass:"iconfont icon-jinbi1"})])]),e("div",{ref:"content",staticClass:"sign-record"},[e("div",{staticClass:"list"},t._l(t.info,(function(i,s){return e("div",{key:s,staticClass:"item"},[e("div",{staticClass:"data"},[t._v(t._s(i.time))]),t._l(i.list,(function(i,s){return e("div",{key:s,staticClass:"listn"},[e("div",{staticClass:"itemn acea-row row-between-wrapper"},[e("div",[e("div",{staticClass:"name line1"},[t._v(t._s(i.title))]),e("div",[t._v(t._s(i.add_time))])]),1==i.pm?e("div",{staticClass:"num"},[t._v("+"+t._s(i.number))]):t._e(),0==i.pm?e("div",{staticClass:"num font-color-red"},[t._v("\n              -"+t._s(i.number)+"\n            ")]):t._e()])])}))],2)})),0)]),e("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)},n=[],a=e("c24f"),o=e("3a5e"),l=e("d000"),d={name:"CommissionDetails",components:{Loading:o["a"],NavBar:l["a"]},props:{},data:function(){return{info:[],commission:0,where:{page:1,limit:3},types:3,loaded:!1,loading:!1}},mounted:function(){var t=this;this.getCommission(),this.getIndex(),this.$scroll(this.$refs.container,(function(){!1===t.loading&&t.getIndex()}))},methods:{getIndex:function(){var t=this;1!=t.loading&&1!=t.loaded&&(t.loading=!0,Object(a["p"])(t.where,t.types).then((function(i){t.loading=!1,t.loaded=i.data.length<t.where.limit,t.loadTitle=t.loaded?"人家是有底线的":"上拉加载更多",t.where.page=t.where.page+1,t.info.push.apply(t.info,i.data)}),(function(i){t.$dialog.message(i.msg)})))},getCommission:function(){var t=this,i=this;Object(a["C"])().then((function(t){i.commission=t.data.commissionCount}),(function(i){t.$dialog.message(i.msg)}))}}},r=d,c=e("2877"),m=Object(c["a"])(r,s,n,!1,null,null,null);i["default"]=m.exports},d000:function(t,i,e){"use strict";var s=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",[e("div",{staticClass:"bg-color-red",staticStyle:{height:"0.7rem",position:"fixed","z-index":"999",top:"0",width:"100%"}},[e("div",{staticStyle:{width:"100%",display:"flex","line-height":"0.7rem","font-size":"0.35rem"}},[e("div",{staticClass:"iconfont icon-xiangzuo",staticStyle:{color:"#FFFFFF","font-size":"0.35rem","padding-left":"10px"},on:{click:t.returns}}),e("div",{staticStyle:{color:"#FFFFFF","font-weight":"400",flex:"auto","text-align":"center","padding-right":"30px"}},[t._v("\n        "+t._s(t.titles)+"\n      ")])])]),e("div",{staticStyle:{height:"0.7rem"}})])},n=[],a={name:"NavBar",props:{title:String},data:function(){return{titles:""}},mounted:function(){void 0==this.title?this.titles=this.$route.meta.title:this.titles=this.title},methods:{returns:function(){this.$router.back()}}},o=a,l=e("2877"),d=Object(l["a"])(o,s,n,!1,null,null,null);i["a"]=d.exports}}]);
//# sourceMappingURL=chunk-457330e9.659df110.js.map