index.js 2.5 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/my/yongjinDetail/index"],{"5fc2":function(e,t,n){"use strict";n.r(t);var a=n("e2d3"),o=n.n(a);for(var i in a)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(i);t["default"]=o.a},"612f":function(e,t,n){"use strict";var a=n("a101"),o=n.n(a);o.a},9196:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var a={uEmpty:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uview-ui/components/u-empty/u-empty")]).then(n.bind(null,"b354"))}},o=function(){var e=this.$createElement,t=(this._self._c,this.info.data.length);this.$mp.data=Object.assign({},{$root:{g0:t}})},i=[]},"9bfa":function(e,t,n){"use strict";n.r(t);var a=n("9196"),o=n("5fc2");for(var i in o)["default"].indexOf(i)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(i);n("612f");var u=n("f0c5"),r=Object(u["a"])(o["default"],a["b"],a["c"],!1,null,"59061086",null,!1,a["a"],void 0);t["default"]=r.exports},a101:function(e,t,n){},e13b:function(e,t,n){"use strict";(function(e,t){var a=n("4ea4");n("1c90");a(n("66fd"));var o=a(n("9bfa"));e.__webpack_require_UNI_MP_PLUGIN__=n,t(o.default)}).call(this,n("bc2e")["default"],n("543d")["createPage"])},e2d3: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")),i=a(n("c973")),u=n("e7b1"),r={data:function(){return{picBase:this.$picBase2,userInfo:null,info:{totalIncome:0,withdrawIncome:0,data:[]}}},onLoad:function(){this.getUserInfo()},onShow:function(){this.getYongjinList()},methods:{getUserInfo:function(){var t=this;return(0,i.default)(o.default.mark((function n(){var a;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,(0,u.getUserInfo)();case 2:a=n.sent,console.log("用户信息返回值--------",a),0==a.code?(e.setStorageSync("userInfo",a.data),t.userInfo=a.data):t.$toast(a.message);case 5:case"end":return n.stop()}}),n)})))()},getYongjinList:function(){var e=this;return(0,i.default)(o.default.mark((function t(){var n;return o.default.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,u.getYongjinList)();case 2:n=t.sent,console.log("佣金明细返回值--------",n),0==n.code?e.info=n.data:e.$toast(n.message);case 5:case"end":return t.stop()}}),t)})))()},cash:function(){e.navigateTo({url:"/pages/my/cash/index?availMoney="+this.info.withdrawIncome})}}};t.default=r}).call(this,n("543d")["default"])}},[["e13b","common/runtime","common/vendor"]]]);