(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/user/award"],{"01f2":function(e,t,n){},"0b13":function(e,t,n){"use strict";var a=n("01f2"),o=n.n(a);o.a},"699d":function(e,t,n){"use strict";(function(e){var a=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n("2eee")),r=a(n("c973")),i=(n("26cb"),n("490a")),u=n("76b9"),c=n("3fcc"),d={filters:{getMoneyStyle:u.getMoneyStyle},components:{empty:function(){n.e("components/empty").then(function(){return resolve(n("e09c"))}.bind(null,n)).catch(n.oe)},uniLoadMore:function(){n.e("components/uni-load-more/uni-load-more").then(function(){return resolve(n("73b9"))}.bind(null,n)).catch(n.oe)}},onReady:function(t){var n=this;e.getSystemInfo({success:function(t){var a=e.createSelectorQuery();a.select(".swiper-box").boundingClientRect(),a.exec((function(e){n.height=t.windowHeight-e[0].top+"px",console.log("打印页面的剩余高度",n.height)}))},fail:function(e){}})},data:function(){return{userInfo:{},yj:"",height:"",maxheight:"",tabCurrentIndex:0,orderStatusSum:0,recharge:0,navList:[{state:4,text:"支出",loadingType:"more",orderList:[],page:1,limit:100},{state:3,text:"收入",loadingType:"more",orderList:[],page:1,limit:100}],money:""}},onLoad:function(e){},onShow:function(){this.extractBank(),this.getUserInfo(),this.loadData()},methods:{getUserInfo:function(){var e=this;(0,i.getUser)({}).then((function(t){var n=t.data;e.userInfo=n}))},extractBank:function(){var e=this;(0,c.extractBank)().then((function(t){console.log(t),e.yj=t.data.brokerage_price}))},toBack:function(){e.switchTab({url:"/pages/user/user"})},navto:function(t){e.navigateTo({url:t})},loadData:function(t){var n=this;return(0,r.default)(o.default.mark((function a(){var r,i,u;return o.default.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(n,r=n.tabCurrentIndex,i=n.navList[r],u=i.state,"tabChange"!==t||!0!==i.loaded){a.next=6;break}return a.abrupt("return");case 6:if("loading"!==i.loadingType){a.next=8;break}return a.abrupt("return");case 8:i.loadingType="loading",(0,c.spreadCommission)({page:i.page,limit:i.limit},u).then((function(t){var a=t.data;a.forEach((function(e){i.orderList=i.orderList.concat(e.list)})),i.page++,i.limit!=a.length?(i.loadingType="noMore",e.hideLoading(),n.$set(i,"loaded",!0)):i.loadingType="more"})).catch((function(e){console.log(e)}));case 10:case"end":return a.stop()}}),a)})))()},changeTab:function(e){this.tabCurrentIndex=e.target.current,this.loadData("tabChange")},tabClick:function(e){this.tabCurrentIndex=e}}};t.default=d}).call(this,n("543d")["default"])},"8aed":function(e,t,n){"use strict";n.r(t);var a=n("9ecb"),o=n("a28f");for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n("0b13");var i=n("f0c5"),u=Object(i["a"])(o["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);t["default"]=u.exports},9222:function(e,t,n){"use strict";(function(e,t){var a=n("4ea4");n("2500");a(n("66fd"));var o=a(n("8aed"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},"9ecb":function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return a}));var a={uniLoadMore:function(){return n.e("components/uni-load-more/uni-load-more").then(n.bind(null,"73b9"))}},o=function(){var e=this,t=e.$createElement,n=(e._self._c,e.__map(e.navList,(function(t,n){var a=e.__get_orig(t),o=!0===t.loaded&&0===t.orderList.length,r=0==t.orderList.length&&t.loaded;return{$orig:a,g0:o,g1:r}})));e.$mp.data=Object.assign({},{$root:{l0:n}})},r=[]},a28f:function(e,t,n){"use strict";n.r(t);var a=n("699d"),o=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=o.a}},[["9222","common/runtime","common/vendor"]]]);