(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-goods_combination_details-index~pages-activity-goods_combination_status-index~pages-a~162f3e48"],{"12fd":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{style:t.colorStyle},[a("v-uni-view",{staticClass:"product-window",class:(!0===t.attr.cartAttr?"on":"")+" "+(t.iSbnt?"join":"")+" "+(t.iScart?"joinCart":"")},[a("v-uni-view",{staticClass:"textpic acea-row row-between-wrapper",on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.moveHandle.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"pictrue",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showImg()}}},[a("v-uni-image",{attrs:{src:t.attr.productSelect.image}})],1),a("v-uni-view",{staticClass:"text"},[a("v-uni-view",{staticClass:"line2 store-name"},[t._v(t._s(t.attr.productSelect.store_name))]),a("v-uni-view",{staticClass:"money font-color"},[a("v-uni-view",{staticClass:"acea-row row-middle"},[t._v(t._s(t.$t("¥"))),a("v-uni-text",{staticClass:"num"},[t._v(t._s(t.attr.productSelect.price))]),t.is_vip>0&&t.attr.productSelect.vip_price?a("v-uni-text",{staticClass:"vip-money"},[t._v(t._s(t.$t("¥"))+t._s(t.attr.productSelect.vip_price))]):t._e(),t.is_vip>0&&t.attr.productSelect.vip_price?a("v-uni-view",{staticClass:"vipImg"},[a("v-uni-image",{attrs:{src:i("2135")}})],1):t._e()],1),t.isShow&&!t.type?a("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("库存"))+" "+t._s(t.attr.productSelect.stock+t.unitName))]):t._e(),t.limitNum&&t.type?a("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("库存"))+" "+t._s(t.attr.productSelect.quota+t.unitName))]):t._e(),t.minQty>1&&t.is_virtual?a("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("起购"))+" "+t._s(t.minQty+t.unitName))]):t._e()],1)],1),a("v-uni-view",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeAttr.apply(void 0,arguments)}}})],1),a("v-uni-view",{staticClass:"rollTop"},[a("v-uni-view",{staticClass:"productWinList"},t._l(t.attr.productAttr,(function(e,i){return a("v-uni-view",{key:i,staticClass:"item"},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(t.$t(e.attr_name)))]),a("v-uni-view",{staticClass:"listn acea-row row-middle"},t._l(e.attr_value,(function(n,o){return a("v-uni-view",{key:o,staticClass:"itemn",class:e.index===n.attr?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.tapAttr(i,o)}}},[t._v(t._s(t.$t(n.attr)))])})),1)],1)})),1),t.is_virtual?t._e():a("v-uni-view",{staticClass:"cart acea-row row-between-wrapper"},[a("v-uni-view",{staticClass:"title"},[t._v(t._s(t.$t("数量")))]),a("v-uni-view",{staticClass:"carnum acea-row row-left"},[t.limitNum&&!t.type?a("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("限购"))+t._s(t.limitNum+t.unitName))]):t._e(),t.limitNum&&!t.type&&t.minQty>1?a("v-uni-text",{staticClass:"stock line"},[t._v("|")]):t._e(),t.minQty>1?a("v-uni-text",{staticClass:"stock"},[t._v(t._s(t.$t("起购"))+t._s(t.minQty+t.unitName))]):t._e(),t.attr.productSelect.cart_num<=t.minQty?a("v-uni-view",{staticClass:"item reduce acea-row row-center-wrapper",class:t.attr.productSelect.cart_num<=t.minQty?"on":""},[a("v-uni-text",{staticClass:"iconfont icon-shangpinshuliang-jian"})],1):a("v-uni-view",{staticClass:"item reduce acea-row row-center-wrapper",class:t.attr.productSelect.cart_num<=t.minQty?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartNumDes.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-shangpinshuliang-jian"})],1),a("v-uni-view",{staticClass:"item num acea-row row-middle"},[a("v-uni-input",{attrs:{type:"number","data-name":"productSelect.cart_num"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.bindCode(t.attr.productSelect.cart_num)}},model:{value:t.attr.productSelect.cart_num,callback:function(e){t.$set(t.attr.productSelect,"cart_num",e)},expression:"attr.productSelect.cart_num"}})],1),t.iSplus?a("v-uni-view",{staticClass:"item plus acea-row row-center-wrapper",class:t.attr.productSelect.cart_num>=t.attr.productSelect.stock||t.limitNum&&t.attr.productSelect.cart_num>=t.limitNum?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartNumAdd.apply(void 0,arguments)}}},[a("v-uni-text",{staticClass:"iconfont icon-shangpinshuliang-jia"})],1):a("v-uni-view",{staticClass:"item plus",class:t.attr.productSelect.cart_num>=t.attr.productSelect.quota||t.attr.productSelect.cart_num>=t.attr.productSelect.product_stock||t.attr.productSelect.cart_num>=t.attr.productSelect.num||"seckill"==t.type&&t.attr.productSelect.cart_num>=t.attr.productSelect.once_num?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.CartNumAdd.apply(void 0,arguments)}}},[t._v("+")])],1)],1)],1),t.iSbnt&&t.attr.productSelect.product_stock>0&&t.attr.productSelect.quota>0?a("v-uni-view",{staticClass:"joinBnt bg-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goCat.apply(void 0,arguments)}}},[t._v(t._s(t.$t("我要参团")))]):t.iSbnt&&t.attr.productSelect.quota<=0||t.iSbnt&&t.attr.productSelect.product_stock<=0?a("v-uni-view",{staticClass:"joinBnt on"},[t._v(t._s(t.$t("已售罄")))]):t._e(),t.iScart&&t.attr.productSelect.stock?a("v-uni-view",{staticClass:"joinBnt bg-color",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goCat.apply(void 0,arguments)}}},[t._v(t._s(t.$t("确定")))]):t.iScart&&!t.attr.productSelect.stock?a("v-uni-view",{staticClass:"joinBnt on"},[t._v(t._s(t.$t("已售罄")))]):t._e()],1),a("v-uni-view",{staticClass:"mask",attrs:{hidden:!1===t.attr.cartAttr},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.moveHandle.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeAttr.apply(void 0,arguments)}}})],1)},n=[]},2135:function(t,e,i){t.exports=i.p+"static/img/svip.bbb3b36a.gif"},"2a39":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.collectAdd=function(t,e){return n.default.post("collect/add",{id:t,product:void 0===e?"product":e})},e.collectAll=function(t,e){return n.default.post("collect/all",{id:t,category:void 0===e?"product":e})},e.collectDel=function(t,e){return n.default.post("collect/del",{id:t,category:void 0===e?"product":e})},e.create=function(t){return n.default.post("agent/apply/".concat(t.id),t)},e.deleteVisitList=function(t){return n.default.delete("user/visit",t)},e.getAgentAgreement=function(t){return n.default.get("agent/get_agent_agreement",{},{noAuth:!0})},e.getAttr=function(t,e){return n.default.get("v2/get_attr/"+t+"/"+e)},e.getCategoryList=function(){return n.default.get("category",{},{noAuth:!0})},e.getCodeApi=function(){return n.default.get("verify_code",{},{noAuth:!0})},e.getCollectUserList=function(t){return n.default.get("collect/user",t)},e.getGoodsDetails=function(){return n.default.get("agent/apply/info",{},{noAuth:!0})},e.getGroomList=function(t,e){return n.default.get("groom/list/"+t,e,{noAuth:!0})},e.getHomeProducts=function(t){return n.default.get("home/products",t,{noAuth:!0})},e.getPresellProductDetail=function(t){return n.default.get("advance/detail/"+t)},e.getProductCode=function(t){return n.default.get("product/code/"+t,{})},e.getProductDetail=function(t){return n.default.get("product/detail/"+t,{},{noAuth:!0})},e.getProductHot=function(t,e){return n.default.get("product/hot",{page:void 0===t?1:t,limit:void 0===e?4:e},{noAuth:!0})},e.getProductslist=function(t){return n.default.get("products",t,{noAuth:!0})},e.getReplyConfig=function(t){return n.default.get("reply/config/"+t)},e.getReplyList=function(t,e){return n.default.get("reply/list/"+t,e)},e.getSearchKeyword=function(){return n.default.get("search/keyword",{},{noAuth:!0})},e.getVisitList=function(t){return n.default.get("user/visit_list",t)},e.postCartAdd=function(t){return n.default.post("cart/add",t)},e.postCartNum=function(t){return n.default.post("v2/set_cart_num",t)},e.registerVerify=function(t){return n.default.post("register/verify",t,{noAuth:!0})},e.storeDiscountsList=function(t){return n.default.get("store_discounts/list/"+t,{},{noAuth:!0})},e.storeListApi=function(t){return n.default.get("store_list",t)};var n=a(i("fb81"))},"5f64":function(t,e,i){var a=i("ff27");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("d19884a6",a,!0,{sourceMap:!1,shadowMode:!1})},"6b31":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3"),i("14d9");var n=a(i("19b6")),o={mixins:[n.default],props:{attr:{type:Object,default:function(){}},limitNum:{type:Number,value:0},minQty:{type:Number,value:0},isShow:{type:Number,value:0},iSbnt:{type:Number,value:0},iSplus:{type:Number,value:0},iScart:{type:Number,value:0},is_vip:{type:Number,value:0},is_virtual:{type:Number,value:0},type:{type:String,default:""},unitName:{type:String,default:""}},data:function(){return{}},mounted:function(){},methods:{moveHandle:function(){},getpreviewImage:function(){uni.previewImage({urls:this.attr.productSelect.image.split(","),current:this.attr.productSelect.image})},goCat:function(){this.$emit("goCat")},bindCode:function(t){this.$emit("iptCartNum",t)},closeAttr:function(){this.$emit("myevent")},CartNumDes:function(){this.$emit("ChangeCartNum",!1)},CartNumAdd:function(){this.$emit("ChangeCartNum",!0)},tapAttr:function(t,e){this.$emit("attrVal",{indexw:t,indexn:e}),this.$set(this.attr.productAttr[t],"index",this.attr.productAttr[t].attr_values[e]);var i=this.getCheckedValue().join(",");this.$emit("ChangeAttr",i),1==this.limitNum&&(this.attr.productSelect.quota>0?this.attr.productSelect.cart_num=1:this.attr.productSelect.cart_num=0)},getCheckedValue:function(){for(var t=this.attr.productAttr,e=[],i=0;i