|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ProductWindow"],{"285b":function(t,n,e){},"70c8":function(t,n,e){"use strict";e.r(n);var a=e("99bc"),u=e("9296");for(var r in u)"default"!==r&&function(t){e.d(n,t,(function(){return u[t]}))}(r);e("9c8a");var c,i=e("f0c5"),o=Object(i["a"])(u["default"],a["b"],a["c"],!1,null,"458da92e",null,!1,a["a"],c);n["default"]=o.exports},9296:function(t,n,e){"use strict";e.r(n);var a=e("cc5e"),u=e.n(a);for(var r in a)"default"!==r&&function(t){e.d(n,t,(function(){return a[t]}))}(r);n["default"]=u.a},"99bc":function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return a}));var u=function(){var t=this,n=t.$createElement;t._self._c},r=[]},"9c8a":function(t,n,e){"use strict";var a=e("285b"),u=e.n(a);u.a},cc5e:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"ProductWindow",props:{isIntegral:Boolean,attr:{type:Object,default:function(){}},cartNum:{type:Number,default:function(){return 1}}},data:function(){return{}},mounted:function(){console.log(this)},watch:{attr:function(t){}},methods:{closeAttr:function(){this.$emit("changeFun",{action:"changeattr",value:!1})},CartNumDes:function(){this.$emit("changeFun",{action:"ChangeCartNum",value:!1})},CartNumAdd:function(){this.$emit("changeFun",{action:"ChangeCartNum",value:1})},tapAttr:function(t,n){this.attr.productAttr[t].index=n;var e=this,a=e.getCheckedValue().sort().join(",");e.$emit("changeFun",{action:"ChangeAttr",value:{value:a,indexw:t,indexn:n}})},getCheckedValue:function(){for(var t=this.attr.productAttr,n=[],e=0;e<t.length;e++)for(var a=0;a<t[e].attrValueArr.length;a++)t[e].index===a&&n.push(t[e].attrValueArr[a]);return n},previewImage:function(){t.previewImage({current:0,urls:[this.attr.productSelect.image]})}}};n.default=e}).call(this,e("543d")["default"])}}]);
|