chunk-05ea8763.4e128db2.js.map 11 KB

1
  1. {"version":3,"sources":["webpack:///./src/views/activity/Poster.vue?1f08","webpack:///src/views/activity/Poster.vue","webpack:///./src/views/activity/Poster.vue?b965","webpack:///./src/views/activity/Poster.vue","webpack:///./src/views/activity/Poster.vue?d3a5","webpack:///./src/api/activity.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","status","staticClass","_m","attrs","image","_e","staticRenderFns","_v","name","components","props","data","id","mounted","that","$route","params","type","getBargainPoster","methods","getCombinationPoster","component","getCombinationList","request","get","login","getCombinationDetail","getCombinationPink","getCombinationRemove","post","getSeckillConfig","getSeckillList","time","getSeckillDetail","getBargainList","getBargainDetail","getBargainShare","getBargainStart","getBargainHelp","getBargainHelpPrice","getBargainHelpCount","getBargainStartUser","getBargainHelpList","getBargainUserList","getBargainUserCancel"],"mappings":"gJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAuB,IAAfF,EAAIM,OAAkBF,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACP,EAAIQ,GAAG,GAAGJ,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,MAAM,CAACK,MAAM,CAAC,IAAMT,EAAIU,aAAaV,EAAIW,MAClPC,EAAkB,CAAC,WAAa,IAAIZ,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACG,YAAY,OAAO,CAACH,EAAG,OAAO,CAACG,YAAY,2BAA2BP,EAAIa,GAAG,0B,YCgBjM,GACEC,KAAM,SACNC,WAAY,GACZC,MAAO,GACPC,KAAM,WACJ,MAAO,CACLX,QAAQ,EACRY,GAAI,EACJR,MAAO,KAGXS,QAAS,WACP,IAAIC,EAAOnB,KACPiB,EAAKE,EAAKC,OAAOC,OAAOJ,GACxBK,EAAOH,EAAKC,OAAOC,OAAOC,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GAC9B,OAAOY,OAAQM,KAAK,iBAAkBlB,GAOjC,SAAS2B,EAAe3B,GAC7B,OAAOY,OAAQM,KAAK,gBAAiBlB,GAOhC,SAAS4B,EAAoB5B,GAClC,OAAOY,OAAQM,KAAK,sBAAuBlB,GAOtC,SAAS6B,EAAoB7B,GAClC,OAAOY,OAAQM,KAAK,sBAAuBlB,GAOtC,SAAS8B,EAAoB9B,GAClC,OAAOY,OAAQM,KAAK,sBAAuBlB,GAOtC,SAAS+B,EAAmB/B,GACjC,OAAOY,OAAQM,KAAK,qBAAsBlB,GAOrC,SAASO,EAAiBP,GAC/B,OAAOY,OAAQM,KAAK,kBAAmBlB,GAOlC,SAASgC,EAAmBhC,GACjC,OAAOY,OAAQC,IAAI,qBAAsBb,GAMpC,SAASiC,EAAqBjC,GACnC,OAAOY,OAAQM,KAAK,uBAAwBlB","file":"h5/js/chunk-05ea8763.4e128db2.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@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!./Poster.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!./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@15.9.0@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@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!./Poster.vue?vue&type=style&index=0&id=ff36e5c0&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!./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":""}