1 |
- {"version":3,"sources":["webpack:///./src/assets/images/left.png","webpack:///./src/views/activity/DargainDetails.vue?72b0","webpack:///src/views/activity/DargainDetails.vue","webpack:///./src/views/activity/DargainDetails.vue?a146","webpack:///./src/views/activity/DargainDetails.vue","webpack:///./src/assets/images/bargainBg.jpg","webpack:///./src/components/CountDown.vue?6b45","webpack:///src/components/CountDown.vue","webpack:///./src/components/CountDown.vue?4b22","webpack:///./src/components/CountDown.vue","webpack:///./src/api/activity.js","webpack:///./src/views/activity/DargainDetails.vue?e387"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","class","bargainPartake","userInfo","uid","_v","_s","lookCount","shareCount","userCount","attrs","bargainUserInfo","avatar","nickname","datatime","on","openAlone","bargain","image","_m","domProps","title","price","bargainSumCount","style","width","loading","pricePercent","alreadyPrice","surplusPrice","dargainQuota","productstock","userBargainStatus","goParticipate","_e","goPoster","getBargainHelp","getBargainStart","goPay","goList","helpCount","_l","item","index","key","add_time","helpListStatus","helpListLoading","getBargainHelpList","rule","description","active","close","bargainHelpPrice","$event","preventDefault","staticRenderFns","name","components","CountDown","props","data","bargainId","activeMsg","bargainHelpList","page","limit","computed","watch","$route","that","n","NAME","mountedStart","mounted","setTimeout","methods","getBargainHelpCount","$router","push","params","id","partake","parseInt","undefined","isNaN","replace","path","getBargainHelpCountStart","getBargainDetail","getBargainShare","setOpenShare","configTimeline","desc","info","link","imgUrl","updateTitle","document","meta","productId","product_id","cartNum","num","uniqueId","new","res","$dialog","success","bargainUserUid","getBargainHelpPrice","getBargainStartUser","component","tipText","isDay","day","dayText","hour","hourText","minute","minuteText","second","secondText","type","String","default","Number","Boolean","created","show_time","runTime","intDiff","Math","floor","setInterval","getCombinationList","request","get","login","getCombinationDetail","getCombinationPink","getCombinationRemove","post","getCombinationPoster","getSeckillConfig","getSeckillList","time","getSeckillDetail","getBargainList","getBargainPoster","getBargainUserList","getBargainUserCancel"],"mappings":"0HAAAA,EAAOC,QAAU,suD,yCCAjB,I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E4OWRiYzNmOGYyIiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjhiZDMxNDU3LTUwZjYtYWY0My1iZjhiLWQ1ZGNlMzFkODkxNSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PjImVg8AAAE3SURBVHja7JUxS0JhFIaPH7q03CUEB3HIUVxqcnEU/4O42F9oddCt/+CQ9BuiNaGmpnBssSgyCCqoxeH2nnwHC+65N8pAOC883Mvh5XC+j8P35ua7O5GIVGSpGXgpXl7Lqh73qvopgyZLZ+D2u2/FWwNdlsZgmtCzAfosDcCF0bMNRiz1AocukIokS4feIk2xpUNHpGv4dOht0k/pqUOXyCjI+pX7Y9+nN3A9FmRmmCfgHbzx35Kuxyt4BkeGbwiedBu4Kpb2wQO401XJ606DqwynvAHHGW9kCg4y+M5BK2PPE67J8srjOJZNVJANlQ/+38rzcf+ihLBI9f3E+9uegSFRJ5FxSE3ODimnXIgm5yGpGT5NzlPSSOmpyXlP2p6cnpyenP6O++CenJ6cnpyenGtIzg8BBgD9k45TMQlA3wAAAABJRU5ErkJggg==\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bargain\"},[_c('div',{class:[_vm.bargainPartake != _vm.userInfo.uid ? 'header on' : 'header']},[_c('div',{staticClass:\"people\"},[_vm._v(\"\\n \"+_vm._s(_vm.lookCount)+\"人查看 丨 \"+_vm._s(_vm.shareCount)+\"人分享 丨 \"+_vm._s(_vm.userCount)+\"人参与\\n \")]),(_vm.bargainPartake != _vm.userInfo.uid)?_c('div',{staticClass:\"pictxt acea-row row-center-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":_vm.bargainUserInfo.avatar}})]),_c('div',{staticClass:\"text\"},[_vm._v(\"\\n \"+_vm._s(_vm.bargainUserInfo.nickname)+\"\\n \"),_c('span',[_vm._v(\"邀请您帮忙砍价\")])])]):_c('CountDown',{attrs:{\"is-day\":true,\"tip-text\":'倒计时 ',\"day-text\":' 天 ',\"hour-text\":' 时 ',\"minute-text\":' 分 ',\"second-text\":' 秒',\"datatime\":_vm.datatime}})],1),_c('div',{staticClass:\"wrapper\"},[_c('div',{staticClass:\"pictxt acea-row row-between-wrapper\",on:{\"click\":_vm.openAlone}},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":_vm.bargain.image}}),_vm._m(0)]),_c('div',{staticClass:\"text acea-row row-column-around\"},[_c('div',{staticClass:\"line2\",domProps:{\"textContent\":_vm._s(_vm.bargain.title)}}),_c('div',{staticClass:\"money font-color-red\"},[_vm._v(\"\\n 已砍至: ¥\\n \"),_c('span',{staticClass:\"num\",domProps:{\"textContent\":_vm._s(_vm.price)}})]),_c('div',{staticClass:\"acea-row row-middle\"},[_c('div',{staticClass:\"successNum\",domProps:{\"textContent\":_vm._s('原价' + _vm.bargain.price)}}),_c('div',{staticClass:\"successNum\",domProps:{\"textContent\":_vm._s('已有' + _vm.bargainSumCount + '人砍价成功')}})])])]),_c('div',{staticClass:\"cu-progress acea-row row-middle round margin-top\"},[_c('div',{staticClass:\"acea-row row-middle bg-red\",style:({ width: _vm.loading ? _vm.pricePercent + '%' : '' })})]),_c('div',{staticClass:\"balance acea-row row-between-wrapper\"},[_c('div',{domProps:{\"textContent\":_vm._s('已砍' + _vm.alreadyPrice + '元')}}),(_vm.surplusPrice === 0)?_c('div',[_vm._v(\"砍价成功\")]):_c('div',{domProps:{\"textContent\":_vm._s('还剩' + _vm.surplusPrice + '元')}})]),_c('div',[_vm._v(\"\\n \"+_vm._s(\"dargainQuota:\" + _vm.dargainQuota + \",\" + \"productstock:\" + _vm.productstock)+\"\\n \")]),(_vm.userBargainStatus === 0 && _vm.bargainPartake === _vm.userInfo.uid)?_c('div',{class:_vm.dargainQuota > 0 && _vm.productstock > 0 ? 'bargainBnt' : 'bargainBnt_hui',on:{\"click\":_vm.goParticipate}},[_vm._v(\"\\n 立即参与砍价\\n \")]):_vm._e(),(_vm.bargainPartake === _vm.userInfo.uid && _vm.userBargainStatus === 1)?_c('div',{staticClass:\"bargainBnt\",on:{\"click\":_vm.goPoster}},[_vm._v(\"\\n 邀请好友帮砍价\\n \")]):(_vm.bargainPartake != _vm.userInfo.uid && _vm.userBargainStatus == 0)?_c('div',{staticClass:\"bargainBnt\",on:{\"click\":_vm.getBargainHelp}},[_vm._v(\"\\n 帮好友砍一刀\\n \")]):_vm._e(),(_vm.bargainPartake != _vm.userInfo.uid)?_c('div',{staticClass:\"bargainBnt\",on:{\"click\":_vm.getBargainStart}},[_vm._v(\"\\n 开启砍价\\n \")]):_vm._e(),(\n _vm.surplusPrice === 0 &&\n _vm.bargainPartake === _vm.userInfo.uid &&\n _vm.userBargainStatus === 1 &&\n _vm.dargainQuota > 0 &&\n _vm.productstock > 0\n )?_c('div',{staticClass:\"bargainBnt\",on:{\"click\":_vm.goPay}},[_vm._v(\"\\n 立即支付\\n \")]):_vm._e(),_c('div',{staticClass:\"bargainBnt on\",on:{\"click\":_vm.goList}},[_vm._v(\"抢更多商品\")]),_c('div',{staticClass:\"tip\"},[_vm._v(\"\\n 已有\\n \"),_c('span',{staticClass:\"font-color-red\",domProps:{\"textContent\":_vm._s(_vm.helpCount)}}),_vm._v(\"\\n 位好友成功帮您砍价\\n \")]),_c('div',{staticClass:\"lock\"})]),_c('div',{staticClass:\"bargainGang\"},[_vm._m(1),_c('div',{staticClass:\"list\"},_vm._l((_vm.bargainHelpList),function(item,index){return _c('div',{key:index,staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"pictxt acea-row row-between-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":item.avatar}})]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"name line1\",domProps:{\"textContent\":_vm._s(item.nickname)}}),_c('div',{staticClass:\"line1\",domProps:{\"textContent\":_vm._s(item.add_time)}})])]),_c('div',{staticClass:\"money font-color-red\"},[_c('span',{staticClass:\"iconfont icon-kanjia\"}),_vm._v(\"\\n 砍掉\"+_vm._s(item.price)+\"元\\n \")])])}),0),(!_vm.helpListStatus && !_vm.helpListLoading)?_c('div',{staticClass:\"load font-color-red\",on:{\"click\":_vm.getBargainHelpList}},[_vm._v(\"\\n 点击加载更多\\n \")]):_vm._e(),_c('div',{staticClass:\"lock\"})]),_c('div',{staticClass:\"goodsDetails\"},[_vm._m(2),_c('div',{staticClass:\"conter\",domProps:{\"innerHTML\":_vm._s(_vm.bargain.rule)}})]),_c('div',{staticClass:\"goodsDetails\"},[_vm._m(3),_c('div',{staticClass:\"conter\",domProps:{\"innerHTML\":_vm._s(_vm.bargain.description)}}),_c('div',{staticClass:\"lock\"})]),_c('div',{staticClass:\"bargainTip\",class:_vm.active === true ? 'on' : ''},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/bargainBg.jpg\")}}),_c('div',{staticClass:\"iconfont icon-guanbi\",on:{\"click\":_vm.close}})]),(_vm.bargainPartake === _vm.userInfo.uid)?_c('div',{staticClass:\"cutOff\"},[_vm._v(\"\\n 您已砍掉\\n \"),_c('span',{staticClass:\"font-color-red\",domProps:{\"textContent\":_vm._s(_vm.bargainHelpPrice)}}),_vm._v(\"元,听说分享次数越多砍价成功的机会越大哦!\\n \")]):_c('div',{staticClass:\"cutOff on\"},[_c('div',{staticClass:\"help font-color-red\",domProps:{\"textContent\":_vm._s('成功帮砍' + _vm.bargainHelpPrice + '元')}}),_vm._v(\"\\n ,您也可以砍价低价拿哦,快去挑选心仪的商品吧~\\n \")]),(_vm.bargainPartake === _vm.userInfo.uid)?_c('div',{staticClass:\"tipBnt\",on:{\"click\":_vm.goPoster}},[_vm._v(\"\\n 邀请好友帮砍价\\n \")]):_c('div',{staticClass:\"tipBnt\",on:{\"click\":_vm.getBargainStart}},[_vm._v(\"我也要参与\")])]),_c('div',{staticClass:\"mask\",attrs:{\"hidden\":_vm.active === false},on:{\"touchmove\":function($event){$event.preventDefault();},\"click\":_vm.close}})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"bargain_view\"},[_vm._v(\"\\n 查看商品\\n \"),_c('span',{staticClass:\"iconfont icon-jiantou iconfonts\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"title font-color-red acea-row row-center-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/left.png\")}})]),_c('div',{staticClass:\"titleCon\"},[_vm._v(\"砍价帮\")]),_c('div',{staticClass:\"pictrue on\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/left.png\")}})])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"title font-color-red acea-row row-center-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/left.png\")}})]),_c('div',{staticClass:\"titleCon\"},[_vm._v(\"活动规则\")]),_c('div',{staticClass:\"pictrue on\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/left.png\")}})])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"title font-color-red acea-row row-center-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/left.png\")}})]),_c('div',{staticClass:\"titleCon\"},[_vm._v(\"商品详情\")]),_c('div',{staticClass:\"pictrue on\"},[_c('img',{attrs:{\"src\":require(\"@assets/images/left.png\")}})])])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"bargain\">\r\n <!-- 在header上加 on 为请求支援 -->\r\n <div :class=\"[bargainPartake != userInfo.uid ? 'header on' : 'header']\">\r\n <div class=\"people\">\r\n {{ lookCount }}人查看 丨 {{ shareCount }}人分享 丨 {{ userCount }}人参与\r\n </div>\r\n <!-- 帮助砍价、帮砍成功:-->\r\n <div\r\n class=\"pictxt acea-row row-center-wrapper\"\r\n v-if=\"bargainPartake != userInfo.uid\"\r\n >\r\n <div class=\"pictrue\">\r\n <img :src=\"bargainUserInfo.avatar\" />\r\n </div>\r\n <div class=\"text\">\r\n {{ bargainUserInfo.nickname }}\r\n <span>邀请您帮忙砍价</span>\r\n </div>\r\n </div>\r\n <CountDown\r\n v-else\r\n :is-day=\"true\"\r\n :tip-text=\"'倒计时 '\"\r\n :day-text=\"' 天 '\"\r\n :hour-text=\"' 时 '\"\r\n :minute-text=\"' 分 '\"\r\n :second-text=\"' 秒'\"\r\n :datatime=\"datatime\"\r\n ></CountDown>\r\n </div>\r\n <div class=\"wrapper\">\r\n <div class=\"pictxt acea-row row-between-wrapper\" @click=\"openAlone\">\r\n <div class=\"pictrue\">\r\n <img :src=\"bargain.image\" />\r\n <div class=\"bargain_view\">\r\n 查看商品\r\n <span class=\"iconfont icon-jiantou iconfonts\"></span>\r\n </div>\r\n </div>\r\n <div class=\"text acea-row row-column-around\">\r\n <div class=\"line2\" v-text=\"bargain.title\"></div>\r\n <div class=\"money font-color-red\">\r\n 已砍至: ¥\r\n <span class=\"num\" v-text=\"price\"></span>\r\n </div>\r\n <div class=\"acea-row row-middle\">\r\n <div class=\"successNum\" v-text=\"'原价' + bargain.price\"></div>\r\n <div\r\n class=\"successNum\"\r\n v-text=\"'已有' + bargainSumCount + '人砍价成功'\"\r\n ></div>\r\n </div>\r\n </div>\r\n </div>\r\n <div class=\"cu-progress acea-row row-middle round margin-top\">\r\n <div\r\n class=\"acea-row row-middle bg-red\"\r\n :style=\"{ width: loading ? pricePercent + '%' : '' }\"\r\n ></div>\r\n </div>\r\n <div class=\"balance acea-row row-between-wrapper\">\r\n <div v-text=\"'已砍' + alreadyPrice + '元'\"></div>\r\n <div v-if=\"surplusPrice === 0\">砍价成功</div>\r\n <div v-else v-text=\"'还剩' + surplusPrice + '元'\"></div>\r\n </div>\r\n <!-- 帮助砍价、帮砍成功:-->\r\n <!--<div class='bargainSuccess'><span class='iconfont icon-xiaolian'></span>已成功帮助好友砍价</div>-->\r\n <!--v-if=\"bargain.attr.product_stock < 0 && bargain.attr.quota < 0\" -->\r\n <div>\r\n {{\r\n \"dargainQuota:\" + dargainQuota + \",\" + \"productstock:\" + productstock\r\n }}\r\n </div>\r\n <div\r\n v-if=\"userBargainStatus === 0 && bargainPartake === userInfo.uid\"\r\n :class=\"\r\n dargainQuota > 0 && productstock > 0 ? 'bargainBnt' : 'bargainBnt_hui'\r\n \"\r\n @click=\"goParticipate\"\r\n >\r\n 立即参与砍价\r\n </div>\r\n <div\r\n class=\"bargainBnt\"\r\n @click=\"goPoster\"\r\n v-if=\"bargainPartake === userInfo.uid && userBargainStatus === 1\"\r\n >\r\n 邀请好友帮砍价\r\n </div>\r\n <div\r\n class=\"bargainBnt\"\r\n @click=\"getBargainHelp\"\r\n v-else-if=\"bargainPartake != userInfo.uid && userBargainStatus == 0\"\r\n >\r\n 帮好友砍一刀\r\n </div>\r\n <div\r\n class=\"bargainBnt\"\r\n @click=\"getBargainStart\"\r\n v-if=\"bargainPartake != userInfo.uid\"\r\n >\r\n 开启砍价\r\n </div>\r\n <div\r\n class=\"bargainBnt\"\r\n @click=\"goPay\"\r\n v-if=\"\r\n surplusPrice === 0 &&\r\n bargainPartake === userInfo.uid &&\r\n userBargainStatus === 1 &&\r\n dargainQuota > 0 &&\r\n productstock > 0\r\n \"\r\n >\r\n 立即支付\r\n </div>\r\n <div class=\"bargainBnt on\" @click=\"goList\">抢更多商品</div>\r\n <div class=\"tip\">\r\n 已有\r\n <span class=\"font-color-red\" v-text=\"helpCount\"></span>\r\n 位好友成功帮您砍价\r\n </div>\r\n <div class=\"lock\"></div>\r\n </div>\r\n <div class=\"bargainGang\">\r\n <div class=\"title font-color-red acea-row row-center-wrapper\">\r\n <div class=\"pictrue\">\r\n <img src=\"@assets/images/left.png\" />\r\n </div>\r\n <div class=\"titleCon\">砍价帮</div>\r\n <div class=\"pictrue on\">\r\n <img src=\"@assets/images/left.png\" />\r\n </div>\r\n </div>\r\n <div class=\"list\">\r\n <div\r\n class=\"item acea-row row-between-wrapper\"\r\n v-for=\"(item, index) in bargainHelpList\"\r\n :key=\"index\"\r\n >\r\n <div class=\"pictxt acea-row row-between-wrapper\">\r\n <div class=\"pictrue\">\r\n <img :src=\"item.avatar\" />\r\n </div>\r\n <div class=\"text\">\r\n <div class=\"name line1\" v-text=\"item.nickname\"></div>\r\n <div class=\"line1\" v-text=\"item.add_time\"></div>\r\n </div>\r\n </div>\r\n <div class=\"money font-color-red\">\r\n <span class=\"iconfont icon-kanjia\"></span>\r\n 砍掉{{ item.price }}元\r\n </div>\r\n </div>\r\n </div>\r\n <div\r\n class=\"load font-color-red\"\r\n v-if=\"!helpListStatus && !helpListLoading\"\r\n @click=\"getBargainHelpList\"\r\n >\r\n 点击加载更多\r\n </div>\r\n <div class=\"lock\"></div>\r\n </div>\r\n <div class=\"goodsDetails\">\r\n <div class=\"title font-color-red acea-row row-center-wrapper\">\r\n <div class=\"pictrue\">\r\n <img src=\"@assets/images/left.png\" />\r\n </div>\r\n <div class=\"titleCon\">活动规则</div>\r\n <div class=\"pictrue on\">\r\n <img src=\"@assets/images/left.png\" />\r\n </div>\r\n </div>\r\n <div class=\"conter\" v-html=\"bargain.rule\"></div>\r\n </div>\r\n <div class=\"goodsDetails\">\r\n <div class=\"title font-color-red acea-row row-center-wrapper\">\r\n <div class=\"pictrue\">\r\n <img src=\"@assets/images/left.png\" />\r\n </div>\r\n <div class=\"titleCon\">商品详情</div>\r\n <div class=\"pictrue on\">\r\n <img src=\"@assets/images/left.png\" />\r\n </div>\r\n </div>\r\n <div class=\"conter\" v-html=\"bargain.description\"></div>\r\n <div class=\"lock\"></div>\r\n </div>\r\n <div class=\"bargainTip\" :class=\"active === true ? 'on' : ''\">\r\n <div class=\"pictrue\">\r\n <img src=\"@assets/images/bargainBg.jpg\" />\r\n <div class=\"iconfont icon-guanbi\" @click=\"close\"></div>\r\n </div>\r\n <div class=\"cutOff\" v-if=\"bargainPartake === userInfo.uid\">\r\n 您已砍掉\r\n <span class=\"font-color-red\" v-text=\"bargainHelpPrice\"></span\r\n >元,听说分享次数越多砍价成功的机会越大哦!\r\n </div>\r\n <div class=\"cutOff on\" v-else>\r\n <div\r\n class=\"help font-color-red\"\r\n v-text=\"'成功帮砍' + bargainHelpPrice + '元'\"\r\n ></div>\r\n ,您也可以砍价低价拿哦,快去挑选心仪的商品吧~\r\n </div>\r\n <div\r\n class=\"tipBnt\"\r\n @click=\"goPoster\"\r\n v-if=\"bargainPartake === userInfo.uid\"\r\n >\r\n 邀请好友帮砍价\r\n </div>\r\n <div class=\"tipBnt\" @click=\"getBargainStart\" v-else>我也要参与</div>\r\n </div>\r\n <div\r\n class=\"mask\"\r\n @touchmove.prevent\r\n :hidden=\"active === false\"\r\n @click=\"close\"\r\n ></div>\r\n </div>\r\n</template>\r\n<script>\r\nimport CountDown from \"@components/CountDown\";\r\nimport {\r\n getBargainDetail,\r\n getBargainShare,\r\n getBargainStart,\r\n getBargainHelp,\r\n getBargainHelpPrice,\r\n getBargainHelpList,\r\n getBargainHelpCount,\r\n getBargainStartUser\r\n} from \"@api/activity\";\r\nimport { postCartAdd } from \"@api/store\";\r\nimport { mapGetters } from \"vuex\";\r\nimport { wechatEvevt } from \"@libs/wechat\";\r\nimport { isWeixin } from \"@utils/index\";\r\n\r\nconst NAME = \"DargainDetails\";\r\n\r\nexport default {\r\n name: \"DargainDetails\",\r\n components: {\r\n CountDown\r\n },\r\n props: {},\r\n data: function() {\r\n return {\r\n price: 0,\r\n bargainId: 0, //砍价编号\r\n bargainPartake: 0, //参与砍价\r\n bargain: {}, //砍价产品信息\r\n bargainSumCount: 0, //砍价成功人数\r\n activeMsg: \"\",\r\n active: false,\r\n loading: false,\r\n datatime: 0,\r\n lookCount: 0, //查看人数\r\n shareCount: 0, //分享人数\r\n userCount: 0, //参与人数\r\n bargainHelpPrice: 0, //砍掉金额\r\n bargainHelpList: [],\r\n helpListStatus: false, //砍价列表是否获取完成 false 未完成 true 完成\r\n helpListLoading: false, //当前接口是否请求完成 false 完成 true 未完成\r\n page: 1, //页码\r\n limit: 2, //数量\r\n helpCount: 0, //砍价帮总人数\r\n surplusPrice: 0, //剩余金额\r\n alreadyPrice: 0, //已砍掉价格\r\n pricePercent: 0, //砍价进度条\r\n bargainUserInfo: [], //砍价 开启砍价用户信息\r\n userBargainStatus: 2, //砍价状态\r\n dargainQuota: 0, // 限量\r\n productstock: 0 // 库存\r\n };\r\n },\r\n computed: mapGetters([\"userInfo\", \"isLogin\"]),\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 var that = this;\r\n that.mountedStart();\r\n setTimeout(function() {\r\n that.loading = true;\r\n }, 500);\r\n },\r\n methods: {\r\n //参与砍价\r\n goParticipate() {\r\n if (this.bargainPartake === this.userInfo.uid) this.getBargainStart();\r\n else this.getBargainStartUser();\r\n this.getBargainHelpCount();\r\n if (this.dargainQuota > 0 && this.productstock > 0) this.active = true;\r\n },\r\n openAlone: function() {\r\n this.$router.push({ path: \"/detail/\" + this.bargain.product_id });\r\n },\r\n mountedStart: function() {\r\n var that = this;\r\n that.bargainId = that.$route.params.id;\r\n var partake = parseInt(that.$route.params.partake);\r\n if (partake === undefined || partake <= 0 || isNaN(partake)) {\r\n that.bargainPartake = that.userInfo.uid;\r\n return that.$router.replace({\r\n path:\r\n \"/activity/dargain_detail/\" +\r\n that.bargainId +\r\n \"/\" +\r\n that.bargainPartake\r\n });\r\n } else that.bargainPartake = parseInt(partake);\r\n that.getBargainHelpCountStart();\r\n that.getBargainDetail();\r\n that.getBargainShare(0);\r\n // if (that.bargainPartake === that.userInfo.uid && that.active)\r\n // that.getBargainStart();\r\n // else that.getBargainStartUser();\r\n // console.log(\r\n // typeof that.bargainPartake,\r\n // that.bargainPartake,\r\n // typeof that.userInfo.uid,\r\n // that.userInfo.uid,\r\n // that.userBargainStatus,\r\n // that.surplusPrice\r\n // );\r\n },\r\n setOpenShare: function() {\r\n var that = this;\r\n // var configAppMessage = {\r\n // desc: \"您的好友\" + that.userInfo.nickname + \"邀请您砍价\",\r\n // title: that.bargain.title,\r\n // link:\r\n // window.location.protocol +\r\n // \"//\" +\r\n // window.location.host +\r\n // that.$router.currentRoute.path,\r\n // imgUrl: that.bargain.image\r\n // };\r\n\r\n var configTimeline = {\r\n title:\r\n \"您的好友\" +\r\n that.userInfo.nickname +\r\n \"邀请您砍价\" +\r\n that.bargain.title,\r\n desc: that.bargain.info,\r\n link:\r\n window.location.protocol +\r\n \"//\" +\r\n window.location.host +\r\n \"/activity/dargain_detail/\" +\r\n that.bargainId +\r\n \"/\" +\r\n that.bargainPartake,\r\n imgUrl: that.bargain.image\r\n };\r\n if (isWeixin() === true) {\r\n wechatEvevt(\r\n [\"updateAppMessageShareData\", \"updateTimelineShareData\"],\r\n configTimeline\r\n )\r\n .then(res => {\r\n console.log(res);\r\n })\r\n .catch(res => {\r\n if (res.is_ready) {\r\n res.wx.updateAppMessageShareData(configTimeline);\r\n res.wx.updateTimelineShareData(configTimeline);\r\n }\r\n });\r\n }\r\n },\r\n updateTitle() {\r\n document.title = this.bargain.title || this.$route.meta.title;\r\n },\r\n goPay: function() {\r\n var data = {};\r\n var that = this;\r\n data.productId = that.bargain.product_id;\r\n data.cartNum = that.bargain.num;\r\n data.uniqueId = \"\";\r\n data.bargainId = that.bargainId;\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 goPoster: function() {\r\n var that = this;\r\n that.getBargainShare(that.bargainId);\r\n this.$router.push({\r\n path: \"/activity/poster/\" + that.bargainId + \"/2\"\r\n });\r\n },\r\n goList: function() {\r\n this.$router.push({\r\n path: \"/activity/bargain\"\r\n });\r\n },\r\n //砍价分享\r\n //bargainId 0 获取 查看人数 分享人数 参与人数\r\n //bargainId 砍价产品编号 添加分享次数 获取 查看人数 分享人数 参与人数\r\n getBargainShare: function(bargainId) {\r\n var that = this;\r\n getBargainShare({ bargainId: bargainId }).then(res => {\r\n that.lookCount = res.data.lookCount;\r\n that.shareCount = res.data.shareCount;\r\n that.userCount = res.data.userCount;\r\n });\r\n },\r\n // 获取产品详情\r\n getBargainDetail: function() {\r\n var that = this;\r\n getBargainDetail(that.bargainId)\r\n .then(res => {\r\n that.$set(that, \"bargain\", res.data.bargain);\r\n that.userBargainStatus = res.data.userBargainStatus;\r\n that.dargainQuota = that.bargain.attr.quota || 0;\r\n that.productstock = that.bargain.attr.product_stock\r\n ? that.bargain.attr.product_stock\r\n : 0;\r\n that.updateTitle();\r\n that.datatime = that.bargain.stop_time;\r\n that.getBargainHelpCount();\r\n that.setOpenShare();\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\r\n });\r\n },\r\n //开启砍价\r\n getBargainStart: function() {\r\n var that = this;\r\n getBargainStart({ bargainId: that.bargainId })\r\n .then(() => {\r\n that.bargainPartake = that.userInfo.uid;\r\n that.setOpenShare();\r\n console.log(this.surplusPrice);\r\n // if (this.surplusPrice > 0 && this.userBargainStatus === 1)\r\n // that.getBargainHelp();\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\r\n });\r\n },\r\n //参与砍价\r\n getBargainHelp: function() {\r\n var that = this;\r\n if (\r\n that.surplusPrice === 0 &&\r\n that.bargainPartake !== that.userInfo.uid\r\n ) {\r\n return that.$dialog.success(\"好友已经砍价成功\");\r\n }\r\n var data = {\r\n bargainId: that.bargainId,\r\n bargainUserUid: that.bargainPartake\r\n };\r\n getBargainHelp(data)\r\n .then(res => {\r\n that.activeMsg = res.data.status;\r\n console.log(that.activeMsg);\r\n if (\r\n res.data.status === \"SUCCESSFUL\" &&\r\n that.bargainPartake !== that.userInfo.uid\r\n ) {\r\n return that.$dialog.toast({ mes: \"您已经砍过了\" });\r\n }\r\n that.helpListStatus = false;\r\n that.page = 1;\r\n that.bargainHelpList = [];\r\n that.getBargainHelpPrice();\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\r\n });\r\n },\r\n //获取砍掉的金额\r\n getBargainHelpPrice: function() {\r\n var that = this;\r\n getBargainHelpPrice({\r\n bargainId: that.bargainId,\r\n bargainUserUid: that.bargainPartake\r\n })\r\n .then(res => {\r\n that.bargainHelpPrice = res.data.price;\r\n that.getBargainHelpCount();\r\n that.getBargainHelpList();\r\n console.log(that.activeMsg);\r\n switch (that.activeMsg) {\r\n case \"SUCCESSFUL\":\r\n break;\r\n case \"SUCCESS\":\r\n that.active = true;\r\n break;\r\n }\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\r\n });\r\n },\r\n //砍价帮\r\n getBargainHelpList: function() {\r\n var that = this;\r\n if (that.helpListLoading === true) return;\r\n if (that.helpListStatus === true) return;\r\n that.helpListLoading = true;\r\n getBargainHelpList({\r\n bargainId: that.bargainId,\r\n bargainUserUid: that.bargainPartake,\r\n page: that.page,\r\n limit: that.limit\r\n })\r\n .then(res => {\r\n that.helpListStatus = res.data.length < that.limit;\r\n that.helpListLoading = false;\r\n that.page++;\r\n that.bargainHelpList.push.apply(that.bargainHelpList, res.data);\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\r\n });\r\n },\r\n getBargainHelpCountStart: function() {\r\n var that = this;\r\n getBargainHelpCount({\r\n bargainId: that.bargainId,\r\n bargainUserUid: that.bargainPartake\r\n })\r\n .then(() => {})\r\n .catch(() => {\r\n that.$router.push({\r\n path:\r\n \"/activity/dargain_detail/\" +\r\n that.bargainId +\r\n \"/\" +\r\n that.userInfo.uid\r\n });\r\n });\r\n },\r\n getBargainHelpCount: function() {\r\n var that = this;\r\n getBargainHelpCount({\r\n bargainId: that.bargainId,\r\n bargainUserUid: that.bargainPartake\r\n })\r\n .then(res => {\r\n that.userBargainStatus = res.data.status;\r\n that.helpCount = res.data.count;\r\n that.surplusPrice = res.data.price;\r\n console.log(that.surplusPrice);\r\n that.alreadyPrice = res.data.alreadyPrice;\r\n that.pricePercent = res.data.pricePercent;\r\n that.price = (that.bargain.price - that.alreadyPrice).toFixed(2);\r\n })\r\n .catch(() => {\r\n that.bargainPartake = that.userInfo.uid;\r\n that.$router.push({\r\n path:\r\n \"/activity/dargain_detail/\" +\r\n that.bargainId +\r\n \"/\" +\r\n that.userInfo.uid\r\n });\r\n });\r\n },\r\n getBargainStartUser: function() {\r\n var that = this;\r\n getBargainStartUser({\r\n bargainId: that.bargainId,\r\n bargainUserUid: that.bargainPartake\r\n })\r\n .then(res => {\r\n that.bargainUserInfo = res.data;\r\n that.getBargainHelpList();\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\r\n });\r\n },\r\n close: function() {\r\n this.active = false;\r\n }\r\n }\r\n};\r\n</script>\r\n<style>\r\n.bargainBnt_hui {\r\n font-size: 0.3rem;\r\n font-weight: bold;\r\n color: #fff;\r\n width: 6rem;\r\n height: 0.8rem;\r\n border-radius: 0.4rem;\r\n background: #bbb;\r\n text-align: center;\r\n line-height: 0.8rem;\r\n margin-top: 0.32rem;\r\n}\r\n.bargain_view {\r\n width: 1.8rem;\r\n height: 0.48rem;\r\n background: rgba(0, 0, 0, 0.5);\r\n opacity: 1;\r\n border-radius: 0 0 0.06rem 0.06rem;\r\n position: absolute;\r\n bottom: 0;\r\n font-size: 0.22rem;\r\n color: #fff;\r\n text-align: center;\r\n line-height: 0.48rem;\r\n}\r\n.iconfonts {\r\n font-size: 0.22rem;\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!./DargainDetails.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!./DargainDetails.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DargainDetails.vue?vue&type=template&id=2a0b8fc2&\"\nimport script from \"./DargainDetails.vue?vue&type=script&lang=js&\"\nexport * from \"./DargainDetails.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DargainDetails.vue?vue&type=style&index=0&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 null,\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"h5/img/bargainBg.08e23e65.jpg\";","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","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","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!./DargainDetails.vue?vue&type=style&index=0&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!./DargainDetails.vue?vue&type=style&index=0&lang=css&\""],"sourceRoot":""}
|