productBottom.js 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/product/common/productBottom" ], {
  2. 462: function(t, n, o) {
  3. o.r(n);
  4. var e = o(463), r = o(465);
  5. for (var c in r) "default" !== c && function(t) {
  6. o.d(n, t, function() {
  7. return r[t];
  8. });
  9. }(c);
  10. o(467);
  11. var u = o(13), d = Object(u.default)(r.default, e.render, e.staticRenderFns, !1, null, null, null, !1, e.components, void 0);
  12. d.options.__file = "pages/product/common/productBottom.vue", n.default = d.exports;
  13. },
  14. 463: function(t, n, o) {
  15. o.r(n);
  16. var e = o(464);
  17. o.d(n, "render", function() {
  18. return e.render;
  19. }), o.d(n, "staticRenderFns", function() {
  20. return e.staticRenderFns;
  21. }), o.d(n, "recyclableRender", function() {
  22. return e.recyclableRender;
  23. }), o.d(n, "components", function() {
  24. return e.components;
  25. });
  26. },
  27. 464: function(t, n, o) {
  28. o.r(n), o.d(n, "render", function() {
  29. return e;
  30. }), o.d(n, "staticRenderFns", function() {
  31. return c;
  32. }), o.d(n, "recyclableRender", function() {
  33. return r;
  34. }), o.d(n, "components", function() {});
  35. var e = function() {
  36. var t = this;
  37. t.$createElement;
  38. t._self._c;
  39. }, r = !1, c = [];
  40. e._withStripped = !0;
  41. },
  42. 465: function(t, n, o) {
  43. o.r(n);
  44. var e = o(466), r = o.n(e);
  45. for (var c in e) "default" !== c && function(t) {
  46. o.d(n, t, function() {
  47. return e[t];
  48. });
  49. }(c);
  50. n.default = r.a;
  51. },
  52. 466: function(t, n, o) {
  53. (function(t) {
  54. Object.defineProperty(n, "__esModule", {
  55. value: !0
  56. }), n.default = void 0;
  57. var e = o(28), r = {
  58. props: {
  59. many: {
  60. default: 9
  61. },
  62. goodsObjact: {
  63. default: function() {
  64. return {};
  65. }
  66. },
  67. goodsid: {
  68. default: ""
  69. }
  70. },
  71. data: function() {
  72. return {};
  73. },
  74. methods: {
  75. buy: function(t) {
  76. this.$emit("specOPne", t);
  77. },
  78. toFavorite: function(n) {
  79. var o = this;
  80. n.userCollect = !n.userCollect, n.userCollect ? (0, e.collectAdd)({
  81. id: o.goodsid,
  82. category: "product"
  83. }).then(function(n) {
  84. t.showToast({
  85. title: "成功加入收藏",
  86. type: "top",
  87. duration: 1500
  88. });
  89. }) : (0, e.collectDel)({
  90. id: o.goodsid,
  91. category: "product"
  92. }).then(function(n) {
  93. t.showToast({
  94. title: "成功取消收藏",
  95. type: "top",
  96. duration: 1500
  97. });
  98. });
  99. }
  100. }
  101. };
  102. n.default = r;
  103. }).call(this, o(1).default);
  104. },
  105. 467: function(t, n, o) {
  106. o.r(n);
  107. var e = o(468), r = o.n(e);
  108. for (var c in e) "default" !== c && function(t) {
  109. o.d(n, t, function() {
  110. return e[t];
  111. });
  112. }(c);
  113. n.default = r.a;
  114. },
  115. 468: function(t, n, o) {}
  116. } ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "pages/product/common/productBottom-create-component", {
  117. "pages/product/common/productBottom-create-component": function(t, n, o) {
  118. o("1").createComponent(o(462));
  119. }
  120. }, [ [ "pages/product/common/productBottom-create-component" ] ] ]);