1 |
- {"version":3,"sources":["webpack:///./src/assets/images/left.png","webpack:///./src/views/activity/DargainDetails.vue?0f7c","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/views/activity/DargainDetails.vue?4a32","webpack:///./src/components/CountDown.vue?bc47","webpack:///src/components/CountDown.vue","webpack:///./src/components/CountDown.vue?4b22","webpack:///./src/components/CountDown.vue","webpack:///./src/api/activity.js"],"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","statusUser","helpListLoading","_e","userBargainStatus","dargainQuota","productstock","goParticipate","goPoster","getBargainHelp","getBargainStart","goPay","goList","helpCount","_l","item","index","key","add_time","helpListStatus","getBargainHelpList","rule","description","active","close","bargainHelpPrice","$event","preventDefault","staticRenderFns","name","components","CountDown","props","data","bargainId","activeMsg","bargainHelpList","page","limit","bargainNum","computed","watch","$route","that","n","NAME","mountedStart","mounted","setTimeout","methods","getBargainHelpCount","$router","push","params","id","partake","parseInt","undefined","isNaN","replace","path","getBargainHelpCountStart","getBargainDetail","getBargainShare","getBargainStartUser","setOpenShare","configTimeline","desc","info","link","imgUrl","updateTitle","document","meta","productId","product_id","cartNum","num","uniqueId","new","res","$dialog","success","bargainUserUid","getBargainHelpPrice","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":"4HAAAA,EAAOC,QAA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srjOJZNVJANlQ/+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 + '元')}})]),(_vm.bargainPartake != _vm.userInfo.uid && !_vm.statusUser && !_vm.helpListLoading)?_c('div',{staticClass:\"bargainSuccess\"},[_c('span',{staticClass:\"iconfont icon-xiaolian\"}),_vm._v(\"已成功帮助好友砍价\\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 !_vm.helpListLoading\n )?_c('div',{staticClass:\"bargainSuccess\"},[_c('span',{staticClass:\"iconfont icon-xiaolian\"}),_vm._v(\"恭喜您砍价成功,快去支付吧~\\n \")]):_vm._e(),(_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(),(\n _vm.surplusPrice > 0 &&\n _vm.bargainPartake === _vm.userInfo.uid &&\n _vm.userBargainStatus === 1 &&\n !_vm.helpListLoading\n )?_c('div',{staticClass:\"bargainBnt\",on:{\"click\":_vm.goPoster}},[_vm._v(\"\\n 邀请好友帮砍价\\n \")]):(\n _vm.bargainPartake != _vm.userInfo.uid &&\n _vm.userBargainStatus == 1 &&\n _vm.statusUser &&\n !_vm.helpListLoading\n )?_c('div',{staticClass:\"bargainBnt\",on:{\"click\":_vm.getBargainHelp}},[_vm._v(\"\\n 帮好友砍一刀\\n \")]):_vm._e(),(_vm.bargainPartake != _vm.userInfo.uid && !_vm.statusUser && !_vm.helpListLoading)?_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:\"lock\"})]),_c('div',{staticClass:\"goodsDetails\"},[_vm._m(3),_c('div',{staticClass:\"conter\",domProps:{\"innerHTML\":_vm._s(_vm.bargain.description)}})]),_c('div',{staticClass:\"bargainTip\",class:_vm.active === true && !_vm.helpListLoading ? '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 \")]):_vm._e(),(_vm.bargainPartake !== _vm.userInfo.uid)?_c('div',{staticClass:\"cutOff on\"},[_c('div',{staticClass:\"help font-color-red\",domProps:{\"textContent\":_vm._s('成功帮砍' + _vm.bargainHelpPrice + '元')}}),_vm._v(\"\\n ,您也可以砍价低价拿哦,快去挑选心仪的商品吧~\\n \")]):_vm._e(),(_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\" v-cloak>\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\r\n class=\"bargainSuccess\"\r\n v-if=\"bargainPartake != userInfo.uid && !statusUser && !helpListLoading\"\r\n >\r\n <span class=\"iconfont icon-xiaolian\"></span>已成功帮助好友砍价\r\n </div>\r\n <!-- 砍价成功:-->\r\n <div\r\n class=\"bargainSuccess\"\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 !helpListLoading\r\n \"\r\n >\r\n <span class=\"iconfont icon-xiaolian\"></span>恭喜您砍价成功,快去支付吧~\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=\"\r\n surplusPrice > 0 &&\r\n bargainPartake === userInfo.uid &&\r\n userBargainStatus === 1 &&\r\n !helpListLoading\r\n \"\r\n >\r\n 邀请好友帮砍价\r\n </div>\r\n <div\r\n class=\"bargainBnt\"\r\n @click=\"getBargainHelp\"\r\n v-else-if=\"\r\n bargainPartake != userInfo.uid &&\r\n userBargainStatus == 1 &&\r\n statusUser &&\r\n !helpListLoading\r\n \"\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 && !statusUser && !helpListLoading\"\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 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.description\"></div>\r\n </div>\r\n <div\r\n class=\"bargainTip\"\r\n :class=\"active === true && !helpListLoading ? 'on' : ''\"\r\n >\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-if=\"bargainPartake !== userInfo.uid\">\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: \"\", //砍掉金额\r\n bargainHelpList: [],\r\n helpListStatus: false, //砍价列表是否获取完成 false 未完成 true 完成\r\n helpListLoading: true, //当前接口是否请求完成 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 bargainNum: 0, // 自己可以砍得次数\r\n statusUser: false // 是否帮别人砍,没砍是true,砍了false\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.dargainQuota > 0 && this.productstock > 0) {\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 },\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.getBargainStartUser();\r\n // if (that.bargainPartake === that.userInfo.uid && that.active)\r\n // that.getBargainStart();\r\n // else that.getBargainStartUser();\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.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.bargainNum = that.bargain.bargain_num;\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(err => {\r\n that.$dialog.error(err.msg);\r\n that.$router.go(-1);\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 // 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 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 that.helpListLoading = true;\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.helpListLoading = false;\r\n that.getBargainHelpCount();\r\n that.getBargainHelpList();\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 that.helpListLoading = true;\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 that.alreadyPrice = res.data.alreadyPrice;\r\n that.pricePercent = res.data.pricePercent;\r\n that.statusUser = res.data.userBargainStatus;\r\n that.price = (that.bargain.price - that.alreadyPrice).toFixed(2);\r\n that.helpListLoading = false;\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 scoped>\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=2d7834fe&scoped=true&\"\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&id=2d7834fe&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 \"2d7834fe\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"h5/img/bargainBg.08e23e65.jpg\";","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&id=2d7834fe&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!./DargainDetails.vue?vue&type=style&index=0&id=2d7834fe&scoped=true&lang=css&\"","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"],"sourceRoot":""}
|