retailRank.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/app/retailRank" ], {
  2. 373: function(n, t, e) {
  3. (function(n) {
  4. function t(n) {
  5. return n && n.__esModule ? n : {
  6. default: n
  7. };
  8. }
  9. e(4), t(e(2)), n(t(e(374)).default);
  10. }).call(this, e(1).createPage);
  11. },
  12. 374: function(n, t, e) {
  13. e.r(t);
  14. var o = e(375), r = e(377);
  15. for (var a in r) "default" !== a && function(n) {
  16. e.d(t, n, function() {
  17. return r[n];
  18. });
  19. }(a);
  20. e(379);
  21. var i = e(13), u = Object(i.default)(r.default, o.render, o.staticRenderFns, !1, null, null, null, !1, o.components, void 0);
  22. u.options.__file = "pages/app/retailRank.vue", t.default = u.exports;
  23. },
  24. 375: function(n, t, e) {
  25. e.r(t);
  26. var o = e(376);
  27. e.d(t, "render", function() {
  28. return o.render;
  29. }), e.d(t, "staticRenderFns", function() {
  30. return o.staticRenderFns;
  31. }), e.d(t, "recyclableRender", function() {
  32. return o.recyclableRender;
  33. }), e.d(t, "components", function() {
  34. return o.components;
  35. });
  36. },
  37. 376: function(n, t, e) {
  38. e.r(t), e.d(t, "render", function() {
  39. return o;
  40. }), e.d(t, "staticRenderFns", function() {
  41. return a;
  42. }), e.d(t, "recyclableRender", function() {
  43. return r;
  44. }), e.d(t, "components", function() {});
  45. var o = function() {
  46. var n = this, t = (n.$createElement, n._self._c, n._f("parseFloatNum")(n.Top2.wdc || 0)), e = n._f("parseFloatNum")(n.Top1.wdc || 0), o = n._f("parseFloatNum")(n.Top3.wdc || 0), r = n.list.length > 0 ? n.__map(n.list, function(t, e) {
  47. return {
  48. $orig: n.__get_orig(t),
  49. f3: n._f("parseFloatNum")(t.wdc)
  50. };
  51. }) : null;
  52. n.$mp.data = Object.assign({}, {
  53. $root: {
  54. f0: t,
  55. f1: e,
  56. f2: o,
  57. l0: r
  58. }
  59. });
  60. }, r = !1, a = [];
  61. o._withStripped = !0;
  62. },
  63. 377: function(n, t, e) {
  64. e.r(t);
  65. var o = e(378), r = e.n(o);
  66. for (var a in o) "default" !== a && function(n) {
  67. e.d(t, n, function() {
  68. return o[n];
  69. });
  70. }(a);
  71. t.default = r.a;
  72. },
  73. 378: function(n, t, e) {
  74. Object.defineProperty(t, "__esModule", {
  75. value: !0
  76. }), t.default = void 0;
  77. var o = e(20), r = {
  78. filters: {
  79. parseFloatNum: function(n) {
  80. return parseFloat(n);
  81. }
  82. },
  83. data: function() {
  84. return {
  85. Top1: {},
  86. Top2: {},
  87. Top3: {},
  88. list: [],
  89. page: 1,
  90. limit: 20,
  91. loadingType: "more"
  92. };
  93. },
  94. onLoad: function() {
  95. this.loadData();
  96. },
  97. onReachBottom: function() {},
  98. methods: {
  99. loadData: function() {
  100. var n = this;
  101. "noMore" !== n.loadingType && (n.loadingType = "loading", (0, o.wdcRank)({
  102. page: 1,
  103. limit: n.limit
  104. }).then(function(t) {
  105. var e = t.data;
  106. 1 == n.page && (n.Top1 = e[0], n.Top2 = e[1], n.Top3 = e[2]), n.list = n.list.concat(e),
  107. n.limit != e.length ? n.loadingType = "noMore" : n.loadingType = "more";
  108. }));
  109. }
  110. }
  111. };
  112. t.default = r;
  113. },
  114. 379: function(n, t, e) {
  115. e.r(t);
  116. var o = e(380), r = e.n(o);
  117. for (var a in o) "default" !== a && function(n) {
  118. e.d(t, n, function() {
  119. return o[n];
  120. });
  121. }(a);
  122. t.default = r.a;
  123. },
  124. 380: function(n, t, e) {}
  125. }, [ [ 373, "common/runtime", "common/vendor" ] ] ]);