productBottom.js 2.0 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/product/common/productBottom"],{"145f":function(t,o,n){},"2fb4":function(t,o,n){"use strict";var e;n.d(o,"b",(function(){return u})),n.d(o,"c",(function(){return c})),n.d(o,"a",(function(){return e}));var u=function(){var t=this,o=t.$createElement;t._self._c},c=[]},3058:function(t,o,n){"use strict";n.r(o);var e=n("2fb4"),u=n("4e80");for(var c in u)"default"!==c&&function(t){n.d(o,t,(function(){return u[t]}))}(c);n("7a55");var a,r=n("f0c5"),i=Object(r["a"])(u["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],a);o["default"]=i.exports},"4e80":function(t,o,n){"use strict";n.r(o);var e=n("eb0a"),u=n.n(e);for(var c in e)"default"!==c&&function(t){n.d(o,t,(function(){return e[t]}))}(c);o["default"]=u.a},"7a55":function(t,o,n){"use strict";var e=n("145f"),u=n.n(e);u.a},eb0a:function(t,o,n){"use strict";(function(t){Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var e=n("06f5"),u={props:{isVip:{},many:{default:9},goodsObjact:{default:function(){return{}}},goodsid:{default:""},product_id:{}},data:function(){return{}},onLoad:function(){},methods:{buy:function(t){this.$emit("specOPne",t)},toFavorite:function(o){var n=this;console.log(n.goodsObjact,"信息"),o.userCollect=!o.userCollect,o.userCollect?(0,e.collectAdd)({id:n.goodsid,category:"product"}).then((function(o){t.showToast({title:"成功加入收藏",type:"top",duration:1500})})):(0,e.collectDel)({id:n.goodsid,category:"product"}).then((function(o){t.showToast({title:"成功取消收藏",type:"top",duration:1500})}))}}};o.default=u}).call(this,n("543d")["default"])}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'pages/product/common/productBottom-create-component',
  4. {
  5. 'pages/product/common/productBottom-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("3058"))
  7. })
  8. },
  9. [['pages/product/common/productBottom-create-component']]
  10. ]);