12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0d3247"],{"5c03":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",{ref:"container",staticClass:"commission-details"},[i("div",{staticClass:"promoterHeader bg-color-red"},[i("div",{staticClass:"headerCon acea-row row-between-wrapper"},[i("div",[i("div",{staticClass:"name"},[t._v("提现记录")]),i("div",{staticClass:"money"},[t._v("\n ¥"),i("span",{staticClass:"num"},[t._v(t._s(t.extractCount))])])]),i("div",{staticClass:"iconfont icon-jinbi1"})])]),i("div",{ref:"content",staticClass:"sign-record"},[i("div",{staticClass:"list"},t._l(t.info,(function(e,n){return i("div",{key:n,staticClass:"item"},[i("div",{staticClass:"data"},[t._v(t._s(e.time))]),t._l(e.list,(function(e,n){return i("div",{key:n,staticClass:"listn"},[i("div",{staticClass:"itemn acea-row row-between-wrapper"},[i("div",[i("div",{staticClass:"name line1"},[t._v(t._s(e.title))]),i("div",[t._v(t._s(e.add_time))])]),1==e.pm?i("div",{staticClass:"num"},[t._v("+"+t._s(e.number))]):t._e(),0==e.pm?i("div",{staticClass:"num font-color-red"},[t._v("\n -"+t._s(e.number)+"\n ")]):t._e()])])}))],2)})),0)]),i("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)},a=[],s=i("c24f"),o=i("3a5e"),d={name:"CashRecord",components:{Loading:o["a"]},props:{},data:function(){return{info:[],extractCount:0,where:{page:1,limit:3},types:4,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(s["p"])(t.where,t.types).then((function(e){t.loading=!1,t.loaded=e.data.length<t.where.limit,t.where.page=t.where.page+1,t.info.push.apply(t.info,e.data)}),(function(e){t.$dialog.message(e.msg)})))},getCommission:function(){var t=this,e=this;Object(s["C"])().then((function(t){e.extractCount=t.data.extractCount}),(function(e){t.$dialog.message(e.msg)}))}}},c=d,l=i("623f"),r=Object(l["a"])(c,n,a,!1,null,null,null);e["default"]=r.exports}}]);
|