(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/stock/balance/balance"],{"37a3":function(t,e,n){"use strict";(function(t){n("2d0a");o(n("66fd"));var e=o(n("74d9"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"489d":function(t,e,n){},"673c":function(t,e,n){"use strict";n.r(e);var o=n("cb8f"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},"74d9":function(t,e,n){"use strict";n.r(e);var o=n("eab0"),a=n("673c");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("e6f3");var r,c=n("f0c5"),u=Object(c["a"])(a["default"],o["b"],o["c"],!1,null,"619278e9",null,!1,o["a"],r);e["default"]=u.exports},cb8f:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("2f62");function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c={data:function(){return{setting:{},list:[],more:!1,page:1}},computed:i({},(0,o.mapState)({})),methods:{getSetting:function(){var e=this;t.showLoading({mask:!0,title:"加载中..."}),e.$request({url:e.$api.stock.setting}).then((function(n){0==n.code?(e.setting=n.data,e.getList()):t.showToast({title:n.msg,icon:"none",duration:1e3})})).catch((function(e){t.hideLoading()}))},getList:function(){var e=this,n=this;n.$request({url:n.$api.stock.bonus}).then((function(o){t.hideLoading(),0==o.code?(n.list=o.data.list,o.data.list.length==o.data.pagination.pageSize&&(e.more=!0,e.page++)):t.showToast({title:o.msg,icon:"none",duration:1e3})})).catch((function(e){t.hideLoading()}))},getMore:function(){var e=this;e.more=!1,t.showLoading({mask:!0,title:"加载更多..."}),e.$request({url:e.$api.stock.bonus,data:{page:e.page}}).then((function(n){t.hideLoading(),0==n.code?(e.list=e.list.concat(n.data.list),n.data.list.length==n.data.pagination.pageSize&&(e.more=!0,e.page++)):t.showToast({title:n.msg,icon:"none",duration:1e3})})).catch((function(e){t.hideLoading()}))}},onLoad:function(e){this.$commonLoad.onload(e),e.name&&t.setNavigationBarTitle({title:e.name}),this.getSetting()},onReachBottom:function(){this.more&&this.getMore()}};e.default=c}).call(this,n("543d")["default"])},e6f3:function(t,e,n){"use strict";var o=n("489d"),a=n.n(o);a.a},eab0:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var a=function(){var t=this,e=t.$createElement;t._self._c},i=[]}},[["37a3","common/runtime","common/vendor"]]]);