123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226 |
- (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/app/gsfh" ], {
- 381: function(n, e, t) {
- (function(n) {
- function e(n) {
- return n && n.__esModule ? n : {
- default: n
- };
- }
- t(4), e(t(2)), n(e(t(382)).default);
- }).call(this, t(1).createPage);
- },
- 382: function(n, e, t) {
- t.r(e);
- var o = t(383), r = t(385);
- for (var a in r) "default" !== a && function(n) {
- t.d(e, n, function() {
- return r[n];
- });
- }(a);
- t(387);
- var i = t(13), u = Object(i.default)(r.default, o.render, o.staticRenderFns, !1, null, null, null, !1, o.components, void 0);
- u.options.__file = "pages/app/gsfh.vue", e.default = u.exports;
- },
- 383: function(n, e, t) {
- t.r(e);
- var o = t(384);
- t.d(e, "render", function() {
- return o.render;
- }), t.d(e, "staticRenderFns", function() {
- return o.staticRenderFns;
- }), t.d(e, "recyclableRender", function() {
- return o.recyclableRender;
- }), t.d(e, "components", function() {
- return o.components;
- });
- },
- 384: function(n, e, t) {
- var o;
- t.r(e), t.d(e, "render", function() {
- return r;
- }), t.d(e, "staticRenderFns", function() {
- return i;
- }), t.d(e, "recyclableRender", function() {
- return a;
- }), t.d(e, "components", function() {
- return o;
- });
- try {
- o = {
- uniLoadMore: function() {
- return t.e("components/uni-load-more/uni-load-more").then(t.bind(null, 413));
- }
- };
- } catch (n) {
- if (-1 === n.message.indexOf("Cannot find module") || -1 === n.message.indexOf(".vue")) throw n;
- console.error(n.message), console.error("1. 排查组件名称拼写是否正确"), console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),
- console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件");
- }
- var r = function() {
- var n = this, e = (n.$createElement, n._self._c, n._f("getMoneyStyle")(n.money));
- n.$mp.data = Object.assign({}, {
- $root: {
- f0: e
- }
- });
- }, a = !1, i = [];
- r._withStripped = !0;
- },
- 385: function(n, e, t) {
- t.r(e);
- var o = t(386), r = t.n(o);
- for (var a in o) "default" !== a && function(n) {
- t.d(e, n, function() {
- return o[n];
- });
- }(a);
- e.default = r.a;
- },
- 386: function(n, e, t) {
- (function(n) {
- function o(n, e, t, o, r, a, i) {
- try {
- var u = n[a](i), c = u.value;
- } catch (n) {
- return void t(n);
- }
- u.done ? e(c) : Promise.resolve(c).then(o, r);
- }
- function r(n) {
- return function() {
- var e = this, t = arguments;
- return new Promise(function(r, a) {
- function i(n) {
- o(c, r, a, i, u, "next", n);
- }
- function u(n) {
- o(c, r, a, i, u, "throw", n);
- }
- var c = n.apply(e, t);
- i(void 0);
- });
- };
- }
- Object.defineProperty(e, "__esModule", {
- value: !0
- }), e.default = void 0;
- var a = function(n) {
- return n && n.__esModule ? n : {
- default: n
- };
- }(t(23)), i = t(247), u = t(354), c = {
- filters: {
- getMoneyStyle: (t(6), t(82)).getMoneyStyle
- },
- components: {
- empty: function() {
- t.e("components/empty").then(function() {
- return resolve(t(420));
- }.bind(null, t)).catch(t.oe);
- },
- uniLoadMore: function() {
- t.e("components/uni-load-more/uni-load-more").then(function() {
- return resolve(t(413));
- }.bind(null, t)).catch(t.oe);
- }
- },
- onReady: function() {
- var e = this;
- n.createSelectorQuery().select(".content").fields({
- size: !0
- }, function(n) {
- e.maxheight = n.height - Math.floor(n.width / 750 * 398), console.log(e.maxheight);
- }).exec();
- },
- data: function() {
- return {
- maxheight: "",
- tabCurrentIndex: 0,
- navList: [ {
- state: 0,
- text: "收入",
- loadingType: "more",
- orderList: [],
- page: 1,
- limit: 10
- } ],
- money: "",
- freezeMoney: ""
- };
- },
- onLoad: function(n) {},
- onShow: function() {
- var n = this;
- this.loadData(), (0, u.mskList)({}).then(function(e) {
- var t = e.data;
- n.money = t.user.all_stock_right_bonus;
- });
- },
- methods: {
- navto: function(e) {
- n.navigateTo({
- url: e
- });
- },
- loadData: function(e) {
- var t = this;
- return r(a.default.mark(function o() {
- var r, u;
- return a.default.wrap(function(o) {
- for (;;) switch (o.prev = o.next) {
- case 0:
- if (r = t.tabCurrentIndex, (u = t.navList[r]).state, "tabChange" !== e || !0 !== u.loaded) {
- o.next = 5;
- break;
- }
- return o.abrupt("return");
- case 5:
- if ("loading" !== u.loadingType) {
- o.next = 7;
- break;
- }
- return o.abrupt("return");
- case 7:
- u.loadingType = "loading", (0, i.spreadCommission)({
- page: u.page,
- limit: u.limit
- }, 5).then(function(e) {
- var o = e.data;
- o.length > 0 && (u.orderList = u.orderList.concat(o[0].list), console.log(u.orderList),
- u.page++), u.limit != o.length ? (u.loadingType = "noMore", n.hideLoading(), t.$set(u, "loaded", !0)) : u.loadingType = "more";
- }).catch(function(n) {
- console.log(n);
- });
- case 9:
- case "end":
- return o.stop();
- }
- }, o);
- }))();
- },
- changeTab: function(n) {
- this.tabCurrentIndex = n.target.current, this.loadData("tabChange");
- },
- tabClick: function(n) {
- this.tabCurrentIndex = n;
- }
- }
- };
- e.default = c;
- }).call(this, t(1).default);
- },
- 387: function(n, e, t) {
- t.r(e);
- var o = t(388), r = t.n(o);
- for (var a in o) "default" !== a && function(n) {
- t.d(e, n, function() {
- return o[n];
- });
- }(a);
- e.default = r.a;
- },
- 388: function(n, e, t) {}
- }, [ [ 381, "common/runtime", "common/vendor" ] ] ]);
|