chunk-28249a0d.0a3651b5.js.map 64 KB

1
  1. {"version":3,"sources":["webpack:///./node_modules/_core-js@2.6.11@core-js/modules/es6.string.iterator.js","webpack:///./src/components/CountDown.vue?bc47","webpack:///src/components/CountDown.vue","webpack:///./src/components/CountDown.vue?4b22","webpack:///./src/components/CountDown.vue","webpack:///./src/views/activity/GroupDetails.vue?d906","webpack:///src/views/activity/GroupDetails.vue","webpack:///./src/views/activity/GroupDetails.vue?29cf","webpack:///./src/views/activity/GroupDetails.vue","webpack:///./src/views/activity/GroupDetails.vue?cf7d","webpack:///./src/api/activity.js","webpack:///./node_modules/_core-js@2.6.11@core-js/modules/es6.array.from.js"],"names":["$at","String","iterated","this","_t","_i","point","O","index","length","value","undefined","done","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","tipText","isDay","day","_e","dayText","hour","hourText","minute","minuteText","second","secondText","staticRenderFns","name","props","type","default","datatime","Number","Boolean","data","created","show_time","mounted","methods","runTime","intDiff","that","Math","floor","setInterval","component","directives","rawName","expression","class","posterImageStatus","nativeOn","$event","onScroll","ref","style","opacity","_l","item","key","navActive","on","asideTap","attrs","imgUrls","domProps","storeInfo","price","product_price","setPosterImageStatus","title","people","total","quota_show","attr","productAttr","selecAttrTap","attrTxt","attrValue","sales","unit_name","swiperTip","groupListCount","avatar","nickname","count","stop_time","groupRule","id","groupList","setGroupListCount","_m","replyCount","goReply","replyChance","reply","description","staticStyle","$router","push","path","setCollect","userCollect","productSelect","quota","product_stock","openAlone","openTeam","changeFun","posterData","components","ProductConSwiper","CountDown","UserEvaluation","swiper","swiperSlide","ProductWindow","StorePoster","domStatus","image","code","itemNew","direction","autoplay","disableOnInteraction","delay","loop","speed","observer","observeParents","cartAttr","store_name","unique","cart_num","isOpen","productValue","navList","lock","storeSelfMention","storeItems","activity","watch","$route","n","NAME","mountedStart","document","addEventListener","window","handleScroll","DefaultSelect","split","$set","i","sort","join","updateTitle","meta","setShare","getImageBase64","res","sTop","body","documentElement","scrollTop","product_id","action","changeattr","ChangeAttr","ChangeCartNum","num","setProductSelect","productId","cartNum","uniqueId","combinationId","new","$nextTick","scrollBy","titles","querySelector","reduce","initial","scrollY","headerHeight","offsetTop","offsetHeight","beforeDestroy","removeEventListener","getCombinationList","request","get","login","getCombinationDetail","getCombinationPink","getCombinationRemove","post","getCombinationPoster","getSeckillConfig","getSeckillList","time","getSeckillDetail","getBargainList","getBargainDetail","getBargainShare","getBargainStart","getBargainHelp","getBargainHelpPrice","getBargainHelpCount","getBargainStartUser","getBargainHelpList","getBargainPoster","getBargainUserList","getBargainUserCancel","ctx","$export","toObject","call","isArrayIter","toLength","createProperty","getIterFn","S","F","iter","Array","from","arrayLike","result","step","iterator","C","aLen","arguments","mapfn","mapping","iterFn","next"],"mappings":"kHACA,IAAIA,EAAM,EAAQ,OAAR,EAAwB,GAGlC,EAAQ,OAAR,CAA0BC,OAAQ,UAAU,SAAUC,GACpDC,KAAKC,GAAKH,OAAOC,GACjBC,KAAKE,GAAK,KAET,WACD,IAEIC,EAFAC,EAAIJ,KAAKC,GACTI,EAAQL,KAAKE,GAEjB,OAAIG,GAASD,EAAEE,OAAe,CAAEC,WAAOC,EAAWC,MAAM,IACxDN,EAAQN,EAAIO,EAAGC,GACfL,KAAKE,IAAMC,EAAMG,OACV,CAAEC,MAAOJ,EAAOM,MAAM,Q,kCCf/B,IAAIC,EAAS,WAAa,IAAIC,EAAIX,KAASY,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACL,EAAIM,GAAG,OAAON,EAAIO,GAAGP,EAAIQ,WAAyB,IAAdR,EAAIS,MAAgBN,EAAG,OAAO,CAACE,YAAY,YAAY,CAACL,EAAIM,GAAGN,EAAIO,GAAGP,EAAIU,QAAQV,EAAIW,KAAKR,EAAG,OAAO,CAACE,YAAY,WAAW,CAACL,EAAIM,GAAGN,EAAIO,GAAGP,EAAIY,YAAYT,EAAG,OAAO,CA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AAIoL,EAAM,EAAQ,QACdC,EAAU,EAAQ,QAClBC,EAAW,EAAQ,QACnBC,EAAO,EAAQ,QACfC,EAAc,EAAQ,QACtBC,EAAW,EAAQ,QACnBC,EAAiB,EAAQ,QACzBC,EAAY,EAAQ,QAExBN,EAAQA,EAAQO,EAAIP,EAAQQ,GAAK,EAAQ,OAAR,EAA0B,SAAUC,GAAQC,MAAMC,KAAKF,MAAW,QAAS,CAE1GE,KAAM,SAAcC,GAClB,IAOIjO,EAAQkO,EAAQC,EAAMC,EAPtBtO,EAAIwN,EAASW,GACbI,EAAmB,mBAAR3O,KAAqBA,KAAOqO,MACvCO,EAAOC,UAAUvO,OACjBwO,EAAQF,EAAO,EAAIC,UAAU,QAAKrO,EAClCuO,OAAoBvO,IAAVsO,EACVzO,EAAQ,EACR2O,EAASf,EAAU7N,GAIvB,GAFI2O,IAASD,EAAQpB,EAAIoB,EAAOF,EAAO,EAAIC,UAAU,QAAKrO,EAAW,SAEvDA,GAAVwO,GAAyBL,GAAKN,OAASP,EAAYkB,GAMrD,IADA1O,EAASyN,EAAS3N,EAAEE,QACfkO,EAAS,IAAIG,EAAErO,GAASA,EAASD,EAAOA,IAC3C2N,EAAeQ,EAAQnO,EAAO0O,EAAUD,EAAM1O,EAAEC,GAAQA,GAASD,EAAEC,SANrE,IAAKqO,EAAWM,EAAOnB,KAAKzN,GAAIoO,EAAS,IAAIG,IAAOF,EAAOC,EAASO,QAAQxO,KAAMJ,IAChF2N,EAAeQ,EAAQnO,EAAO0O,EAAUlB,EAAKa,EAAUI,EAAO,CAACL,EAAKlO,MAAOF,IAAQ,GAAQoO,EAAKlO,OASpG,OADAiO,EAAOlO,OAASD,EACTmO","file":"h5/js/chunk-28249a0d.0a3651b5.js","sourcesContent":["'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function (iterated) {\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n var O = this._t;\n var index = this._i;\n var point;\n if (index >= O.length) return { value: undefined, done: true };\n point = $at(O, index);\n this._i += point.length;\n return { value: point, done: false };\n});\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"time\"},[_vm._v(\"\\n \"+_vm._s(_vm.tipText)),(_vm.isDay === true)?_c('span',{staticClass:\"styleAll\"},[_vm._v(_vm._s(_vm.day))]):_vm._e(),_c('span',{staticClass:\"timeTxt\"},[_vm._v(_vm._s(_vm.dayText))]),_c('span',{staticClass:\"styleAll\"},[_vm._v(_vm._s(_vm.hour))]),_c('span',{staticClass:\"timeTxt\"},[_vm._v(_vm._s(_vm.hourText))]),_c('span',{staticClass:\"styleAll\"},[_vm._v(_vm._s(_vm.minute))]),_c('span',{staticClass:\"timeTxt\"},[_vm._v(_vm._s(_vm.minuteText))]),_c('span',{staticClass:\"styleAll\"},[_vm._v(_vm._s(_vm.second))]),_c('span',{staticClass:\"timeTxt\"},[_vm._v(_vm._s(_vm.secondText))])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"time\">\r\n {{ tipText }}<span class=\"styleAll\" v-if=\"isDay === true\">{{ day }}</span\r\n ><span class=\"timeTxt\">{{ dayText }}</span\r\n ><span class=\"styleAll\">{{ hour }}</span\r\n ><span class=\"timeTxt\">{{ hourText }}</span\r\n ><span class=\"styleAll\">{{ minute }}</span\r\n ><span class=\"timeTxt\">{{ minuteText }}</span\r\n ><span class=\"styleAll\">{{ second }}</span\r\n ><span class=\"timeTxt\">{{ secondText }}</span>\r\n </div>\r\n</template>\r\n<script>\r\nexport default {\r\n name: \"CountDown\",\r\n props: {\r\n //距离开始提示文字\r\n tipText: {\r\n type: String,\r\n default: \"倒计时\"\r\n },\r\n dayText: {\r\n type: String,\r\n default: \"天\"\r\n },\r\n hourText: {\r\n type: String,\r\n default: \"时\"\r\n },\r\n minuteText: {\r\n type: String,\r\n default: \"分\"\r\n },\r\n secondText: {\r\n type: String,\r\n default: \"秒\"\r\n },\r\n datatime: {\r\n type: Number,\r\n default: 0\r\n },\r\n isDay: {\r\n type: Boolean,\r\n default: true\r\n }\r\n },\r\n data: function() {\r\n return {\r\n day: \"00\",\r\n hour: \"00\",\r\n minute: \"00\",\r\n second: \"00\"\r\n };\r\n },\r\n created: function() {\r\n this.show_time();\r\n },\r\n mounted: function() {},\r\n methods: {\r\n show_time: function() {\r\n let that = this;\r\n function runTime() {\r\n //时间函数\r\n let intDiff = that.datatime - Date.parse(new Date()) / 1000; //获取数据中的时间戳的时间差;\r\n let day = 0,\r\n hour = 0,\r\n minute = 0,\r\n second = 0;\r\n if (intDiff > 0) {\r\n //转换时间\r\n if (that.isDay === true) {\r\n day = Math.floor(intDiff / (60 * 60 * 24));\r\n } else {\r\n day = 0;\r\n }\r\n hour = Math.floor(intDiff / (60 * 60)) - day * 24;\r\n minute = Math.floor(intDiff / 60) - day * 24 * 60 - hour * 60;\r\n second =\r\n Math.floor(intDiff) -\r\n day * 24 * 60 * 60 -\r\n hour * 60 * 60 -\r\n minute * 60;\r\n if (hour <= 9) hour = \"0\" + hour;\r\n if (minute <= 9) minute = \"0\" + minute;\r\n if (second <= 9) second = \"0\" + second;\r\n that.day = day;\r\n that.hour = hour;\r\n that.minute = minute;\r\n that.second = second;\r\n } else {\r\n that.day = \"00\";\r\n that.hour = \"00\";\r\n that.minute = \"00\";\r\n that.second = \"00\";\r\n }\r\n }\r\n runTime();\r\n setInterval(runTime, 1000);\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./CountDown.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./CountDown.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CountDown.vue?vue&type=template&id=794dd60d&\"\nimport script from \"./CountDown.vue?vue&type=script&lang=js&\"\nexport * from \"./CountDown.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.domStatus),expression:\"domStatus\"}],class:[_vm.posterImageStatus ? 'noscroll product-con' : 'product-con'],nativeOn:{\"scroll\":function($event){return _vm.onScroll($event)}}},[_c('div',{ref:\"header\",staticClass:\"header acea-row row-center-wrapper\",style:('opacity:' + _vm.opacity)},_vm._l((_vm.navList),function(item,index){return _c('div',{key:index,staticClass:\"item\",class:_vm.navActive === index ? 'on' : '',on:{\"click\":function($event){return _vm.asideTap(index)}}},[_vm._v(\"\\n \"+_vm._s(item)+\"\\n \")])}),0),_c('div',{attrs:{\"id\":\"title0\"}},[_c('ProductConSwiper',{attrs:{\"imgUrls\":_vm.imgUrls}}),_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"share acea-row row-between row-bottom\"},[_c('div',{staticClass:\"money font-color-red\"},[_vm._v(\"\\n ¥\"),_c('span',{staticClass:\"num\",domProps:{\"textContent\":_vm._s(_vm.storeInfo.price)}}),_c('span',{staticClass:\"y-money\",domProps:{\"textContent\":_vm._s('¥' + _vm.storeInfo.product_price)}})]),_c('div',{staticClass:\"iconfont icon-fenxiang\",on:{\"click\":_vm.setPosterImageStatus}})]),_c('div',{staticClass:\"introduce\",domProps:{\"textContent\":_vm._s(_vm.storeInfo.title)}}),_c('div',{staticClass:\"label acea-row row-between-wrapper\"},[_c('div',{domProps:{\"textContent\":_vm._s('类型:' + _vm.storeInfo.people + '人团')}}),_c('div',[_vm._v(\"累计销量:\"+_vm._s(_vm.storeInfo.total ? _vm.storeInfo.total : 0)+\" 件\")]),_c('div',[_vm._v(\"\\n 限量: \"+_vm._s(_vm.storeInfo.quota_show ? _vm.storeInfo.quota_show : 0)+\"件\\n \")])])]),(_vm.attr.productAttr.length !== 0)?_c('div',{staticClass:\"attribute acea-row row-between-wrapper\",on:{\"click\":_vm.selecAttrTap}},[_c('div',[_vm._v(\"\\n \"+_vm._s(_vm.attrTxt)+\":\"),_c('span',{staticClass:\"atterTxt\"},[_vm._v(_vm._s(_vm.attrValue))])]),_c('div',{staticClass:\"iconfont icon-jiantou\"})]):_vm._e(),_c('div',{staticClass:\"notice acea-row row-middle\"},[_c('div',{staticClass:\"num font-color-red\"},[_c('span',{staticClass:\"iconfont icon-laba\"}),_vm._v(\"已拼\"+_vm._s(_vm.storeInfo.sales)+_vm._s(_vm.storeInfo.unit_name)),_c('span',{staticClass:\"line\"},[_vm._v(\"|\")])]),_c('div',{staticClass:\"swiper-no-swiping swiper\"},[_c('swiper',{staticClass:\"swiper-wrapper\",attrs:{\"options\":_vm.swiperTip}},_vm._l((_vm.itemNew),function(item,index){return _c('swiperSlide',{key:index,staticClass:\"swiper-slide\"},[_c('div',{staticClass:\"line1\"},[_vm._v(_vm._s(item))])])}),1)],1)]),_c('div',{staticClass:\"assemble\"},[(_vm.groupList)?_c('div',_vm._l((_vm.groupList),function(item,index){return _c('div',{key:index},[(index < _vm.groupListCount)?_c('div',{staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"pictxt acea-row row-between-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{staticClass:\"image\",attrs:{\"src\":item.avatar}})]),_c('div',{staticClass:\"text line1\",domProps:{\"textContent\":_vm._s(item.nickname)}})]),_c('div',{staticClass:\"right acea-row row-middle\"},[_c('div',[_c('div',{staticClass:\"lack\"},[_vm._v(\"\\n 还差\"),_c('span',{staticClass:\"font-color-red\",domProps:{\"textContent\":_vm._s(item.count)}}),_vm._v(\"人成团\\n \")]),_c('CountDown',{attrs:{\"is-day\":false,\"tip-text\":'剩余 ',\"day-text\":'',\"hour-text\":':',\"minute-text\":':',\"second-text\":'',\"datatime\":item.stop_time}})],1),_c('div',{staticClass:\"spellBnt\",on:{\"click\":function($event){return _vm.groupRule(item.id)}}},[_vm._v(\"\\n 去拼单\"),_c('span',{staticClass:\"iconfont icon-jiantou\"})])])]):_vm._e()])}),0):_vm._e(),(_vm.groupList.length > _vm.groupListCount)?_c('div',{staticClass:\"more\",on:{\"click\":_vm.setGroupListCount}},[_vm._v(\"\\n 查看更多\"),_c('span',{staticClass:\"iconfont icon-xiangxia\"})]):_vm._e()]),_vm._m(0)],1),_c('div',{staticClass:\"userEvaluation\",attrs:{\"id\":\"title1\"}},[_c('div',{staticClass:\"title acea-row row-between-wrapper\"},[_c('div',{domProps:{\"textContent\":_vm._s('用户评价(' + _vm.replyCount + ')')}}),_c('div',{staticClass:\"praise\",on:{\"click\":_vm.goReply}},[_c('span',{staticClass:\"font-color-red\",domProps:{\"textContent\":_vm._s(_vm.replyChance + '%')}}),_vm._v(\"好评率\"),_c('span',{staticClass:\"iconfont icon-jiantou\"})])]),(_vm.reply.length !== 0)?_c('UserEvaluation',{attrs:{\"reply\":_vm.reply}}):_vm._e()],1),_c('div',{staticClass:\"product-intro\",attrs:{\"id\":\"title2\"}},[_c('div',{staticClass:\"title\"},[_vm._v(\"产品介绍\")]),_c('div',{staticClass:\"conter\",domProps:{\"innerHTML\":_vm._s(_vm.storeInfo.description)}})]),_c('div',{staticStyle:{\"height\":\"1.2rem\"}}),_c('div',{staticClass:\"footer-group product-con acea-row row-between-wrapper\"},[_c('div',{staticClass:\"customerSer acea-row row-center-wrapper row-column\",on:{\"click\":function($event){return _vm.$router.push({ path: '/customer/list' })}}},[_c('div',{staticClass:\"iconfont icon-kefu\"}),_c('div',[_vm._v(\"客服\")])]),_c('div',{staticClass:\"item acea-row row-center-wrapper row-column\",on:{\"click\":_vm.setCollect}},[_c('div',{staticClass:\"iconfont\",class:_vm.storeInfo.userCollect ? 'icon-shoucang1' : 'icon-shoucang'}),_c('div',[_vm._v(\"收藏\")])]),(\n _vm.attr.productSelect.quota > 0 && _vm.attr.productSelect.product_stock > 0\n )?_c('div',{staticClass:\"bnt acea-row\"},[_c('div',{staticClass:\"joinCart\",on:{\"click\":_vm.openAlone}},[_vm._v(\"单独购买\")]),_c('div',{staticClass:\"buy\",on:{\"click\":_vm.openTeam}},[_vm._v(\"立即开团\")])]):_vm._e(),(\n _vm.attr.productSelect.quota <= 0 || _vm.attr.productSelect.product_stock <= 0\n )?_c('div',{staticClass:\"bnt acea-row\"},[_c('div',{staticClass:\"joinCart\",on:{\"click\":_vm.openAlone}},[_vm._v(\"单独购买\")]),_c('div',{staticClass:\"buy bg-color-hui\"},[_vm._v(\"已售罄\")])]):_vm._e()]),_c('ProductWindow',{attrs:{\"attr\":_vm.attr},on:{\"changeFun\":_vm.changeFun}}),_c('StorePoster',{attrs:{\"posterImageStatus\":_vm.posterImageStatus,\"posterData\":_vm.posterData},on:{\"setPosterImageStatus\":_vm.setPosterImageStatus}})],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"playWay\"},[_c('div',{staticClass:\"title acea-row row-between-wrapper\"},[_c('div',[_vm._v(\"拼团玩法\")])]),_c('div',{staticClass:\"way acea-row row-middle\"},[_c('div',{staticClass:\"item way_font\"},[_c('span',{staticClass:\"num\"},[_vm._v(\"①\")]),_vm._v(\"开团/参团\")]),_c('div',{staticClass:\"iconfont icon-arrow\"}),_c('div',{staticClass:\"item way_font\"},[_c('span',{staticClass:\"num\"},[_vm._v(\"②\")]),_vm._v(\"邀请好友\")]),_c('div',{staticClass:\"iconfont icon-arrow\"}),_c('div',{staticClass:\"item way_font\"},[_c('div',[_c('span',{staticClass:\"num\"},[_vm._v(\"③\")]),_vm._v(\"满员发货\")])])])])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div\r\n :class=\"[posterImageStatus ? 'noscroll product-con' : 'product-con']\"\r\n v-show=\"domStatus\"\r\n @scroll.native=\"onScroll\"\r\n >\r\n <div\r\n class=\"header acea-row row-center-wrapper\"\r\n :style=\"'opacity:' + opacity\"\r\n ref=\"header\"\r\n >\r\n <div\r\n class=\"item\"\r\n :class=\"navActive === index ? 'on' : ''\"\r\n v-for=\"(item, index) in navList\"\r\n :key=\"index\"\r\n @click=\"asideTap(index)\"\r\n >\r\n {{ item }}\r\n </div>\r\n </div>\r\n <div id=\"title0\">\r\n <ProductConSwiper :imgUrls=\"imgUrls\"></ProductConSwiper>\r\n <div class=\"wrapper\">\r\n <div class=\"share acea-row row-between row-bottom\">\r\n <div class=\"money font-color-red\">\r\n ¥<span class=\"num\" v-text=\"storeInfo.price\"></span\r\n ><span\r\n class=\"y-money\"\r\n v-text=\"'¥' + storeInfo.product_price\"\r\n ></span>\r\n </div>\r\n <div\r\n class=\"iconfont icon-fenxiang\"\r\n @click=\"setPosterImageStatus\"\r\n ></div>\r\n </div>\r\n <div class=\"introduce\" v-text=\"storeInfo.title\"></div>\r\n <div class=\"label acea-row row-between-wrapper\">\r\n <div v-text=\"'类型:' + storeInfo.people + '人团'\"></div>\r\n <div>累计销量:{{ storeInfo.total ? storeInfo.total : 0 }} 件</div>\r\n <div>\r\n 限量: {{ storeInfo.quota_show ? storeInfo.quota_show : 0 }}件\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"attribute acea-row row-between-wrapper\"\r\n @click=\"selecAttrTap\"\r\n v-if=\"attr.productAttr.length !== 0\"\r\n >\r\n <div>\r\n {{ attrTxt }}:<span class=\"atterTxt\">{{ attrValue }}</span>\r\n </div>\r\n <div class=\"iconfont icon-jiantou\"></div>\r\n </div>\r\n <div class=\"notice acea-row row-middle\">\r\n <div class=\"num font-color-red\">\r\n <span class=\"iconfont icon-laba\"></span>已拼{{ storeInfo.sales\r\n }}{{ storeInfo.unit_name }}<span class=\"line\">|</span>\r\n </div>\r\n <div class=\"swiper-no-swiping swiper\">\r\n <swiper class=\"swiper-wrapper\" :options=\"swiperTip\">\r\n <swiperSlide\r\n class=\"swiper-slide\"\r\n v-for=\"(item, index) in itemNew\"\r\n :key=\"index\"\r\n >\r\n <div class=\"line1\">{{ item }}</div>\r\n </swiperSlide>\r\n </swiper>\r\n </div>\r\n </div>\r\n <div class=\"assemble\">\r\n <div v-if=\"groupList\">\r\n <div v-for=\"(item, index) in groupList\" :key=\"index\">\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-if=\"index < groupListCount\"\r\n >\r\n <div class=\"pictxt acea-row row-between-wrapper\">\r\n <div class=\"pictrue\">\r\n <img :src=\"item.avatar\" class=\"image\" />\r\n </div>\r\n <div class=\"text line1\" v-text=\"item.nickname\"></div>\r\n </div>\r\n <div class=\"right acea-row row-middle\">\r\n <div>\r\n <div class=\"lack\">\r\n 还差<span class=\"font-color-red\" v-text=\"item.count\"></span\r\n >人成团\r\n </div>\r\n <CountDown\r\n :is-day=\"false\"\r\n :tip-text=\"'剩余 '\"\r\n :day-text=\"''\"\r\n :hour-text=\"':'\"\r\n :minute-text=\"':'\"\r\n :second-text=\"''\"\r\n :datatime=\"item.stop_time\"\r\n ></CountDown>\r\n </div>\r\n <div class=\"spellBnt\" @click=\"groupRule(item.id)\">\r\n 去拼单<span class=\"iconfont icon-jiantou\"></span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"more\"\r\n v-if=\"groupList.length > groupListCount\"\r\n @click=\"setGroupListCount\"\r\n >\r\n 查看更多<span class=\"iconfont icon-xiangxia\"></span>\r\n </div>\r\n </div>\r\n <div class=\"playWay\">\r\n <div class=\"title acea-row row-between-wrapper\">\r\n <div>拼团玩法</div>\r\n </div>\r\n <div class=\"way acea-row row-middle\">\r\n <div class=\"item way_font\"><span class=\"num\">①</span>开团/参团</div>\r\n <div class=\"iconfont icon-arrow\"></div>\r\n <div class=\"item way_font\"><span class=\"num\">②</span>邀请好友</div>\r\n <div class=\"iconfont icon-arrow\"></div>\r\n <div class=\"item way_font\">\r\n <div><span class=\"num\">③</span>满员发货</div>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"userEvaluation\" id=\"title1\">\r\n <div class=\"title acea-row row-between-wrapper\">\r\n <div v-text=\"'用户评价(' + replyCount + ')'\"></div>\r\n <div class=\"praise\" @click=\"goReply\">\r\n <span class=\"font-color-red\" v-text=\"replyChance + '%'\"></span\r\n >好评率<span class=\"iconfont icon-jiantou\"></span>\r\n </div>\r\n </div>\r\n <UserEvaluation :reply=\"reply\" v-if=\"reply.length !== 0\"></UserEvaluation>\r\n </div>\r\n <div class=\"product-intro\" id=\"title2\">\r\n <div class=\"title\">产品介绍</div>\r\n <div class=\"conter\" v-html=\"storeInfo.description\"></div>\r\n </div>\r\n <div style=\"height:1.2rem;\"></div>\r\n <div class=\"footer-group product-con acea-row row-between-wrapper\">\r\n <div\r\n class=\"customerSer acea-row row-center-wrapper row-column\"\r\n @click=\"$router.push({ path: '/customer/list' })\"\r\n >\r\n <div class=\"iconfont icon-kefu\"></div>\r\n <div>客服</div>\r\n </div>\r\n <div\r\n class=\"item acea-row row-center-wrapper row-column\"\r\n @click=\"setCollect\"\r\n >\r\n <div\r\n class=\"iconfont\"\r\n :class=\"storeInfo.userCollect ? 'icon-shoucang1' : 'icon-shoucang'\"\r\n ></div>\r\n <div>收藏</div>\r\n </div>\r\n <div\r\n class=\"bnt acea-row\"\r\n v-if=\"\r\n attr.productSelect.quota > 0 && attr.productSelect.product_stock > 0\r\n \"\r\n >\r\n <div class=\"joinCart\" @click=\"openAlone\">单独购买</div>\r\n <div class=\"buy\" @click=\"openTeam\">立即开团</div>\r\n </div>\r\n <div\r\n class=\"bnt acea-row\"\r\n v-if=\"\r\n attr.productSelect.quota <= 0 || attr.productSelect.product_stock <= 0\r\n \"\r\n >\r\n <div class=\"joinCart\" @click=\"openAlone\">单独购买</div>\r\n <div class=\"buy bg-color-hui\">已售罄</div>\r\n </div>\r\n </div>\r\n <ProductWindow v-on:changeFun=\"changeFun\" :attr=\"attr\"></ProductWindow>\r\n <StorePoster\r\n v-on:setPosterImageStatus=\"setPosterImageStatus\"\r\n :posterImageStatus=\"posterImageStatus\"\r\n :posterData=\"posterData\"\r\n ></StorePoster>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport { swiper, swiperSlide } from \"vue-awesome-swiper\";\r\nimport \"@assets/css/swiper.min.css\";\r\nimport ProductConSwiper from \"@components/ProductConSwiper\";\r\nimport CountDown from \"@components/CountDown\";\r\nimport UserEvaluation from \"@components/UserEvaluation\";\r\nimport ProductWindow from \"@components/ProductWindow\";\r\nimport StorePoster from \"@components/StorePoster\";\r\nimport { getCombinationDetail } from \"@api/activity\";\r\nimport { postCartAdd } from \"@api/store\";\r\nimport { imageBase64 } from \"@api/public\";\r\nimport { isWeixin } from \"@utils/index\";\r\nimport { openShareAll } from \"@libs/wechat\";\r\nimport { getCollectAdd, getCollectDel } from \"@api/user\";\r\nimport debounce from \"lodash.debounce\";\r\nconst NAME = \"GroupDetails\";\r\n\r\nexport default {\r\n name: \"GroupDetails\",\r\n components: {\r\n ProductConSwiper,\r\n CountDown,\r\n UserEvaluation,\r\n swiper,\r\n swiperSlide,\r\n ProductWindow,\r\n StorePoster\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n domStatus: false,\r\n posterData: {\r\n image: \"\",\r\n title: \"\",\r\n price: \"\",\r\n code: \"\"\r\n },\r\n posterImageStatus: false,\r\n reply: [],\r\n replyCount: 0,\r\n replyChance: 0,\r\n imgUrls: [],\r\n storeInfo: {},\r\n itemNew: {},\r\n groupListCount: 2,\r\n groupList: {},\r\n swiperTip: {\r\n direction: \"vertical\",\r\n autoplay: {\r\n disableOnInteraction: false,\r\n delay: 2000\r\n },\r\n loop: true,\r\n speed: 1000,\r\n observer: true,\r\n observeParents: true\r\n },\r\n attr: {\r\n cartAttr: false,\r\n productSelect: {\r\n image: \"\",\r\n store_name: \"\",\r\n price: \"\",\r\n quota: 0,\r\n quota_show: 0,\r\n unique: \"\",\r\n cart_num: 1,\r\n product_stock: 0\r\n },\r\n productAttr: []\r\n },\r\n attrTxt: \"请选择\",\r\n isOpen: false, //是否打开属性组件\r\n attrValue: \"\",\r\n productValue: [],\r\n navList: [],\r\n lock: false,\r\n navActive: 0,\r\n opacity: 0,\r\n storeSelfMention: true,\r\n storeItems: {},\r\n activity: []\r\n };\r\n },\r\n watch: {\r\n $route: function(n) {\r\n var that = this;\r\n if (n.name === NAME) {\r\n that.mountedStart();\r\n }\r\n }\r\n },\r\n mounted: function() {\r\n document.addEventListener(\"scroll\", this.onScroll, false);\r\n window.addEventListener(\"scroll\", this.handleScroll);\r\n this.mountedStart();\r\n },\r\n methods: {\r\n //收藏商品\r\n setCollect: function() {\r\n let that = this,\r\n id = that.storeInfo.product_id,\r\n category = \"product\";\r\n if (that.storeInfo.userCollect) {\r\n getCollectDel(id, category).then(function() {\r\n that.storeInfo.userCollect = !that.storeInfo.userCollect;\r\n });\r\n } else {\r\n getCollectAdd(id, category).then(function() {\r\n that.storeInfo.userCollect = !that.storeInfo.userCollect;\r\n });\r\n }\r\n },\r\n //打开属性插件;\r\n selecAttrTap: function() {\r\n this.attr.cartAttr = true;\r\n this.isOpen = true;\r\n },\r\n openAlone: function() {\r\n this.$router.push({ path: \"/detail/\" + this.storeInfo.product_id });\r\n },\r\n //商品详情;\r\n mountedStart: function() {\r\n var that = this;\r\n let id = that.$route.params.id;\r\n getCombinationDetail(id)\r\n .then(res => {\r\n that.$set(that, \"storeInfo\", res.data.storeInfo);\r\n that.$set(that, \"imgUrls\", res.data.storeInfo.images);\r\n that.$set(that, \"itemNew\", res.data.pink_ok_list);\r\n that.$set(that, \"groupList\", res.data.pink);\r\n if (res.data.reply)\r\n that.$set(that, \"reply\", Array.from(res.data.reply) || []);\r\n that.$set(that, \"replyCount\", res.data.replyCount);\r\n that.$set(that, \"replyChance\", res.data.replyChance);\r\n that.setProductSelect();\r\n that.posterData.image = that.storeInfo.image_base;\r\n if (that.storeInfo.title.length > 30) {\r\n that.posterData.title =\r\n that.storeInfo.title.substring(0, 30) + \"...\";\r\n } else {\r\n that.posterData.title = that.storeInfo.title;\r\n }\r\n that.posterData.price = that.storeInfo.price;\r\n that.posterData.code = that.storeInfo.code_base;\r\n that.attr.productAttr = res.data.productAttr;\r\n that.productValue = res.data.productValue;\r\n that.domStatus = true;\r\n let navList = [\"商品\", \"评价\", \"详情\"];\r\n that.navList = navList;\r\n that.getImageBase64();\r\n that.setShare();\r\n that.updateTitle();\r\n if (that.attr.productAttr != 0) that.DefaultSelect();\r\n })\r\n .catch(err => {\r\n that.$dialog.error(err.msg);\r\n that.$router.go(-1);\r\n });\r\n },\r\n //默认选中属性;\r\n DefaultSelect: function() {\r\n let productAttr = this.attr.productAttr,\r\n value = [];\r\n for (var key in this.productValue) {\r\n if (this.productValue[key].quota > 0) {\r\n value = this.attr.productAttr.length ? key.split(\",\") : [];\r\n break;\r\n }\r\n }\r\n for (let i = 0; i < productAttr.length; i++) {\r\n this.$set(productAttr[i], \"index\", value[i]);\r\n }\r\n //sort();排序函数:数字-英文-汉字;\r\n let productSelect = this.productValue[value.sort().join(\",\")];\r\n if (productSelect && productAttr.length) {\r\n this.$set(this.attr.productSelect, \"store_name\", this.storeInfo.title);\r\n this.$set(this.attr.productSelect, \"image\", productSelect.image);\r\n this.$set(this.attr.productSelect, \"price\", productSelect.price);\r\n this.$set(this.attr.productSelect, \"quota\", productSelect.quota);\r\n this.$set(this.attr.productSelect, \"unique\", productSelect.unique);\r\n this.$set(this.attr.productSelect, \"cart_num\", 1);\r\n this.$set(\r\n this.attr.productSelect,\r\n \"product_stock\",\r\n productSelect.product_stock\r\n );\r\n this.$set(\r\n this.attr.productSelect,\r\n \"quota_show\",\r\n productSelect.quota_show\r\n );\r\n this.$set(this, \"attrValue\", value.sort().join(\",\"));\r\n this.$set(this, \"attrTxt\", \"已选择\");\r\n } else if (!productSelect && productAttr.length) {\r\n this.$set(this.attr.productSelect, \"store_name\", this.storeInfo.title);\r\n this.$set(this.attr.productSelect, \"image\", this.storeInfo.image);\r\n this.$set(this.attr.productSelect, \"price\", this.storeInfo.price);\r\n this.$set(this.attr.productSelect, \"quota\", 0);\r\n this.$set(this.attr.productSelect, \"unique\", \"\");\r\n this.$set(this.attr.productSelect, \"cart_num\", 0);\r\n this.$set(this.attr.productSelect, \"quota_show\", 0);\r\n this.$set(this.attr.productSelect, \"product_stock\", 0);\r\n this.$set(this, \"attrValue\", \"\");\r\n this.$set(this, \"attrTxt\", \"请选择\");\r\n } else if (!productSelect && !productAttr.length) {\r\n this.$set(this.attr.productSelect, \"store_name\", this.storeInfo.title);\r\n this.$set(this.attr.productSelect, \"image\", this.storeInfo.image);\r\n this.$set(this.attr.productSelect, \"price\", this.storeInfo.price);\r\n this.$set(this.attr.productSelect, \"quota\", 0);\r\n this.$set(this.attr.productSelect, \"quota_show\", 0);\r\n this.$set(this.attr.productSelect, \"product_stock\", 0);\r\n this.$set(\r\n this.attr.productSelect,\r\n \"unique\",\r\n this.storeInfo.unique || \"\"\r\n );\r\n this.$set(this.attr.productSelect, \"cart_num\", 1);\r\n this.$set(this, \"attrValue\", \"\");\r\n this.$set(this, \"attrTxt\", \"请选择\");\r\n }\r\n },\r\n updateTitle() {\r\n document.title = this.storeInfo.title || this.$route.meta.title;\r\n },\r\n setShare: function() {\r\n isWeixin() &&\r\n openShareAll({\r\n desc: this.storeInfo.info,\r\n title: this.storeInfo.title,\r\n link: location.href,\r\n imgUrl: this.storeInfo.image\r\n });\r\n },\r\n getImageBase64: function() {\r\n let that = this;\r\n imageBase64(this.posterData.image, that.posterData.code).then(res => {\r\n that.posterData.image = res.data.image;\r\n that.posterData.code = res.data.code;\r\n });\r\n },\r\n setPosterImageStatus: function() {\r\n var sTop = document.body || document.documentElement;\r\n sTop.scrollTop = 0;\r\n this.posterImageStatus = !this.posterImageStatus;\r\n },\r\n groupRule: function(id) {\r\n var that = this;\r\n that.$router.push({\r\n path: \"/activity/group_rule/\" + id\r\n });\r\n },\r\n goReply: function() {\r\n var that = this;\r\n that.$router.push({\r\n path: \"/evaluate_list/\" + that.storeInfo.product_id\r\n });\r\n },\r\n setGroupListCount: function() {\r\n this.groupListCount = this.groupListCount + 2;\r\n },\r\n //将父级向子集多次传送的函数合二为一;\r\n changeFun: function(opt) {\r\n if (typeof opt !== \"object\") opt = {};\r\n let action = opt.action || \"\";\r\n let value = opt.value === undefined ? \"\" : opt.value;\r\n this[action] && this[action](value);\r\n },\r\n changeattr: function(res) {\r\n var that = this;\r\n that.attr.cartAttr = res;\r\n },\r\n //选择属性;\r\n ChangeAttr: function(res) {\r\n let productSelect = this.productValue[res];\r\n if (productSelect) {\r\n this.$set(this.attr.productSelect, \"image\", productSelect.image);\r\n this.$set(this.attr.productSelect, \"price\", productSelect.price);\r\n this.$set(this.attr.productSelect, \"quota\", productSelect.quota);\r\n this.$set(this.attr.productSelect, \"unique\", productSelect.unique);\r\n this.$set(this.attr.productSelect, \"cart_num\", 1);\r\n this.$set(\r\n this.attr.productSelect,\r\n \"product_stock\",\r\n productSelect.product_stock\r\n );\r\n this.$set(\r\n this.attr.productSelect,\r\n \"quota_show\",\r\n productSelect.quota_show\r\n );\r\n this.$set(this, \"attrValue\", res);\r\n this.$set(this, \"attrTxt\", \"已选择\");\r\n } else {\r\n this.$set(this.attr.productSelect, \"image\", this.storeInfo.image);\r\n this.$set(this.attr.productSelect, \"price\", this.storeInfo.price);\r\n this.$set(this.attr.productSelect, \"quota\", 0);\r\n this.$set(this.attr.productSelect, \"unique\", \"\");\r\n this.$set(this.attr.productSelect, \"cart_num\", 0);\r\n this.$set(this.attr.productSelect, \"quota_show\", 0);\r\n this.$set(this.attr.productSelect, \"product_stock\", 0);\r\n this.$set(this, \"attrValue\", \"\");\r\n this.$set(this, \"attrTxt\", \"请选择\");\r\n }\r\n },\r\n // ChangeCartNum: function(res) {\r\n // console.log(res);\r\n // var that = this;\r\n // that.attr.productSelect.cart_num = 1;\r\n // that.$dialog.message(\"每人每次限购1\" + that.storeInfo.unit_name);\r\n // },\r\n //购物车;\r\n ChangeCartNum: function(res) {\r\n //changeValue:是否 加|减\r\n //获取当前变动属性\r\n let productSelect = this.productValue[this.attrValue];\r\n //如果没有属性,赋值给商品默认库存\r\n if (productSelect === undefined && !this.attr.productAttr.length)\r\n productSelect = this.attr.productSelect;\r\n if (productSelect === undefined) return;\r\n let quota = productSelect.quota || 0;\r\n let num = this.attr.productSelect;\r\n if (res) {\r\n num.cart_num++;\r\n if (num.cart_num > quota) {\r\n this.$set(this.attr.productSelect, \"cart_num\", quota);\r\n this.$set(this, \"cart_num\", quota);\r\n }\r\n } else {\r\n num.cart_num--;\r\n if (num.cart_num < 1) {\r\n this.$set(this.attr.productSelect, \"cart_num\", 1);\r\n this.$set(this, \"cart_num\", 1);\r\n }\r\n }\r\n },\r\n setProductSelect: function() {\r\n var that = this;\r\n var attr = that.attr;\r\n attr.productSelect.image = that.storeInfo.image;\r\n attr.productSelect.store_name = that.storeInfo.title;\r\n attr.productSelect.price = that.storeInfo.price;\r\n attr.productSelect.quota = 0;\r\n attr.productSelect.quota_show = 0;\r\n attr.productSelect.product_stock = 0;\r\n attr.cartAttr = false;\r\n that.$set(that, \"attr\", attr);\r\n },\r\n openTeam: function() {\r\n var that = this;\r\n if (that.attr.cartAttr == false) {\r\n that.attr.cartAttr = !this.attr.cartAttr;\r\n } else {\r\n var data = {};\r\n data.productId = that.storeInfo.product_id;\r\n data.cartNum = that.attr.productSelect.cart_num;\r\n data.uniqueId = that.attr.productSelect.unique;\r\n data.combinationId = that.storeInfo.id;\r\n data.new = 1;\r\n postCartAdd(data)\r\n .then(res => {\r\n that.$router.push({\r\n path: \"/order/submit/\" + res.data.cartId\r\n });\r\n })\r\n .catch(res => {\r\n this.$dialog.error(res.msg);\r\n });\r\n }\r\n },\r\n handleScroll() {\r\n let top = document.body.scrollTop || document.documentElement.scrollTop;\r\n let opacity = top / 350;\r\n opacity = opacity > 1 ? 1 : opacity;\r\n this.opacity = opacity;\r\n },\r\n asideTap(a) {\r\n this.$nextTick(() => {\r\n let index = a;\r\n this.navActive = index;\r\n let element = document.querySelector(\"#title\" + index);\r\n const top =\r\n element.offsetTop - this.$refs.header.offsetHeight - window.scrollY;\r\n this.lock = true;\r\n window.scrollBy({ top, left: 0, behavior: \"smooth\" });\r\n });\r\n },\r\n onScroll: debounce(function() {\r\n if (this.lock) {\r\n this.lock = false;\r\n return;\r\n }\r\n const headerHeight = this.$refs.header.offsetHeight,\r\n { scrollY } = window,\r\n titles = [];\r\n titles.push(document.querySelector(\"#title0\"));\r\n titles.push(document.querySelector(\"#title1\"));\r\n titles.push(document.querySelector(\"#title2\"));\r\n titles.reduce((initial, title, index) => {\r\n if (\r\n !document.querySelector(\"#title0\") &&\r\n !document.querySelector(\"#title1\") &&\r\n !document.querySelector(\"#title2\")\r\n ) {\r\n return;\r\n }\r\n if (initial) return initial;\r\n if (scrollY + headerHeight < title.offsetTop + title.offsetHeight) {\r\n initial = true;\r\n this.navActive = index;\r\n }\r\n return initial;\r\n }, false);\r\n this.lock = true;\r\n }, 500)\r\n },\r\n beforeDestroy: function() {\r\n document.removeEventListener(\"scroll\", this.onScroll, false);\r\n window.removeEventListener(\"scroll\", this.handleScroll);\r\n }\r\n};\r\n</script>\r\n<style scoped>\r\n.product-con .header {\r\n position: fixed;\r\n left: 0;\r\n top: 0;\r\n width: 100%;\r\n height: 0.96rem;\r\n font-size: 0.3rem !important;\r\n color: #050505;\r\n background-color: #fff;\r\n z-index: 11;\r\n border-bottom: 0.01rem solid #eee;\r\n}\r\n.product-con .header .item {\r\n position: relative;\r\n margin: 0 0.35rem;\r\n font-size: 0.3rem !important;\r\n}\r\n.product-con .header .item.on:before {\r\n position: absolute;\r\n width: 0.6rem;\r\n height: 0.05rem;\r\n background-repeat: no-repeat;\r\n content: \"\";\r\n background: linear-gradient(to left, #ff3366 0%, #ff6533 100%);\r\n background: -webkit-linear-gradient(to left, #ff3366 0%, #ff6533 100%);\r\n background: -moz-linear-gradient(to left, #ff3366 0%, #ff6533 100%);\r\n bottom: -0.1rem;\r\n}\r\n.way_font {\r\n font-size: 0.28rem !important;\r\n}\r\n.mr20 {\r\n margin-right: 20%;\r\n}\r\n.noscroll {\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.item {\r\n font-size: 0.2rem;\r\n color: #666;\r\n text-align: center;\r\n}\r\n.product-con .footer-group .bnt.bg-color-violet {\r\n background-color: #fa8013;\r\n}\r\n.product-con .wrapper {\r\n padding-bottom: 0.26rem;\r\n}\r\n.product-con .bnt {\r\n width: 77% !important;\r\n}\r\n.product-con .bnt > div {\r\n width: 50% !important;\r\n}\r\n.icon-shoucang1 {\r\n color: #e93323;\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./GroupDetails.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/_thread-loader@2.1.3@thread-loader/dist/cjs.js!../../../node_modules/_babel-loader@8.0.6@babel-loader/lib/index.js!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./GroupDetails.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GroupDetails.vue?vue&type=template&id=a09320ce&scoped=true&\"\nimport script from \"./GroupDetails.vue?vue&type=script&lang=js&\"\nexport * from \"./GroupDetails.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GroupDetails.vue?vue&type=style&index=0&id=a09320ce&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"a09320ce\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./GroupDetails.vue?vue&type=style&index=0&id=a09320ce&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/_mini-css-extract-plugin@0.8.2@mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/_css-loader@1.0.1@css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/_postcss-loader@3.0.0@postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/_vue-loader@15.9.0@vue-loader/lib/index.js??vue-loader-options!./GroupDetails.vue?vue&type=style&index=0&id=a09320ce&scoped=true&lang=css&\"","import request from \"@utils/request\";\r\n\r\n/**\r\n * 拼团列表\r\n */\r\nexport function getCombinationList(data) {\r\n return request.get(\"/combination/list\", data, { login: false });\r\n}\r\n\r\n/**\r\n * 拼团产品详情\r\n * @param {*} id\r\n */\r\nexport function getCombinationDetail(id) {\r\n return request.get(\"/combination/detail/\" + id, {}, { login: false });\r\n}\r\n\r\n/**\r\n * 拼团 开团\r\n * @param {*} id\r\n */\r\nexport function getCombinationPink(id) {\r\n return request.get(\"/combination/pink/\" + id);\r\n}\r\n\r\n/**\r\n * 拼团 取消开团\r\n */\r\nexport function getCombinationRemove(data) {\r\n return request.post(\"/combination/remove\", data);\r\n}\r\n\r\n/**\r\n * 拼团海报\r\n * @param {*} id\r\n */\r\nexport function getCombinationPoster(data) {\r\n return request.post(\"/combination/poster\", data);\r\n}\r\n\r\n/**\r\n * 秒杀列表配置\r\n */\r\nexport function getSeckillConfig() {\r\n return request.get(\"/seckill/index\", {}, { login: false });\r\n}\r\n\r\n/**\r\n * 秒杀列表\r\n */\r\nexport function getSeckillList(time, data) {\r\n return request.get(\"/seckill/list/\" + time, data, { login: false });\r\n}\r\n\r\n/**\r\n * 秒杀产品详情\r\n */\r\nexport function getSeckillDetail(id) {\r\n return request.get(\"/seckill/detail/\" + id, {}, { login: false });\r\n}\r\n\r\n/**\r\n * 砍价列表\r\n * @param {*} data\r\n */\r\nexport function getBargainList(data) {\r\n return request.get(\"/bargain/list\", data, { login: false });\r\n}\r\n\r\n/**\r\n * 砍价产品详情\r\n */\r\nexport function getBargainDetail(id) {\r\n return request.get(\"/bargain/detail/\" + id);\r\n}\r\n\r\n/**\r\n * 砍价 观看/分享/参与次数\r\n */\r\nexport function getBargainShare(data) {\r\n return request.post(\"/bargain/share\", data);\r\n}\r\n\r\n/**\r\n * 砍价开启\r\n * @param {*} data\r\n */\r\nexport function getBargainStart(data) {\r\n return request.post(\"/bargain/start\", data);\r\n}\r\n\r\n/**\r\n * 砍价 帮助好友砍价\r\n * @param {*} data\r\n */\r\nexport function getBargainHelp(data) {\r\n return request.post(\"/bargain/help\", data);\r\n}\r\n\r\n/**\r\n * 砍价 砍掉金额\r\n * @param {*} data\r\n */\r\nexport function getBargainHelpPrice(data) {\r\n return request.post(\"/bargain/help/price\", data);\r\n}\r\n\r\n/**\r\n * 砍价 砍价帮总人数、剩余金额、进度条、已经砍掉的价格\r\n * @param {*} data\r\n */\r\nexport function getBargainHelpCount(data) {\r\n return request.post(\"/bargain/help/count\", data);\r\n}\r\n\r\n/**\r\n * 砍价 开启砍价用户信息\r\n * @param {*} data\r\n */\r\nexport function getBargainStartUser(data) {\r\n return request.post(\"/bargain/start/user\", data);\r\n}\r\n\r\n/**\r\n * 砍价 砍价帮\r\n * @param {*} data\r\n */\r\nexport function getBargainHelpList(data) {\r\n return request.post(\"/bargain/help/list\", data);\r\n}\r\n\r\n/**\r\n * 砍价海报\r\n * @param {*} data\r\n */\r\nexport function getBargainPoster(data) {\r\n return request.post(\"/bargain/poster\", data);\r\n}\r\n\r\n/**\r\n * 砍价列表(已参与)\r\n * @param {*} data\r\n */\r\nexport function getBargainUserList(data) {\r\n return request.get(\"/bargain/user/list\", data);\r\n}\r\n\r\n/**\r\n * 砍价取消\r\n */\r\nexport function getBargainUserCancel(data) {\r\n return request.post(\"/bargain/user/cancel\", data);\r\n}\r\n","'use strict';\nvar ctx = require('./_ctx');\nvar $export = require('./_export');\nvar toObject = require('./_to-object');\nvar call = require('./_iter-call');\nvar isArrayIter = require('./_is-array-iter');\nvar toLength = require('./_to-length');\nvar createProperty = require('./_create-property');\nvar getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function (iter) { Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n var O = toObject(arrayLike);\n var C = typeof this == 'function' ? this : Array;\n var aLen = arguments.length;\n var mapfn = aLen > 1 ? arguments[1] : undefined;\n var mapping = mapfn !== undefined;\n var index = 0;\n var iterFn = getIterFn(O);\n var length, result, step, iterator;\n if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for (result = new C(length); length > index; index++) {\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n"],"sourceRoot":""}