(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/money/wallet"],{"0246":function(e,t,n){"use strict";(function(e,t){var o=n("4ea4");n("12d5");o(n("66fd"));var a=o(n("af9e"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(a.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},5035:function(e,t,n){"use strict";n.r(t);var o=n("a52d"),a=n.n(o);for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);t["default"]=a.a},"598c":function(e,t,n){},7464:function(e,t,n){"use strict";var o=n("598c"),a=n.n(o);a.a},a52d:function(e,t,n){"use strict";(function(e){var o=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=o(n("2eee")),r=o(n("c973")),i=n("94b0"),u=n("b7b7"),c={filters:{getMoneyStyle:u.getMoneyStyle},components:{empty:function(){n.e("components/empty").then(function(){return resolve(n("be9e"))}.bind(null,n)).catch(n.oe)},uniLoadMore:function(){n.e("components/uni-load-more/uni-load-more").then(function(){return resolve(n("bfdb"))}.bind(null,n)).catch(n.oe)}},onReady:function(t){var n=this;e.getSystemInfo({success:function(t){var o=e.createSelectorQuery();o.select(".swiper-box").boundingClientRect(),o.exec((function(e){n.height=t.windowHeight-e[0].top+"px",console.log("打印页面的剩余高度",n.height)}))},fail:function(e){}})},data:function(){return{height:"",maxheight:"",tabCurrentIndex:0,orderStatusSum:0,recharge:0,navList:[{state:1,text:"支出",loadingType:"more",orderList:[],page:1,limit:10},{state:2,text:"收入",loadingType:"more",orderList:[],page:1,limit:10}],money:"",shouzhi:[]}},onLoad:function(e){},onShow:function(){var e=this;(0,i.getSpreadsum)().then((function(t){e.shouzhi=t.data,console.log(t,"在拍卖行")})),this.loadData(),(0,i.userBalance)({}).then((function(t){var n=t.data;e.money=n.now_money}))},methods:{navto:function(t){e.navigateTo({url:t})},loadData:function(t){var n=this;return(0,r.default)(a.default.mark((function o(){var r,u,c,l;return a.default.wrap((function(o){while(1)switch(o.prev=o.next){case 0:if(r=n,u=n.tabCurrentIndex,c=n.navList[u],l=c.state,"tabChange"!==t||!0!==c.loaded){o.next=6;break}return o.abrupt("return");case 6:if("loading"!==c.loadingType){o.next=8;break}return o.abrupt("return");case 8:c.loadingType="loading",(0,i.spreadCommission)({page:c.page,limit:c.limit},l).then((function(t){var o=t.data;console.log(c.state),console.log(o,"1"),console.log(JSON.stringify(o),"2"),r.recharge=o.income,r.orderStatusSum=o.expend,o.length>0?(c.orderList=c.orderList.concat(o[0].list),console.log(c.orderList,"徐浩岚"),c.page++):c.loadingType="noMore",c.limit!=o[0].list.length?(c.loadingType="noMore",e.hideLoading(),n.$set(c,"loaded",!0)):c.loadingType="more"})).catch((function(e){console.log(e)}));case 10:case"end":return o.stop()}}),o)})))()},changeTab:function(e){this.tabCurrentIndex=e.target.current,this.loadData("tabChange")},tabClick:function(e){this.tabCurrentIndex=e}}};t.default=c}).call(this,n("543d")["default"])},af9e:function(e,t,n){"use strict";n.r(t);var o=n("d674"),a=n("5035");for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);n("7464");var i=n("f0c5"),u=Object(i["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);t["default"]=u.exports},d674:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return o}));var o={uniLoadMore:function(){return n.e("components/uni-load-more/uni-load-more").then(n.bind(null,"bfdb"))}},a=function(){var e=this,t=e.$createElement,n=(e._self._c,e._f("getMoneyStyle")(e.money)),o=e.__map(e.navList,(function(t,n){var o=e.__get_orig(t),a=!0===t.loaded&&0===t.orderList.length,r=0==t.orderList.length&&t.loaded;return{$orig:o,g0:a,g1:r}}));e.$mp.data=Object.assign({},{$root:{f0:n,l0:o}})},r=[]}},[["0246","common/runtime","common/vendor"]]]);