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YMbfQK/1YvrPS6mHzlKJZpOOONivJ2Q0i6cXweYj0Zip20tmHPSmZeQ7cwMZvh0MKZKr0DKufD8AEbPediP08bSI5WmdbvA/wkwAA0RLWTsP6UIAAAAAElFTkSuQmCC"},5608:function(t,i,e){"use strict";var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{staticClass:"time"},[t._v("\n "+t._s(t.tipText)),!0===t.isDay?e("span",{staticClass:"styleAll"},[t._v(t._s(t.day))]):t._e(),e("span",{staticClass:"timeTxt"},[t._v(t._s(t.dayText))]),e("span",{staticClass:"styleAll"},[t._v(t._s(t.hour))]),e("span",{staticClass:"timeTxt"},[t._v(t._s(t.hourText))]),e("span",{staticClass:"styleAll"},[t._v(t._s(t.minute))]),e("span",{staticClass:"timeTxt"},[t._v(t._s(t.minuteText))]),e("span",{staticClass:"styleAll"},[t._v(t._s(t.second))]),e("span",{staticClass:"timeTxt"},[t._v(t._s(t.secondText))])])},a=[],o=(e("163d"),{name:"CountDown",props:{tipText:{type:String,default:"倒计时"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{type:Number,default:0},isDay:{type:Boolean,default:!0}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00"}},created:function(){this.show_time()},mounted:function(){},methods:{show_time:function(){var t=this;function i(){var i=t.datatime-Date.parse(new Date)/1e3,e=0,n=0,a=0,o=0;i>0?(e=!0===t.isDay?Math.floor(i/86400):0,n=Math.floor(i/3600)-24*e,a=Math.floor(i/60)-24*e*60-60*n,o=Math.floor(i)-24*e*60*60-60*n*60-60*a,n<=9&&(n="0"+n),a<=9&&(a="0"+a),o<=9&&(o="0"+o),t.day=e,t.hour=n,t.minute=a,t.second=o):(t.day="00",t.hour="00",t.minute="00",t.second="00")}i(),setInterval(i,1e3)}}}),s=o,r=e("623f"),c=Object(r["a"])(s,n,a,!1,null,null,null);i["a"]=c.exports},a2cd:function(t,i,e){"use strict";var n=e("238a");t.exports=function(t,i){return!!t&&n((function(){i?t.call(null,(function(){}),1):t.call(null)}))}},acda:function(t,i,e){},c32d:function(t,i,e){"use strict";e.r(i);var n=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("div",{staticClass:"group-con"},[n("div",{staticClass:"header acea-row row-between-wrapper"},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:t.storeCombination.image}})]),n("div",{staticClass:"text"},[n("div",{staticClass:"line1",domProps:{textContent:t._s(t.storeCombination.title)}}),n("div",{staticClass:"money"},[t._v("\n ¥\n "),n("span",{staticClass:"num",domProps:{textContent:t._s(t.storeCombination.price)}}),n("span",{staticClass:"team cart-color",domProps:{textContent:t._s(t.storeCombination.people+"人拼")}})])]),-1===t.pinkBool?n("div",{staticClass:"iconfont icon-pintuanshibai"}):1===t.pinkBool?n("div",{staticClass:"iconfont icon-pintuanchenggong font-color-red"}):t._e()]),n("div",{staticClass:"wrapper"},[n("div",{staticClass:"title acea-row row-center-wrapper"},[n("div",{staticClass:"line"}),n("div",{staticClass:"name acea-row row-center-wrapper"},[t._v("\n 剩余\n "),n("CountDown",{attrs:{"is-day":!1,"tip-text":"","day-text":"","hour-text":" : ","minute-text":" : ","second-text":"",datatime:t.pinkT.stop_time}}),t._v("结束\n ")],1),n("div",{staticClass:"line"})]),1===t.pinkBool?n("div",{staticClass:"tips font-color-red"},[t._v("\n 恭喜您拼团成功\n ")]):-1===t.pinkBool?n("div",{staticClass:"tips"},[t._v("\n 还差"+t._s(t.count)+"人,拼团失败\n ")]):0===t.pinkBool?n("div",{staticClass:"tips font-color-red"},[t._v("\n 拼团中,还差"+t._s(t.count)+"人拼团成功\n ")]):t._e(),n("div",{staticClass:"list acea-row row-middle",class:[1===t.pinkBool||-1===t.pinkBool?"result":"",t.iShidden?"on":""]},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:t.pinkT.avatar}})]),t.pinkAll.length>0?n("div",{staticClass:"acea-row row-middle"},t._l(t.pinkAll,(function(t,i){return n("div",{key:i,staticClass:"pictrue"},[n("img",{attrs:{src:t.avatar}})])})),0):t._e(),t._l(t.count,(function(t){return n("div",{key:t,staticClass:"pictrue"},[n("img",{staticClass:"img-none",attrs:{src:e("1483")}})])}))],2),(1===t.pinkBool||-1===t.pinkBool)&&t.count>9?n("div",{staticClass:"lookAll acea-row row-center-wrapper",on:{click:t.lookAll}},[t._v("\n "+t._s(t.iShidden?"收起":"查看全部")+"\n "),n("span",{staticClass:"iconfont",class:t.iShidden?"icon-xiangshang":"icon-xiangxia"})]):t._e(),1===t.userBool&&0==t.isOk&&0===t.pinkBool?n("div",{staticClass:"teamBnt bg-color-red",on:{click:t.goPoster}},[t._v("\n 邀请好友参团\n ")]):0===t.userBool&&0===t.pinkBool&&t.count>0?n("div",{staticClass:"teamBnt bg-color-red",on:{click:t.pay}},[t._v("\n 我要参团\n ")]):t._e(),1===t.pinkBool||-1===t.pinkBool?n("div",{staticClass:"teamBnt bg-color-red",on:{click:function(i){return t.goDetail(t.storeCombination.id)}}},[t._v("\n 再次开团\n ")]):t._e(),0===t.pinkBool&&1===t.userBool?n("div",{staticClass:"cancel",on:{click:t.getCombinationRemove}},[n("span",{staticClass:"iconfont icon-guanbi3"}),t._v("取消开团\n ")]):t._e(),1===t.pinkBool?n("div",{staticClass:"lookOrder",on:{click:t.goOrder}},[t._v("\n 查看订单信息\n "),n("span",{staticClass:"iconfont icon-xiangyou"})]):t._e()]),n("div",{staticClass:"group-recommend"},[n("div",{staticClass:"title acea-row row-between-wrapper"},[n("div",[t._v("大家都在拼")]),n("div",{staticClass:"more",on:{click:t.goList}},[t._v("\n 更多拼团\n "),n("span",{staticClass:"iconfont icon-jiantou"})])]),n("div",{staticClass:"list acea-row row-middle"},t._l(t.storeCombinationHost,(function(i,e){return n("div",{key:e,staticClass:"item",on:{click:function(e){return t.goDetail(i.id)}}},[n("div",{staticClass:"pictrue"},[n("img",{attrs:{src:i.image}}),n("div",{staticClass:"team",domProps:{textContent:t._s(i.people+"人团")}})]),n("div",{staticClass:"name line1",domProps:{textContent:t._s(i.title)}}),n("div",{staticClass:"money font-color-red",domProps:{textContent:t._s("¥"+i.price)}})])})),0)]),n("Product-window",{attrs:{attr:t.attr},on:{changeFun:t.changeFun}})],1)},a=[],o=(e("c904"),e("9a33"),e("3bf2")),s=(e("cc57"),e("5608")),r=e("c6da"),c=e("ca41"),u=e("73f5"),l="GroupRule",d={name:l,components:{CountDown:s["a"],ProductWindow:r["a"]},props:{},data:function(){return{currentPinkOrder:"",isOk:0,pinkBool:0,userBool:0,pinkAll:[],pinkT:[],storeCombination:[],storeCombinationHost:[],pinkId:0,count:0,iShidden:!1,isOpen:!1,attr:{cartAttr:!1,productSelect:{image:"",store_name:"",price:"",quota:0,unique:"",cart_num:1,quota_show:0,product_stock:0},attrValue:"",productAttr:[]}}},watch:{$route:function(t){var i=this;t.name===l&&(i.pinkId=i.$route.params.id,i.getCombinationPink())}},mounted:function(){var t=this;t.pinkId=t.$route.params.id,t.getCombinationPink()},methods:{changeFun:function(t){"object"!==Object(o["a"])(t)&&(t={});var i=t.action||"",e=void 0===t.value?"":t.value;this[i]&&this[i](e)},changeattr:function(t){var i=this;i.attr.cartAttr=t},ChangeAttr:function(t){var i=this.productValue[t];i?(this.$set(this.attr.productSelect,"image",i.image),this.$set(this.attr.productSelect,"price",i.price),this.$set(this.attr.productSelect,"quota",i.quota),this.$set(this.attr.productSelect,"unique",i.unique),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this.attr.productSelect,"product_stock",i.product_stock),this.$set(this.attr.productSelect,"quota_show",i.quota_show),this.$set(this,"attrValue",t),this.$set(this,"attrTxt","已选择")):(this.$set(this.attr.productSelect,"image",this.storeCombination.image),this.$set(this.attr.productSelect,"price",this.storeCombination.price),this.$set(this.attr.productSelect,"quota",0),this.$set(this.attr.productSelect,"unique",""),this.$set(this.attr.productSelect,"cart_num",0),this.$set(this.attr.productSelect,"quota_show",0),this.$set(this.attr.productSelect,"product_stock",0),this.$set(this,"attrValue",""),this.$set(this,"attrTxt","请选择"))},ChangeCartNum:function(t){var i=this.productValue[this.attrValue];if(void 0!==i||this.attr.productAttr.length||(i=this.attr.productSelect),void 0!==i){var e=i.quota||0,n=this.attr.productSelect;t?(n.cart_num++,n.cart_num>e&&(this.$set(this.attr.productSelect,"cart_num",e),this.$set(this,"cart_num",e))):(n.cart_num--,n.cart_num<1&&(this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"cart_num",1)))}},DefaultSelect:function(){var t=this.attr.productAttr,i=[];for(var e in this.productValue)if(this.productValue[e].quota>0){i=this.attr.productAttr.length?e.split(","):[];break}for(var n=0;n=t.attr.productSelect.stock?"on":"",on:{click:t.CartNumAdd}},[t._v("\n +\n ")])])]),t.isShowBtn?e("div",{staticClass:"wrapper"},[t.attr.productSelect.quota>0&&t.attr.productSelect.product_stock>0?e("div",{staticClass:"teamBnt bg-color-red",on:{click:t.openAlone}},[t._v("\n 立即参团\n ")]):e("div",{staticClass:"teamBnt bg-color-hui"},[t._v("已售罄")])]):t._e()]),e("div",{staticClass:"mask",attrs:{hidden:!1===t.attr.cartAttr},on:{touchmove:function(t){t.preventDefault()},click:t.closeAttr}})])},a=[],o=(e("c904"),{name:"ProductWindow",props:{attr:{type:Object,default:function(){}}},data:function(){return{}},computed:{isShow:function(){return 1===this.$route.path.indexOf("detail")},isShowBtn:function(){return-1!=this.$route.path.indexOf("group_rule")}},mounted:function(){},methods:{openAlone:function(){this.$emit("changeFun",{action:"goPay",value:!1})},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,i){var e=this;e.attr.productAttr[t].index=i;var n=e.getCheckedValue().sort().join(",");e.$emit("changeFun",{action:"ChangeAttr",value:n})},getCheckedValue:function(){for(var t=this.attr.productAttr,i=[],e=0;e