balance.js 2.6 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["plugins/stock/balance/balance"],{"0efc":function(t,e,n){"use strict";n.r(e);var o=n("35f7"),r=n("96e8");for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("dfd3");var c,u=n("f0c5"),a=Object(u["a"])(r["default"],o["b"],o["c"],!1,null,"0d0d3788",null,!1,o["a"],c);e["default"]=a.exports},1645:function(t,e,n){},"35f7":function(t,e,n){"use strict";var o,r=function(){var t=this,e=t.$createElement;t._self._c},i=[];n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}))},"96e8":function(t,e,n){"use strict";n.r(e);var o=n("c6f1"),r=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=r.a},c6f1:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("2f62");function r(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?r(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u={data:function(){return{setting:{},list:[]}},computed:i({},(0,o.mapState)({})),methods:{getSetting:function(){var e=this;t.showLoading({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;e.$request({url:e.$api.stock.bonus}).then((function(n){t.hideLoading(),0==n.code?e.list=n.data.list:t.showToast({title:n.msg,icon:"none",duration:1e3})})).catch((function(e){t.hideLoading()}))}},onLoad:function(e){e.name&&t.setNavigationBarTitle({title:e.name}),this.getSetting()},onReachBottom:function(){}};e.default=u}).call(this,n("543d")["default"])},dfd3:function(t,e,n){"use strict";var o=n("1645"),r=n.n(o);r.a},fedf:function(t,e,n){"use strict";(function(t){n("8748");o(n("66fd"));var e=o(n("0efc"));function o(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])}},[["fedf","common/runtime","common/vendor"]]]);