chunk-2539197c.357e0dd2.js.map 13 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/activity/Poster.vue?7641","webpack:///src/views/activity/Poster.vue","webpack:///./src/views/activity/Poster.vue?c7a8","webpack:///./src/views/activity/Poster.vue","webpack:///./src/views/activity/Poster.vue?fcca","webpack:///./src/api/activity.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","status","staticClass","_m","attrs","src","image","_e","staticRenderFns","_v","Postervue_type_script_lang_js_","name","components","props","data","id","mounted","that","$route","params","type","getBargainPoster","getCombinationPoster","methods","Object","activity","bargainId","from","then","res","url","catch","$dialog","error","msg","activity_Postervue_type_script_lang_js_","component","componentNormalizer","__webpack_exports__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Poster_vue_vue_type_style_index_0_id_ff36e5c0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Poster_vue_vue_type_style_index_0_id_ff36e5c0_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","d","getCombinationList","getCombinationDetail","getCombinationPink","getCombinationRemove","getSeckillConfig","getSeckillList","getSeckillDetail","getBargainList","getBargainDetail","getBargainShare","getBargainStart","getBargainHelp","getBargainHelpPrice","getBargainHelpCount","getBargainStartUser","getBargainHelpList","getBargainUserList","getBargainUserCancel","_utils_request__WEBPACK_IMPORTED_MODUL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EAAqBjC,GACnC,OAAOiD,OAAQG,KAAK,sBAAuBpD,GAOtC,SAASQ,EAAqBR,GACnC,OAAOiD,OAAQG,KAAK,sBAAuBpD,GAMtC,SAASkC,IACd,OAAOe,OAAQC,IAAI,iBAAkB,GAAI,CAAEC,OAAO,IAM7C,SAAShB,EAAekB,EAAMrD,GACnC,OAAOiD,OAAQC,IAAI,iBAAmBG,EAAMrD,EAAM,CAAEmD,OAAO,IAMtD,SAASf,EAAiBnC,GAC/B,OAAOgD,OAAQC,IAAI,mBAAqBjD,EAAI,GAAI,CAAEkD,OAAO,IAOpD,SAASd,EAAerC,GAC7B,OAAOiD,OAAQC,IAAI,gBAAiBlD,EAAM,CAAEmD,OAAO,IAM9C,SAASb,EAAiBrC,GAC/B,OAAOgD,OAAQC,IAAI,mBAAqBjD,GAMnC,SAASsC,EAAgBvC,GAC9B,OAAOiD,OAAQG,KAAK,iBAAkBpD,GAOjC,SAASwC,EAAgBxC,GAC9B,OAAOiD,OAAQG,KAAK,iBAAkBpD,GAOjC,SAASyC,EAAezC,GAC7B,OAAOiD,OAAQG,KAAK,gBAAiBpD,GAOhC,SAAS0C,EAAoB1C,GAClC,OAAOiD,OAAQG,KAAK,sBAAuBpD,GAOtC,SAAS2C,EAAoB3C,GAClC,OAAOiD,OAAQG,KAAK,sBAAuBpD,GAOtC,SAAS4C,EAAoB5C,GAClC,OAAOiD,OAAQG,KAAK,sBAAuBpD,GAOtC,SAAS6C,EAAmB7C,GACjC,OAAOiD,OAAQG,KAAK,qBAAsBpD,GAOrC,SAASO,EAAiBP,GAC/B,OAAOiD,OAAQG,KAAK,kBAAmBpD,GAOlC,SAAS8C,EAAmB9C,GACjC,OAAOiD,OAAQC,IAAI,qBAAsBlD,GAMpC,SAAS+C,EAAqB/C,GACnC,OAAOiD,OAAQG,KAAK,uBAAwBpD","file":"h5/js/chunk-2539197c.357e0dd2.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.status === false)?_c('div',{staticClass:\"poster-poster\"},[_vm._m(0),_c('div',{staticClass:\"poster\"},[_c('img',{attrs:{\"src\":_vm.image}})])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"tip\"},[_c('span',{staticClass:\"iconfont icon-shuoming\"}),_vm._v(\"提示:长按图片保存至手机相册\\n \")])}]\n\nexport { render, staticRenderFns }","<template>\r\n <div class=\"poster-poster\" v-if=\"status === false\">\r\n <div class=\"tip\">\r\n <span class=\"iconfont icon-shuoming\"></span>提示:长按图片保存至手机相册\r\n </div>\r\n <div class=\"poster\"><img :src=\"image\" /></div>\r\n </div>\r\n</template>\r\n<style scoped>\r\n.poster-poster {\r\n height: unset !important;\r\n}\r\n</style>\r\n\r\n<script>\r\nimport { getBargainPoster, getCombinationPoster } from \"@api/activity\";\r\n\r\nexport default {\r\n name: \"Poster\",\r\n components: {},\r\n props: {},\r\n data: function() {\r\n return {\r\n status: true,\r\n id: 0,\r\n image: \"\"\r\n };\r\n },\r\n mounted: function() {\r\n var that = this;\r\n var id = that.$route.params.id;\r\n var type = that.$route.params.type;\r\n that.id = id;\r\n if (type == 2) that.getBargainPoster();\r\n else that.getCombinationPoster();\r\n },\r\n methods: {\r\n getBargainPoster: function() {\r\n var that = this;\r\n getBargainPoster({ bargainId: that.id, from: \"wechat\" })\r\n .then(res => {\r\n that.image = res.data.url;\r\n that.status = false;\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\r\n });\r\n },\r\n getCombinationPoster: function() {\r\n var that = this;\r\n getCombinationPoster({ id: that.id, from: \"wechat\" })\r\n .then(res => {\r\n that.image = res.data.url;\r\n that.status = false;\r\n })\r\n .catch(res => {\r\n that.$dialog.error(res.msg);\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!./Poster.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!./Poster.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Poster.vue?vue&type=template&id=ff36e5c0&scoped=true&\"\nimport script from \"./Poster.vue?vue&type=script&lang=js&\"\nexport * from \"./Poster.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Poster.vue?vue&type=style&index=0&id=ff36e5c0&scoped=true&lang=css&\"\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 \"ff36e5c0\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Poster.vue?vue&type=style&index=0&id=ff36e5c0&scoped=true&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Poster.vue?vue&type=style&index=0&id=ff36e5c0&scoped=true&lang=css&\"","import request from \"@utils/request\";\r\n\r\n/**\r\n * 拼团列表\r\n */\r\nexport function getCombinationList(data) {\r\n return request.get(\"/combination/list\", data, { login: false });\r\n}\r\n\r\n/**\r\n * 拼团产品详情\r\n * @param {*} id\r\n */\r\nexport function getCombinationDetail(id) {\r\n return request.get(\"/combination/detail/\" + id, {}, { login: false });\r\n}\r\n\r\n/**\r\n * 拼团 开团\r\n * @param {*} id\r\n */\r\nexport function getCombinationPink(id) {\r\n return request.get(\"/combination/pink/\" + id);\r\n}\r\n\r\n/**\r\n * 拼团 取消开团\r\n */\r\nexport function getCombinationRemove(data) {\r\n return request.post(\"/combination/remove\", data);\r\n}\r\n\r\n/**\r\n * 拼团海报\r\n * @param {*} id\r\n */\r\nexport function getCombinationPoster(data) {\r\n return request.post(\"/combination/poster\", data);\r\n}\r\n\r\n/**\r\n * 秒杀列表配置\r\n */\r\nexport function getSeckillConfig() {\r\n return request.get(\"/seckill/index\", {}, { login: false });\r\n}\r\n\r\n/**\r\n * 秒杀列表\r\n */\r\nexport function getSeckillList(time, data) {\r\n return request.get(\"/seckill/list/\" + time, data, { login: false });\r\n}\r\n\r\n/**\r\n * 秒杀产品详情\r\n */\r\nexport function getSeckillDetail(id) {\r\n return request.get(\"/seckill/detail/\" + id, {}, { login: false });\r\n}\r\n\r\n/**\r\n * 砍价列表\r\n * @param {*} data\r\n */\r\nexport function getBargainList(data) {\r\n return request.get(\"/bargain/list\", data, { login: false });\r\n}\r\n\r\n/**\r\n * 砍价产品详情\r\n */\r\nexport function getBargainDetail(id) {\r\n return request.get(\"/bargain/detail/\" + id);\r\n}\r\n\r\n/**\r\n * 砍价 观看/分享/参与次数\r\n */\r\nexport function getBargainShare(data) {\r\n return request.post(\"/bargain/share\", data);\r\n}\r\n\r\n/**\r\n * 砍价开启\r\n * @param {*} data\r\n */\r\nexport function getBargainStart(data) {\r\n return request.post(\"/bargain/start\", data);\r\n}\r\n\r\n/**\r\n * 砍价 帮助好友砍价\r\n * @param {*} data\r\n */\r\nexport function getBargainHelp(data) {\r\n return request.post(\"/bargain/help\", data);\r\n}\r\n\r\n/**\r\n * 砍价 砍掉金额\r\n * @param {*} data\r\n */\r\nexport function getBargainHelpPrice(data) {\r\n return request.post(\"/bargain/help/price\", data);\r\n}\r\n\r\n/**\r\n * 砍价 砍价帮总人数、剩余金额、进度条、已经砍掉的价格\r\n * @param {*} data\r\n */\r\nexport function getBargainHelpCount(data) {\r\n return request.post(\"/bargain/help/count\", data);\r\n}\r\n\r\n/**\r\n * 砍价 开启砍价用户信息\r\n * @param {*} data\r\n */\r\nexport function getBargainStartUser(data) {\r\n return request.post(\"/bargain/start/user\", data);\r\n}\r\n\r\n/**\r\n * 砍价 砍价帮\r\n * @param {*} data\r\n */\r\nexport function getBargainHelpList(data) {\r\n return request.post(\"/bargain/help/list\", data);\r\n}\r\n\r\n/**\r\n * 砍价海报\r\n * @param {*} data\r\n */\r\nexport function getBargainPoster(data) {\r\n return request.post(\"/bargain/poster\", data);\r\n}\r\n\r\n/**\r\n * 砍价列表(已参与)\r\n * @param {*} data\r\n */\r\nexport function getBargainUserList(data) {\r\n return request.get(\"/bargain/user/list\", data);\r\n}\r\n\r\n/**\r\n * 砍价取消\r\n */\r\nexport function getBargainUserCancel(data) {\r\n return request.post(\"/bargain/user/cancel\", data);\r\n}\r\n"],"sourceRoot":""}