chunk-e14b291c.e317aab0.js.map 13 KB

1
  1. {"version":3,"sources":["webpack:///./src/api/activity.js","webpack:///./src/views/activity/GoodsBargain.vue?9724","webpack:///src/views/activity/GoodsBargain.vue","webpack:///./src/views/activity/GoodsBargain.vue?d6b9","webpack:///./src/views/activity/GoodsBargain.vue"],"names":["__webpack_require__","d","__webpack_exports__","getCombinationList","getCombinationDetail","getCombinationPink","getCombinationRemove","getCombinationPoster","getSeckillConfig","getSeckillList","getSeckillDetail","getBargainList","getBargainDetail","getBargainShare","getBargainStart","getBargainHelp","getBargainHelpPrice","getBargainHelpCount","getBargainStartUser","getBargainHelpList","getBargainPoster","getBargainUserList","getBargainUserCancel","_utils_request__WEBPACK_IMPORTED_MODULE_0__","data","request","get","login","id","post","time","render","_vm","this","_h","$createElement","_c","_self","staticClass","_l","item","index","key","attrs","src","image","domProps","textContent","_s","title","_v","people","min_price","on","click","$event","goDetail","status","_e","staticRenderFns","GoodsBargainvue_type_script_lang_js_","name","components","props","bargainLis","loading","page","limit","mounted","methods","that","Object","activity","then","res","length","push","apply","$router","path","activity_GoodsBargainvue_type_script_lang_js_","component","componentNormalizer"],"mappings":"gHAAAA,EAAAC,EAAAC,EAAA,sBAAAC,IAAAH,EAAAC,EAAAC,EAAA,sBAAAE,IAAAJ,EAAAC,EAAAC,EAAA,sBAAAG,IAAAL,EAAAC,EAAAC,EAAA,sBAAAI,IAAAN,EAAAC,EAAAC,EAAA,sBAAAK,IAAAP,EAAAC,EAAAC,EAAA,sBAAAM,IAAAR,EAAAC,EAAAC,EAAA,sBAAAO,IAAAT,EAAAC,EAAAC,EAAA,sBAAAQ,IAAAV,EAAAC,EAAAC,EAAA,sBAAAS,IAAAX,EAAAC,EAAAC,EAAA,sBAAAU,IAAAZ,EAAAC,EAAAC,EAAA,sBAAAW,IAAAb,EAAAC,EAAAC,EAAA,sBAAAY,IAAAd,EAAAC,EAAAC,EAAA,sBAAAa,IAAAf,EAAAC,EAAAC,EAAA,sBAAAc,IAAAh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EAAA,QAAaE,YAAA,yBAAmCN,EAAAkB,GAAA,sBAA6BlB,EAAAyB,OAA4FzB,EAAA0B,KAA5FtB,EAAA,OAA0BE,YAAA,sBAAAe,GAAA,CAAsCC,MAAAtB,EAAArB,iBAA4B,CAAAqB,EAAAkB,GAAA,iCACjkCS,EAAA,eC+BAC,EAAA,CACAC,KAAA,eACAC,WAAA,GACAC,MAAA,GACAvC,KAAA,WACA,OACAwC,WAAA,GACAP,QAAA,EACAQ,SAAA,EACAC,KAAA,EACAC,MAAA,KAGAC,QAAA,WACAnC,KAAAtB,kBAEA0D,QAAA,CACA1D,eAAA,WACA,IAAA2D,EAAArC,KACAqC,EAAAL,SACAK,EAAAb,SACAa,EAAAL,SAAA,EACAM,OAAAC,EAAA,KAAAD,CAAA,CAAAL,KAAAI,EAAAJ,KAAAC,MAAAG,EAAAH,QAAAM,KAAA,SAAAC,GACAJ,EAAAb,OAAAiB,EAAAlD,KAAAmD,OAAAL,EAAAH,MACAG,EAAAN,WAAAY,KAAAC,MAAAP,EAAAN,WAAAU,EAAAlD,MACA8C,EAAAJ,OACAI,EAAAL,SAAA,MAGAT,SAAA,SAAA5B,GACAK,KAAA6C,QAAAF,KAAA,CACAG,KAAA,4BAAAnD,EAAA,UC/DqWoD,EAAA,cCOrWC,EAAgBV,OAAAW,EAAA,KAAAX,CACdS,EACAjD,EACA4B,GACF,EACA,KACA,KACA,MAIezD,EAAA,WAAA+E","file":"h5/js/chunk-e14b291c.e317aab0.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, time) {\r\n return request.get(\r\n \"/seckill/detail/\" + id + \"/\" + time,\r\n {},\r\n { login: false }\r\n );\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',{staticClass:\"bargain-list\"},[_c('div',{staticClass:\"header\"}),_c('div',{staticClass:\"list\"},[_vm._l((_vm.bargainLis),function(item,index){return _c('div',{key:index,staticClass:\"item acea-row row-between-wrapper\"},[_c('div',{staticClass:\"pictrue\"},[_c('img',{attrs:{\"src\":item.image}})]),_c('div',{staticClass:\"text acea-row row-column-around\"},[_c('div',{staticClass:\"line1\",domProps:{\"textContent\":_vm._s(item.title)}}),_c('div',{staticClass:\"num\"},[_c('span',{staticClass:\"iconfont icon-pintuan\"}),_vm._v(_vm._s(item.people)+\"人正在参与\\n \")]),_c('div',{staticClass:\"money font-color-red\"},[_vm._v(\"\\n 可砍至: ¥\"),_c('span',{staticClass:\"price\",domProps:{\"textContent\":_vm._s(item.min_price)}})])]),_c('div',{staticClass:\"cutBnt bg-color-red\",on:{\"click\":function($event){return _vm.goDetail(item.id)}}},[_c('span',{staticClass:\"iconfont icon-kanjia\"}),_vm._v(\"参与砍价\\n \")])])}),(!_vm.status)?_c('div',{staticClass:\"load font-color-red\",on:{\"click\":_vm.getBargainList}},[_vm._v(\"\\n 点击加载更多\\n \")]):_vm._e()],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"bargain-list\">\r\n <div class=\"header\"></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 bargainLis\"\r\n :key=\"index\"\r\n >\r\n <div class=\"pictrue\"><img :src=\"item.image\" /></div>\r\n <div class=\"text acea-row row-column-around\">\r\n <div class=\"line1\" v-text=\"item.title\"></div>\r\n <div class=\"num\">\r\n <span class=\"iconfont icon-pintuan\"></span\r\n >{{ item.people }}人正在参与\r\n </div>\r\n <div class=\"money font-color-red\">\r\n 可砍至: ¥<span class=\"price\" v-text=\"item.min_price\"></span>\r\n </div>\r\n </div>\r\n <div class=\"cutBnt bg-color-red\" @click=\"goDetail(item.id)\">\r\n <span class=\"iconfont icon-kanjia\"></span>参与砍价\r\n </div>\r\n </div>\r\n <div class=\"load font-color-red\" v-if=\"!status\" @click=\"getBargainList\">\r\n 点击加载更多\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getBargainList } from \"@api/activity\";\r\nexport default {\r\n name: \"GoodsBargain\",\r\n components: {},\r\n props: {},\r\n data: function() {\r\n return {\r\n bargainLis: [], //砍价列表\r\n status: false, //砍价列表是否获取完成 false 未完成 true 完成\r\n loading: false, //当前接口是否请求完成 false 完成 true 未完成\r\n page: 1, //页码\r\n limit: 20 //数量\r\n };\r\n },\r\n mounted: function() {\r\n this.getBargainList();\r\n },\r\n methods: {\r\n getBargainList: function() {\r\n var that = this;\r\n if (that.loading) return;\r\n if (that.status) return;\r\n that.loading = true;\r\n getBargainList({ page: that.page, limit: that.limit }).then(res => {\r\n that.status = res.data.length < that.limit;\r\n that.bargainLis.push.apply(that.bargainLis, res.data);\r\n that.page++;\r\n that.loading = false;\r\n });\r\n },\r\n goDetail: function(id) {\r\n this.$router.push({\r\n path: \"/activity/dargain_detail/\" + id + \"/0\"\r\n });\r\n }\r\n }\r\n};\r\n</script>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsBargain.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GoodsBargain.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GoodsBargain.vue?vue&type=template&id=b2129354&\"\nimport script from \"./GoodsBargain.vue?vue&type=script&lang=js&\"\nexport * from \"./GoodsBargain.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/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":""}