chunk-c70af1fc.ae78ee0a.js.map 12 KB

1
  1. {"version":3,"sources":["webpack:///./src/api/activity.js","webpack:///./src/views/activity/GoodsGroup.vue?dee3","webpack:///./src/views/activity/GoodsGroup.vue?b21f","webpack:///./src/views/activity/GoodsGroup.vue?a87c","webpack:///./src/views/activity/GoodsGroup.vue"],"names":["getCombinationList","data","request","get","login","getCombinationDetail","id","getCombinationPink","getCombinationRemove","post","getCombinationPoster","getSeckillConfig","getSeckillList","time","getSeckillDetail","getBargainList","getBargainDetail","getBargainShare","getBargainStart","getBargainHelp","getBargainHelpPrice","getBargainHelpCount","getBargainStartUser","getBargainHelpList","getBargainPoster","getBargainUserList","getBargainUserCancel","render","_vm","this","_h","$createElement","_c","_self","ref","staticClass","_l","item","index","key","on","$event","link","attrs","image","domProps","_s","title","people","_v","price","product_price","_m","status","loadingList","staticRenderFns","name","components","Loading","props","combinationList","loading","page","limit","mounted","_this","$scroll","$refs","container","methods","that","then","res","length","push","apply","catch","$router","path","component"],"mappings":"gHAAA,wrBAKO,SAASA,EAAmBC,GACjC,OAAOC,OAAQC,IAAI,oBAAqBF,EAAM,CAAEG,OAAO,IAOlD,SAASC,EAAqBC,GACnC,OAAOJ,OAAQC,IAAI,uBAAyBG,EAAI,GAAI,CAAEF,OAAO,IAOxD,SAASG,EAAmBD,GACjC,OAAOJ,OAAQC,IAAI,qBAAuBG,GAMrC,SAASE,EAAqBP,GACnC,OAAOC,OAAQO,KAAK,sBAAuBR,GAOtC,SAASS,EAAqBT,GACnC,OAAOC,OAAQO,KAAK,sBAAuBR,GAMtC,SAASU,IACd,OAAOT,OAAQC,IAAI,iBAAkB,GAAI,CAAEC,OAAO,IAM7C,SAASQ,EAAeC,EAAMZ,GACnC,OAAOC,OAAQC,IAAI,iBAAmBU,EAAMZ,EAAM,CAAEG,OAAO,IAMtD,SAASU,EAAiBR,GAC/B,OAAOJ,OAAQC,IAAI,mBAAqBG,EAAI,GAAI,CAAEF,OAAO,IAOpD,SAASW,EAAed,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,KAEZA,KAAK7B,qBACL6B,KAAKqC,QAAQrC,KAAKsC,MAAMC,WAAW,YAChCH,EAAMJ,SAAWI,EAAMjE,yBAG5BqE,QAAS,CACPrE,mBAAoB,WAClB,IAAIsE,EAAOzC,KACPyC,EAAKT,SACLS,EAAKjB,SACTiB,EAAKT,SAAU,EAEf,eAAoB,CAClBC,KAAMQ,EAAKR,KACXC,MAAOO,EAAKP,QACXQ,MAAK,SAAUC,GAChBF,EAAKjB,OAASmB,EAAIvE,KAAKwE,OAASH,EAAKP,MACrCO,EAAKV,gBAAgBc,KAAKC,MAAML,EAAKV,gBAAiBY,EAAIvE,MAC1DqE,EAAKR,OACLQ,EAAKT,SAAU,KACde,OAAM,WACPN,EAAKT,SAAU,OAGnBnB,KAAM,SAAcpC,GAClBuB,KAAKgD,QAAQH,KAAK,CAChBI,KAAM,0BAA4BxE,OCxF6Z,I,YCOncyE,EAAY,eACd,EACApD,EACA4B,GACA,EACA,KACA,KACA,MAIa,aAAAwB,E","file":"h5/js/chunk-c70af1fc.ae78ee0a.js","sourcesContent":["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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"container\",staticClass:\"group-list\"},[_c('div',{staticClass:\"header\"}),_c('div',{staticClass:\"list\"},[_vm._l((_vm.combinationList),function(item,index){return _c('div',{key:index,staticClass:\"item acea-row row-between-wrapper\",on:{\"click\":function($event){return _vm.link(item.id)}}},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":item.image}})]),_c('div',{staticClass:\"text\"},[_c('div',{staticClass:\"line1\",domProps:{\"textContent\":_vm._s(item.title)}}),_c('div',{staticClass:\"acea-row\"},[_c('div',{staticClass:\"team acea-row row-middle cart-color\"},[_c('div',{staticClass:\"iconfont icon-pintuan\"}),_c('div',{staticClass:\"num\",domProps:{\"textContent\":_vm._s(item.people + '人团')}})])]),_c('div',{staticClass:\"bottom acea-row row-between-wrapper\"},[_c('div',{staticClass:\"money\"},[_vm._v(\"\\n ¥\"),_c('span',{staticClass:\"num\",domProps:{\"textContent\":_vm._s(item.price)}}),_c('span',{staticClass:\"y-money\",domProps:{\"textContent\":_vm._s('¥' + item.product_price)}})]),_vm._m(0,true)])])])}),_c('Loading',{attrs:{\"loaded\":_vm.status,\"loading\":_vm.loadingList}})],2),_c('div',{attrs:{\"id\":\"title0\"}}),_c('div',{attrs:{\"id\":\"title1\"}}),_c('div',{attrs:{\"id\":\"title2\"}})])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"groupBnt bg-color-red\"},[_vm._v(\"\\n 去拼团\"),_c('span',{staticClass:\"iconfont icon-jiantou\"})])}]\n\nexport { render, staticRenderFns }","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport { getCombinationList as _getCombinationList } from \"@api/activity\";\nimport Loading from \"@components/Loading\";\nexport default {\n name: \"GoodsGroup\",\n components: {\n Loading: Loading\n },\n props: {},\n data: function data() {\n return {\n combinationList: [],\n status: false,\n //砍价列表是否获取完成 false 未完成 true 完成\n loading: false,\n //当前接口是否请求完成 false 完成 true 未完成\n page: 1,\n //页码\n limit: 10,\n //数量\n loadingList: false\n };\n },\n mounted: function mounted() {\n var _this = this;\n\n this.getCombinationList();\n this.$scroll(this.$refs.container, function () {\n !_this.loading && _this.getCombinationList();\n });\n },\n methods: {\n getCombinationList: function getCombinationList() {\n var that = this;\n if (that.loading) return;\n if (that.status) return;\n that.loading = true;\n\n _getCombinationList({\n page: that.page,\n limit: that.limit\n }).then(function (res) {\n that.status = res.data.length < that.limit;\n that.combinationList.push.apply(that.combinationList, res.data);\n that.page++;\n that.loading = false;\n }).catch(function () {\n that.loading = false;\n });\n },\n link: function link(id) {\n this.$router.push({\n path: \"/activity/group_detail/\" + id\n });\n }\n }\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!./GoodsGroup.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!./GoodsGroup.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GoodsGroup.vue?vue&type=template&id=1c16d85e&\"\nimport script from \"./GoodsGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./GoodsGroup.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"],"sourceRoot":""}