index.js 2.8 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/catGoodList/index"],{"08f7":function(t,i,n){"use strict";n.r(i);var a=n("2f0f"),e=n.n(a);for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(c);i["default"]=e.a},"2f0f":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={name:"catGoodList",props:{dataConfig:{type:Object,default:function(){}},tempArr:{type:Array,default:[]},isLogin:{type:Boolean,default:!1}},data:function(){return{addIng:!1}},created:function(){},mounted:function(){},methods:{goDetail:function(t){this.$emit("detail",t)},goCartDuo:function(t){this.$emit("gocartduo",t)},goCartDan:function(t,i){this.$emit("gocartdan",t,i)},CartNumDes:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!1,t,i))},CartNumAdd:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!0,t,i))}}};i.default=a},"6ab1":function(t,i,n){"use strict";var a=n("7d37"),e=n.n(a);e.a},"6c26":function(t,i,n){"use strict";n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return e})),n.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,n=(t._self._c,t.$t("¥")),a=t.$t("已售"),e=t.__map(t.tempArr,(function(i,n){var a=t.__get_orig(i),e=i.activity&&"1"===i.activity.type?t.$t("秒杀"):null,c=i.activity&&"2"===i.activity.type?t.$t("砍价"):null,u=i.activity&&"3"===i.activity.type?t.$t("拼团"):null,o=i.stock>0&&(i.activity&&("1"===i.activity.type||"2"===i.activity.type||"3"===i.activity.type)||i.is_virtual||!i.cart_button)?t.$t("立即购买"):null,r=i.stock>0&&(!i.activity||"1"!==i.activity.type&&"2"!==i.activity.type&&"3"!==i.activity.type)&&!i.is_virtual&&i.cart_button&&i.spec_type?t.$t("加入购物车"):null,f=i.stock>0&&(!i.activity||"1"!==i.activity.type&&"2"!==i.activity.type&&"3"!==i.activity.type)&&!i.is_virtual&&i.cart_button&&!i.spec_type&&!i.cart_num?t.$t("加入购物车"):null,d=i.stock>0?null:t.$t("已售罄");return{$orig:a,m0:e,m1:c,m2:u,m5:o,m6:r,m7:f,m8:d}}));t.$mp.data=Object.assign({},{$root:{m3:n,m4:a,l0:e}})},e=[]},"7d37":function(t,i,n){},9009:function(t,i,n){"use strict";n.r(i);var a=n("6c26"),e=n("08f7");for(var c in e)["default"].indexOf(c)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(c);n("6ab1");var u=n("f0c5"),o=Object(u["a"])(e["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);i["default"]=o.exports}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/catGoodList/index-create-component',
  4. {
  5. 'components/catGoodList/index-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("9009"))
  7. })
  8. },
  9. [['components/catGoodList/index-create-component']]
  10. ]);