(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-activity-combination_status-index"],{"0c43":function(t,e,i){"use strict";i.r(e);var o=i("eb37"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"18d3":function(t,e,i){"use strict";i.r(e);var o=i("e661"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"1d13":function(t,e,i){"use strict";var o=i("9b21"),n=i.n(o);n.a},"2b87":function(t,e,i){var o=i("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.styleAll[data-v-556c75f6]{padding:0 %?6?%}.red[data-v-556c75f6]{margin:0 %?4?%}.themeColor .red[data-v-556c75f6]{color:var(--view-theme)}.bgTheme .styleAll[data-v-556c75f6]{background-color:var(--view-theme);color:#fff;font-size:%?22?%;display:flex;align-items:center;justify-content:center}.time[data-v-556c75f6]{display:flex;justify-content:center;font-size:%?20?%}',""]),t.exports=e},3243:function(t,e,i){var o=i("c86c");e=o(!1),e.push([t.i,".poster-poster[data-v-0bae72e9]{width:100%;height:100%;width:%?450?%;height:%?714?%}.poster-pop[data-v-0bae72e9]{position:fixed;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);top:50%;margin:0 auto;margin-top:%?-357?%;z-index:999}.poster-pop uni-image[data-v-0bae72e9]{width:100%;height:100%;display:block}.poster-pop .close[data-v-0bae72e9]{width:%?46?%;height:%?75?%;position:fixed;right:0;top:%?-73?%;display:block;z-index:3999}.poster-pop .save-poster[data-v-0bae72e9]{background-color:var(--view-theme);font-size::22rpx;color:#fff;text-align:center;height:%?76?%;line-height:%?76?%;width:100%;margin-top:%?20?%}.poster-pop .keep[data-v-0bae72e9]{color:#fff;text-align:center;font-size:%?25?%;margin-top:%?10?%}.mask[data-v-0bae72e9]{z-index:300!important;position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.6);z-index:9}",""]),t.exports=e},"32e10":function(t,e,i){"use strict";var o=i("45d8"),n=i.n(o);n.a},"45d8":function(t,e,i){var o=i("8370");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("9fa73a5a",o,!0,{sourceMap:!1,shadowMode:!1})},"4e09":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"time",class:{themeColor:t.isView,bgTheme:t.isTheme},style:t.justifyLeft+t.viewColor+"background-color:"+t.bgColor+";color:"+t.colors+";background-image:url("+t.bgImage+");"},[t.tipText?i("v-uni-text",{staticClass:"red"},[t._v(t._s(t.tipText))]):t._e(),!0===t.isDay?i("v-uni-text",{staticClass:"styleAll"},[t._v(t._s(t.day))]):t._e(),t.dayText?i("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.dayText))]):t._e(),i("v-uni-text",{staticClass:"styleAll"},[t._v(t._s(t.hour))]),t.hourText?i("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.hourText))]):t._e(),i("v-uni-text",{staticClass:"styleAll"},[t._v(t._s(t.minute))]),t.minuteText?i("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.minuteText))]):t._e(),i("v-uni-text",{staticClass:"styleAll"},[t._v(t._s(t.second))]),t.secondText?i("v-uni-text",{staticClass:"timeTxt red"},[t._v(t._s(t.secondText))]):t._e()],1)},n=[]},"68e5":function(t,e,i){"use strict";i.r(e);var o=i("d4de"),n=i("9197");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("1d13");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"0bae72e9",null,!1,o["a"],void 0);e["default"]=r.exports},8370:function(t,e,i){var o=i("c86c");e=o(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.generate-posters[data-v-1c694dc6]{width:100%;height:%?170?%;background-color:#fff;position:fixed;left:0;bottom:0;z-index:301;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);border-top:%?1?% solid #eee}.generate-posters.on[data-v-1c694dc6]{-webkit-transform:translateZ(0);transform:translateZ(0)}.generate-posters .item[data-v-1c694dc6]{flex:50%;text-align:center;font-size:%?30?%}.generate-posters .item.item3[data-v-1c694dc6]{flex:33.33%}.generate-posters .item .iconfont[data-v-1c694dc6]{font-size:%?80?%;color:#5eae72}.generate-posters .item .iconfont.icon-haibao[data-v-1c694dc6]{color:#5391f1}.generate-posters .item .iconfont.icon-fuzhikouling1[data-v-1c694dc6]{color:#fbb324}.sColor[data-v-1c694dc6]{color:var(--view-theme);border:%?1?% solid var(--view-theme)}\n/*开团*/.group-con .header[data-v-1c694dc6]{width:100%;height:%?186?%;background-color:#fff;border-top:1px solid #f5f5f5;padding:0 %?30?%;position:relative}.group-con .header .iconfont[data-v-1c694dc6]{font-size:%?100?%;position:absolute;color:#ccc;right:%?33?%;bottom:%?20?%}.group-con .header .pictrue[data-v-1c694dc6]{width:%?140?%;height:%?140?%}.group-con .header .pictrue uni-image[data-v-1c694dc6], .group-con .header .pictrue uni-image[data-v-1c694dc6]{width:%?140?%;height:%?140?%;border-radius:%?6?%}.group-con .header .text[data-v-1c694dc6]{width:%?540?%;font-size:%?30?%;color:#222}.group-con .header .text .money[data-v-1c694dc6]{font-size:%?24?%;font-weight:700;margin-top:%?15?%;display:flex;align-items:center}.group-con .header .text .money .num[data-v-1c694dc6]{font-size:%?32?%}.group-con .header .text .money .team[data-v-1c694dc6]{font-weight:400;border-radius:%?50?%;font-size:%?20?%;vertical-align:%?4?%;margin-left:%?15?%;display:flex;min-width:%?86?%;height:%?36?%;align-items:center;justify-content:center}.group-con .wrapper[data-v-1c694dc6]{background-color:#fff;margin-top:%?20?%;padding:%?2?% 0 %?35?% 0}.group-con .wrapper .title[data-v-1c694dc6]{margin-top:%?30?%}.group-con .wrapper .title .line[data-v-1c694dc6]{width:%?136?%;height:1px;background-color:#ddd}.group-con .wrapper .title .name[data-v-1c694dc6]{margin:0 %?45?%;font-size:%?28?%;color:#282828}.group-con .wrapper .title .name .time[data-v-1c694dc6]{margin:0 %?14?%}[data-v-1c694dc6] .group-con .wrapper .styleAll{background-color:#ffcfcb;text-align:center;border-radius:%?3?%;font-size:%?28?%;font-weight:700;display:inline-block;vertical-align:middle;background-color:var(--view-minorColor);padding:%?2?% %?5?%}.gColor[data-v-1c694dc6]{background-color:var(--view-theme)!important}.t-color[data-v-1c694dc6]{color:var(--view-theme)!important}.group-con .wrapper .tips[data-v-1c694dc6]{font-size:%?30?%;font-weight:700;text-align:center;margin-top:%?30?%}.group-con .wrapper .list[data-v-1c694dc6]{padding:0 %?30?%;margin-top:%?45?%}.group-con .wrapper .list.result[data-v-1c694dc6]{max-height:%?240?%;overflow:hidden}.group-con .wrapper .list.result.on[data-v-1c694dc6]{max-height:%?2000?%}.group-con .wrapper .list .pictrue[data-v-1c694dc6]{width:%?94?%;height:%?94?%;margin:0 0 %?29?% %?35?%}.group-con .wrapper .list .pictrue uni-image[data-v-1c694dc6], .group-con .wrapper .list .pictrue uni-image[data-v-1c694dc6]{width:100%;height:100%;border-radius:50%}.group-con .wrapper .list .img-none[data-v-1c694dc6]{border:none;width:%?140?%;height:%?140?%}.group-con .wrapper .lookAll[data-v-1c694dc6]{font-size:%?24?%;color:#282828;padding-top:%?10?%}.group-con .wrapper .lookAll .iconfont[data-v-1c694dc6]{font-size:%?25?%;margin:%?2?% 0 0 %?10?%}.group-con .wrapper .teamBnt[data-v-1c694dc6]{font-size:%?30?%;width:%?620?%;height:%?86?%;border-radius:%?50?%;text-align:center;line-height:%?86?%;color:#fff;margin:%?21?% auto 0 auto;background-color:var(--view-theme)}.group-con .wrapper .cancel[data-v-1c694dc6],\n.group-con .wrapper .lookOrder[data-v-1c694dc6]{text-align:center;font-size:%?24?%;color:#282828;padding-top:%?30?%}.group-con .wrapper .cancel .iconfont[data-v-1c694dc6]{font-size:%?35?%;color:#2c2c2c;vertical-align:%?-4?%;margin-right:%?9?%}.group-con .wrapper .lookOrder .iconfont[data-v-1c694dc6]{font-size:%?25?%;color:#2c2c2c;margin-left:%?10?%}.group-con .group-recommend[data-v-1c694dc6]{background-color:#fff;margin-top:%?25?%}.group-con .group-recommend .title[data-v-1c694dc6]{padding-right:%?30?%;margin-left:%?30?%;height:%?85?%;border-bottom:1px solid #eee;font-size:%?28?%;color:#282828}.group-con .group-recommend .title .more[data-v-1c694dc6]{color:grey}.group-con .group-recommend .title .more .iconfont[data-v-1c694dc6]{margin-left:%?13?%;font-size:%?28?%}.group-con .group-recommend .list[data-v-1c694dc6]{margin-top:%?30?%}.group-con .group-recommend .list .item[data-v-1c694dc6]{width:%?210?%;margin:0 0 %?25?% %?30?%}.group-con .group-recommend .list .item .pictrue[data-v-1c694dc6]{width:100%;height:%?210?%;position:relative}.group-con .group-recommend .list .item .pictrue uni-image[data-v-1c694dc6], .group-con .group-recommend .list .item .pictrue uni-image[data-v-1c694dc6]{width:%?210?%;height:%?210?%;border-radius:%?10?%}.group-con .group-recommend .list .item .pictrue .team[data-v-1c694dc6]{position:absolute;top:%?28?%;left:%?-5?%;min-width:%?100?%;height:%?36?%;line-height:%?36?%;text-align:center;border-radius:0 %?18?% %?18?% 0;font-size:%?20?%;color:#fff;background-image:linear-gradient(90deg,var(--view-bntColor21) 0,var(--view-bntColor22))}.group-con .group-recommend .list .item .name[data-v-1c694dc6]{font-size:%?28?%;color:#333;margin-top:.18rem}.group-con .group-recommend .list .item .money[data-v-1c694dc6]{font-weight:700;font-size:%?28?%;color:var(--view-priceColor)}.share-box[data-v-1c694dc6]{z-index:1000;position:fixed;left:0;top:0;width:100%;height:100%}.share-box uni-image[data-v-1c694dc6]{width:100%;height:100%}',""]),t.exports=e},"8da3":function(t,e,i){"use strict";i.r(e);var o=i("4e09"),n=i("18d3");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("aa0b");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"556c75f6",null,!1,o["a"],void 0);e["default"]=r.exports},9197:function(t,e,i){"use strict";i.r(e);var o=i("c916"),n=i.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(a);e["default"]=n.a},"9b21":function(t,e,i){var o=i("3243");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("8ac30cfc",o,!0,{sourceMap:!1,shadowMode:!1})},aa0b:function(t,e,i){"use strict";var o=i("c4bf"),n=i.n(o);n.a},c4bf:function(t,e,i){var o=i("2b87");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var n=i("967d").default;n("51108ffc",o,!0,{sourceMap:!1,shadowMode:!1})},c916:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("bf0f"),i("f7a5"),i("aa9c");var n=o(i("5de6")),a=o(i("2634")),s=o(i("2fdc")),r=i("672a"),c=i("8f59"),u={computed:(0,c.mapGetters)(["viewColor"]),data:function(){return{wd:225,hg:357,posterImage:"",posterBag:"../static/images/poster-bag.png"}},props:{picData:{type:Object},posterStatus:{type:Boolean,default:!1}},watch:{posterStatus:function(t){t&&this.posterShow()}},onLoad:function(){},methods:{posterShow:function(){var t=this;return(0,s.default)((0,a.default)().mark((function e(){var i,o,n,s;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=t,uni.showLoading({title:"海报生成中",mask:!0}),e.next=4,i.imgToBase(i.picData.goodsPic);case 4:return n=e.sent,e.next=7,i.imgToBase(i.picData.codePic);case 7:s=e.sent,o=[i.posterBag,n,s],i.bargainPosterCanvas(o,i.picData.title,i.picData.label,i.picData.msg,i.picData.price,i.wd,i.hg,(function(t){i.posterImage=t}));case 10:case"end":return e.stop()}}),e)})))()},imgToBase:function(t){return(0,s.default)((0,a.default)().mark((function e(){var i;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,r.imgToBase)({image:t});case 2:return i=e.sent,e.abrupt("return",i.data.image);case 4:case"end":return e.stop()}}),e)})))()},savePosterPath:function(t){},posterImageClose:function(){this.$emit("update:posterStatus",!1),this.posterImage=""},downloadFilestoreImage:function(t){var e=this;return new Promise((function(i,o){var n=e;uni.downloadFile({url:t,success:function(t){i(t.tempFilePath)},fail:function(){return n.$util.Tips({title:""})}})}))},bargainPosterCanvas:function(t,e,i,o,a,s,r,c){var u=this,d=this,l=uni.createCanvasContext("myCanvas",this);l.clearRect(0,0,0,0),l.fillStyle="#ccc",l.fillRect(0,0,s,r),uni.getImageInfo({src:t[0],success:function(p){p.width,p.height;l.drawImage(t[0],0,0,s,r);l.drawImage(t[1],.1571*s,.2916*r,.6857*s,.3916*r),l.save(),l.drawImage(t[2],.385*s,.77*r,55,55),l.save();var h=d.textByteLength(e,30),f=(0,n.default)(h,3),v=(f[0],f[1]),g=f[2];if(g>2){g=2;var m=v.slice(0,2);m[m.length-1]+="…",v=m}l.setTextAlign("left"),l.setFillStyle("#000"),v.length<2?l.setFontSize(14):l.setFontSize(12);for(var w=0;w255?(i+=2,i>o*e&&(i++,a.push(t.slice(n,s)),n=s,o++)):(i++,i>o*e&&(a.push(t.slice(n,s)),n=s,o++));return a.push(t.slice(n,t.length)),[i,a,o]}}};e.default=u},c9b7d:function(t,e){t.exports="data:image/png;base64,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"},ce37:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"group-con",style:t.viewColor},[o("v-uni-view",{staticClass:"header acea-row row-between-wrapper"},[o("v-uni-view",{staticClass:"pictrue"},[o("v-uni-image",{attrs:{src:t.storeCombination.image}})],1),o("v-uni-view",{staticClass:"text"},[o("v-uni-view",{staticClass:"line1",domProps:{textContent:t._s(t.storeCombination.store_name)}}),o("v-uni-view",{staticClass:"money"},[t._v("¥"),o("v-uni-text",{staticClass:"num",domProps:{textContent:t._s(t.storeCombination.price)}}),o("v-uni-text",{staticClass:"team sColor",domProps:{textContent:t._s((t.combinationData.buying_count_num?t.combinationData.buying_count_num:"")+"人拼")}})],1)],1),-1===t.pinkBool?o("v-uni-view",{staticClass:"iconfont icon-pintuanshibai"}):10===t.pinkBool?o("v-uni-view",{staticClass:"iconfont icon-pintuanchenggong t-color"}):t._e()],1),o("v-uni-view",{staticClass:"wrapper"},[0===t.pinkBool?o("v-uni-view",{staticClass:"title acea-row row-center-wrapper"},[o("v-uni-view",{staticClass:"line"}),o("v-uni-view",{staticClass:"name acea-row row-center-wrapper"},[t._v("剩余"),o("CountDown",{attrs:{justifyLeft:t.justifyLeft,"is-day":!1,"tip-text":" ","day-text":" ","hour-text":" : ","minute-text":" : ","second-text":" ",datatime:t.combinationData.end_time}}),t._v("结束")],1),o("v-uni-view",{staticClass:"line"})],1):t._e(),10===t.pinkBool?o("v-uni-view",{staticClass:"tips t-color"},[t._v("恭喜您拼团成功")]):-1===t.pinkBool?o("v-uni-view",{staticClass:"tips t-color"},[t._v("还差"+t._s(t.count)+"人,拼团失败")]):0===t.pinkBool?o("v-uni-view",{staticClass:"tips t-color"},[t._v("拼团中,还差"+t._s(t.count)+"人拼团成功")]):t._e(),o("v-uni-view",{staticClass:"list acea-row row-middle",class:t.iShidden?"on":"result"},[t.pinkAll.length>0?o("v-uni-view",{staticClass:"acea-row row-middle"},t._l(t.pinkAll,(function(t,e){return o("v-uni-view",{key:e,staticClass:"pictrue"},[o("v-uni-image",{attrs:{src:t.avatar?t.avatar:"/static/images/f.png"}})],1)})),1):t._e(),t._l(t.count,(function(e){return 0===t.pinkBool||-1===t.pinkBool?o("v-uni-view",{key:e,staticClass:"pictrue"},[o("v-uni-image",{staticClass:"img-none",attrs:{src:i("c9b7d")}})],1):t._e()}))],2),t.count>9?o("v-uni-view",{staticClass:"lookAll acea-row row-center-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.lookAll.apply(void 0,arguments)}}},[t._v(t._s(t.iShidden?"收起":"查看全部")),o("v-uni-text",{staticClass:"iconfont",class:t.iShidden?"icon-xiangshang":"icon-xiangxia"})],1):t._e(),0!==t.userBool&&0===t.pinkBool?o("v-uni-view",[o("v-uni-view",{staticClass:"teamBnt",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.listenerActionSheet.apply(void 0,arguments)}}},[t._v("邀请好友参团")])],1):0===t.userBool&&0===t.pinkBool&&t.count>0?o("v-uni-view",{staticClass:"teamBnt",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.pay.apply(void 0,arguments)}}},[t._v("我要参团")]):t._e(),10===t.pinkBool||-1===t.pinkBool?o("v-uni-view",{staticClass:"teamBnt",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goDetail(t.combinationData.product_group_id)}}},[t._v("再次开团")]):t._e(),0===t.pinkBool&&0!==t.userBool?o("v-uni-view",{staticClass:"cancel",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getCombinationRemove.apply(void 0,arguments)}}},[o("v-uni-text",{staticClass:"iconfont icon-guanbi3"}),t._v("取消开团")],1):t._e(),10===t.pinkBool?o("v-uni-view",{staticClass:"lookOrder",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goOrder.apply(void 0,arguments)}}},[t._v("查看订单信息"),o("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1):t._e()],1),o("v-uni-view",{staticClass:"group-recommend"},[o("v-uni-view",{staticClass:"title acea-row row-between-wrapper"},[o("v-uni-view",[t._v("大家都在拼")]),o("v-uni-view",{staticClass:"more",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goList.apply(void 0,arguments)}}},[t._v("更多拼团"),o("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)],1),o("v-uni-view",{staticClass:"list acea-row row-middle"},t._l(t.storeCombinationHost,(function(e,i){return o("v-uni-view",{key:i,staticClass:"item",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goDetail(e.product_group_id)}}},[o("v-uni-view",{staticClass:"pictrue"},[o("v-uni-image",{attrs:{src:e.product.image}}),o("v-uni-view",{staticClass:"team",domProps:{textContent:t._s(e.buying_count_num+"人团")}})],1),o("v-uni-view",{staticClass:"name line1",domProps:{textContent:t._s(e.product.store_name)}}),o("v-uni-view",{staticClass:"money",domProps:{textContent:t._s("¥"+e.price)}})],1)})),1)],1),o("product-window",{attrs:{attr:t.attr,limitNum:1,iSbnt:1},on:{myevent:function(e){arguments[0]=e=t.$handleEvent(e),t.onMyEvent.apply(void 0,arguments)},ChangeAttr:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangeAttr.apply(void 0,arguments)},ChangeCartNum:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangeCartNum.apply(void 0,arguments)},iptCartNum:function(e){arguments[0]=e=t.$handleEvent(e),t.iptCartNum.apply(void 0,arguments)},attrVal:function(e){arguments[0]=e=t.$handleEvent(e),t.attrVal.apply(void 0,arguments)},goCat:function(e){arguments[0]=e=t.$handleEvent(e),t.goPay.apply(void 0,arguments)}}}),o("v-uni-view",{staticClass:"generate-posters acea-row row-middle",class:t.posters?"on":""},[!0===t.weixinStatus?o("v-uni-button",{staticClass:"item",class:t.weixinStatus?"item3":"",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.H5ShareBox=!0}}},[o("v-uni-view",{staticClass:"iconfont icon-weixin3"}),o("v-uni-view",{},[t._v("发送给朋友")])],1):t._e(),o("v-uni-button",{staticClass:"item",class:t.weixinStatus?"item3":"",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goPoster.apply(void 0,arguments)}}},[o("v-uni-view",{staticClass:"iconfont icon-haibao"}),o("v-uni-view",{},[t._v("生成海报")])],1),o("v-uni-button",{staticClass:"item",class:t.weixinStatus?"item3":"",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.copyPwd.apply(void 0,arguments)}}},[o("v-uni-view",{staticClass:"iconfont icon-fuzhikouling1"}),o("v-uni-view",[t._v("生成口令")])],1)],1),t.posters?o("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.listenerActionClose.apply(void 0,arguments)}}}):t._e(),o("copyPassword",{attrs:{isCopy:t.isCopy,copyUrl:t.copyUrl},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closeCopy.apply(void 0,arguments)}}}),t.H5ShareBox?o("v-uni-view",{staticClass:"share-box"},[o("v-uni-image",{attrs:{src:t.domain+"/static/images/share-info.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.H5ShareBox=!1}}})],1):t._e(),o("home"),t.posterCompenents?o("canvasPoster",{attrs:{posterStatus:t.posterStatus,picData:t.picData},on:{"update:posterStatus":function(e){arguments[0]=e=t.$handleEvent(e),t.posterStatus=e},"update:poster-status":function(e){arguments[0]=e=t.$handleEvent(e),t.posterStatus=e}}}):t._e()],1)},n=[]},d4de:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{style:t.viewColor},[t.posterStatus?o("v-uni-view",{staticClass:"poster-poster"},[o("v-uni-view",{staticClass:"poster-pop"},[o("v-uni-image",{staticClass:"close",attrs:{src:i("d286")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.posterImageClose.apply(void 0,arguments)}}}),o("v-uni-view",{staticClass:"user-code"},[t.posterImage?o("v-uni-image",{staticClass:"canvas",style:{width:t.wd+"px",height:t.hg+"px"},attrs:{src:t.posterImage}}):o("v-uni-canvas",{staticClass:"canvas",style:{width:t.wd+"px",height:t.hg+"px"},attrs:{"canvas-id":"myCanvas"}})],1),t.posterImage?o("v-uni-view",{staticClass:"keep"},[t._v("长按图片可以保存到手机")]):t._e()],1)],1):t._e(),t.posterImage?o("v-uni-view",{staticClass:"mask"}):t._e()],1)},n=[]},d727:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.assistHelpList=function(t,e){return n.default.get("store/product/assist/user/"+t,e)},e.assistUserData=function(t){return n.default.get("store/product/assist/count",t,{noAuth:!0})},e.getActivitycategory=function(t){return n.default.get("product/spu/active/category/"+t,{},{noAuth:!0})},e.getAssistDetail=function(t,e){return n.default.get("store/product/assist/detail/"+t,e)},e.getAssistList=function(t){return n.default.get("store/product/assist/lst",t,{noAuth:!0})},e.getAssistUser=function(t){return n.default.get("store/product/assist/share/"+t)},e.getBargainUserCancel=function(t){return n.default.post("store/product/assist/set/delete/"+t)},e.getBargainUserList=function(t){return n.default.get("store/product/assist/set/lst",t)},e.getCombinationDetail=function(t){return n.default.get("store/product/group/detail/"+t,{},{noAuth:!0})},e.getCombinationList=function(t){return n.default.get("store/product/group/lst",t,{noAuth:!0})},e.getCombinationPink=function(t){return n.default.get("store/product/group/get/"+t)},e.getCombinationPoster=function(t){return n.default.post("combination/poster",t)},e.getCombinationUser=function(t){return n.default.get("store/product/group/count",t,{noAuth:!0})},e.getCouponLst=function(t){return n.default.get("coupon/getlst",t,{noAuth:!0})},e.getMerchantServiceLst=function(t){return n.default.get("store/merchant/local",t,{noAuth:!0})},e.getNewPeopleCouponLst=function(t){return n.default.get("coupon/new_people",t,{noAuth:!0})},e.getPresellList=function(t){return n.default.get("store/product/presell/lst",t,{noAuth:!0})},e.getSeckillDetail=function(t){return n.default.get("store/product/seckill/detail/"+t,{},{noAuth:!0})},e.getSeckillIndexTime=function(){return n.default.get("store/product/seckill/select",{},{noAuth:!0})},e.getSeckillList=function(t){return n.default.get("store/product/seckill/lst",t,{noAuth:!0})},e.getTopicDetail=function(t){return n.default.get("activity/info/".concat(t),{},{noAuth:!0})},e.getTopicList=function(t,e){return n.default.get("activity/lst/".concat(t),e,{noAuth:!0})},e.getTopicProLst=function(t){return n.default.get("product/spu/labels",t,{noAuth:!0})},e.hotRankingApi=function(t){return n.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})},e.initiateAssistApi=function(t){return n.default.post("store/product/assist/create/"+t)},e.postAssistHelp=function(t){return n.default.post("store/product/assist/set/"+t)},e.postCombinationRemove=function(t){return n.default.post("store/product/group/cancel",t)},e.presellAgreement=function(){return n.default.get("store/product/presell/agree")},e.scombinationCode=function(t){return n.default.get("combination/code/"+t)},e.seckillCode=function(t,e){return n.default.get("seckill/code/"+t,e)},e.spuTop=function(t){return n.default.get("store/product/category/hotranking",{},{noAuth:!0})},e.spuTopList=function(t){return n.default.get("product/spu/get_hot_ranking",t,{noAuth:!0})};var n=o(i("fea3"))},e661:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=o(i("9b1b"));i("64aa");var a=i("8f59"),s={name:"countDown",props:{justifyLeft:{type:String,default:""},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},id:{type:String|Number,default:""},bgColor:{type:String,default:""},colors:{type:String,default:""},bgImage:{type:String,default:""},isView:{type:Boolean,default:!1},isTheme:{type:Boolean,default:!1}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00"}},computed:(0,n.default)({},(0,a.mapGetters)(["viewColor"])),created:function(){this.show_time()},mounted:function(){},methods:{show_time:function(){var t=this;function e(){var i=t.datatime-Date.parse(new Date)/1e3,o=0,n=0,a=0,s=0;i>0?(o=!0===t.isDay?Math.floor(i/86400):0,n=Math.floor(i/3600)-24*o,a=Math.floor(i/60)-24*o*60-60*n,s=Math.floor(i)-24*o*60*60-60*n*60-60*a,n<=9&&(n="0"+n),a<=9&&(a="0"+a),s<=9&&(s="0"+s),t.day=o,t.hour=n,t.minute=a,t.second=s):(t.day="00",t.hour="00",t.minute="00",t.second="00",t.$emit("getProduct"),uni.$emit("endTime",t.id),clearInterval(e))}e(),setInterval(e,1e3)}}};e.default=s},eb37:function(t,e,i){"use strict";i("6a54");var o=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("f7a5"),i("c223");var n=o(i("2634")),a=o(i("2fdc")),s=o(i("8da3")),r=o(i("5b60")),c=o(i("e24b")),u=o(i("68e5")),d=i("8f59"),l=i("d727"),p=i("7e00"),h=i("e44d"),f=o(i("defc")),v=i("aa10"),g=(getApp(),{name:"GroupRule",components:{CountDown:s.default,ProductWindow:r.default,home:f.default,canvasPoster:u.default,copyPassword:c.default},props:{},data:function(){return{domain:v.HTTP_REQUEST_URL,currentPinkOrder:"",isOk:0,pinkBool:0,userBool:0,pinkAll:[],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,num:0},productAttr:[]},cart_num:"",userInfo:{},combinationData:{},posters:!1,weixinStatus:!1,H5ShareBox:!1,attrTxt:"请选择",attrValue:"",posterStatus:!1,posterCompenents:!1,currSpid:"",picData:{bagPic:"",goodsPic:"",codePic:"",title:"",label:"",msg:"",price:""},isCopy:!1,copyUrl:"",justifyLeft:""}},computed:(0,d.mapGetters)(["isLogin","uid","viewColor"]),watch:{isLogin:{handler:function(t,e){t&&this.getCombinationPink()},deep:!0}},onLoad:function(t){this.justifyLeft=this.viewColor,t.id&&(this.pinkId=t.id),0==this.isLogin?(0,h.toLogin)():this.getCombinationPink()},mounted:function(){this.getCombinationProductList(),this.getPosterCode()},methods:{listenerActionSheet:function(){0==this.isLogin?(0,h.toLogin)():(!0===this.$wechat.isWeixin()&&(this.weixinStatus=!0),this.posters=!this.posters)},listenerActionClose:function(){this.posters=!1},goFriend:function(){this.posters=!1},iptCartNum:function(t){this.$set(this.attr.productSelect,"cart_num",t),this.$set(this,"cart_num",t)},attrVal:function(t){this.attr.productAttr[t.indexw].index=this.attr.productAttr[t.indexw].attr_values[t.indexn]},onMyEvent:function(){this.$set(this.attr,"cartAttr",!1),this.$set(this,"isOpen",!1)},ChangeAttr:function(t){this.$set(this,"cart_num",1);var e=this.productValue[t];e?(this.$set(this.attr.productSelect,"image",e.image),this.$set(this.attr.productSelect,"price",e.price),this.$set(this.attr.productSelect,"stock",e.stock),this.$set(this.attr.productSelect,"quota",e.quota),this.$set(this.attr.productSelect,"unique",e.unique),this.$set(this.attr.productSelect,"cart_num",1),this.$set(this.attr.productSelect,"product_stock",e.stock),this.$set(this.attr.productSelect,"quota_show",e.stock),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,"stock",0),this.$set(this.attr.productSelect,"product_stock",0),this.$set(this,"attrValue",""),this.$set(this,"attrTxt","请选择"))},ChangeCartNum:function(t){var e=this.productValue[this.attrValue];if(void 0!==e||this.attr.productAttr.length||(e=this.attr.productSelect),void 0!==e){var i=e.stock||0,o=this.attr.productSelect;t?(o.cart_num++,o.cart_num>i&&(this.$set(this.attr.productSelect,"cart_num",i),this.$set(this,"cart_num",i))):(o.cart_num--,o.cart_num<1&&(this.$set(this.attr.productSelect,"cart_num",1),this.$set(this,"cart_num",1)))}},DefaultSelect:function(){var t=this.attr.productAttr,e=[];for(var i in this.productValue)if(this.productValue[i].stock>0){e=this.attr.productAttr.length?i.split(","):[];break}for(var o=0;o28?i.data.product.store_name.slice(0,28)+"...":i.data.product.store_name),e.$set(e.picData,"label",i.data.buying_count_num+"人团"),e.$set(e.picData,"price",i.data.product.price),e.$set(e.picData,"msg","市场价:¥ "+i.data.product.ot_price+" 还差 "+e.count+" 人 拼团成功"),t.posterCompenents=!0,e.setOpenShare(),e.setProductSelect(),e.DefaultSelect()})).catch((function(e){t.$util.Tips({title:e}),uni.redirectTo({success:function(){},fail:function(){uni.navigateTo({url:"/pages/index/index"})}})}))},getCombinationProductList:function(){var t=this;(0,l.getCombinationList)({page:1}).then((function(e){var i=e.data.list;t.storeCombinationHost=t.storeCombinationHost.concat(i)})).catch((function(e){t.$util.Tips({title:e})}))},setOpenShare:function(){var t={title:"您的好友"+this.pinkAll[0].nickname+"邀请您参团"+this.storeCombination.store_name,desc:this.storeCombination.store_name,link:window.location.protocol+"//"+window.location.host+"/pages/activity/combination_status/index?id="+this.pinkId,imgUrl:this.storeCombination.image};this.$wechat.isWeixin()&&this.$wechat.wechatEvevt(["updateAppMessageShareData","updateTimelineShareData","onMenuShareAppMessage","onMenuShareTimeline"],t).then((function(t){})).catch((function(e){e.is_ready&&(e.wx.updateAppMessageShareData(t),e.wx.updateTimelineShareData(t),e.wx.onMenuShareAppMessage(t),e.wx.onMenuShareTimeline(t))}))},getCombinationRemove:function(){var t=this;uni.showModal({title:"提示",content:"确定取消拼团?",success:function(e){if(e.confirm)(0,l.postCombinationRemove)({group_buying_id:t.pinkId}).then((function(e){t.$util.Tips({title:e.message},{tab:3})})).catch((function(e){t.$util.Tips({title:e.message})}));else if(e.cancel)return t.$util.Tips({title:"已取消"})}})},lookAll:function(){this.iShidden=!this.iShidden}}});e.default=g},f1fc:function(t,e,i){"use strict";i.r(e);var o=i("ce37"),n=i("0c43");for(var a in n)["default"].indexOf(a)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(a);i("32e10");var s=i("828b"),r=Object(s["a"])(n["default"],o["b"],o["c"],!1,null,"1c694dc6",null,!1,o["a"],void 0);e["default"]=r.exports}}]);