5b044d6.js.map 19 KB

1
  1. {"version":3,"sources":["webpack:///./node_modules/core-js/internals/create-html.js","webpack:///./node_modules/core-js/internals/string-html-forced.js","webpack:///./components/Zoom.vue?5291","webpack:///./components/Zoom.vue","webpack:///./components/Zoom.vue?a9cb","webpack:///./components/Zoom.vue?869a","webpack:///./components/Zoom.vue?0324","webpack:///./components/product/ProductLeft.vue?dced","webpack:///./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack:///./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack:///./assets/img/play.png","webpack:///./node_modules/core-js/modules/es.string.big.js","webpack:///./components/product/ProductLeft.vue?6d8c","webpack:///./components/product/ProductLeft.vue","webpack:///./components/product/ProductLeft.vue?9b2d","webpack:///./components/product/ProductLeft.vue?dddc"],"names":["uncurryThis","requireObjectCoercible","toString","quot","replace","module","exports","string","tag","attribute","value","S","p1","fails","METHOD_NAME","test","toLowerCase","split","length","name","props","imgUrl","String","data","methods","handler","event","mask","this","$refs","left","offsetX","offsetWidth","top","offsetY","offsetHeight","style","obj","bigShow","$emit","leave","component","_vm","_c","_self","staticClass","staticStyle","attrs","_v","on","$event","ref","_toConsumableArray","r","Array","isArray","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","TypeError","$","createHTML","target","proto","forced","forcedStringHTMLMethod","big","staticRenderFns","require","components","Zoom","ElImageViewer","pageData","type","Object","default","id","Number","indexBanner","btnObj","btnCurrent","current3D","btnShow","showViewer","computed","currentPre","$store","state","product","smImgUlIdx","comInfo","temp","main","a","image_color","map","i","image","mergeImages","concat","images","comS3Img","_this","url","$utils","repaceDomain","watch","newVal","carousel","setActiveItem","mounted","video","volume","_objectSpread","mapMutations","setSmImgUlIdx","handleSwitch","val","changeCarousel","_this$comInfo$mergeIm","play","pause","selectCurrent3D","goDesign","template_id","goods_id","_this2","$axios","get","params","then","res","href","$router","resolve","result","window","open","getStyle","bigImg","closeViewer","handleViwer","_vm$comInfo$mergeImag","directives","rawName","expression","generateResizedImageUrl","_l","item","key","_e","template","index","class","_s","_vm$comInfo$mergeImag2","_m","backgroundImage","installComponents"],"mappings":"8FACA,IAAIA,EAAc,EAAQ,GACtBC,EAAyB,EAAQ,IACjCC,EAAW,EAAQ,IAEnBC,EAAO,KACPC,EAAUJ,EAAY,GAAGI,SAI7BC,EAAOC,QAAU,SAAUC,EAAQC,EAAKC,EAAWC,GACjD,IAAIC,EAAIT,EAASD,EAAuBM,IACpCK,EAAK,IAAMJ,EAEf,MADkB,KAAdC,IAAkBG,GAAM,IAAMH,EAAY,KAAOL,EAAQF,EAASQ,GAAQP,EAAM,UAAY,KACzFS,EAAK,IAAMD,EAAI,KAAOH,EAAM,GACrC,C,mCCdA,IAAIK,EAAQ,EAAQ,GAIpBR,EAAOC,QAAU,SAAUQ,GACzB,OAAOD,GAAM,WACX,IAAIE,EAAO,GAAGD,GAAa,KAC3B,OAAOC,IAASA,EAAKC,eAAiBD,EAAKE,MAAM,KAAKC,OAAS,CACjE,GACF,C,sBCTAb,EAAOC,QAAU,CAAC,C,0CCDlB,ICAiP,EDElO,CACba,KAAM,OACNC,MAAO,CACLC,OAAQC,QAEVC,KAAI,WACF,MAAO,CACP,CACF,EACAC,QAAS,CACPC,QAAO,SAACC,GACN,IAAIC,KAAOC,KAAKC,MAAMF,KAGlBG,EAAOJ,EAAMK,QAAUJ,KAAKK,YAAc,EAC1CC,EAAMP,EAAMQ,QAAUP,KAAKQ,aAAe,EAE1CL,GAAQ,IAAGA,EAAO,GAClBA,GAAQH,KAAKK,cAAaF,EAAOH,KAAKK,aACtCC,GAAO,IAAGA,EAAM,GAChBA,GAAON,KAAKQ,eAAcF,EAAMN,KAAKQ,cAGzCR,KAAKS,MAAMN,KAAOA,EAAO,KACzBH,KAAKS,MAAMH,IAAMA,EAAM,KAGvB,IAAII,EAAM,CAAC,EACXA,EAAIP,KAAOA,EACXO,EAAIJ,IAAMA,EACVI,EAAIC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O6H,QAAQ,SAAStI,MAAOgC,EAAIsC,WAAYiE,WAAW,eAAepG,YAAY,WAAW,CAACF,EAAG,KAAKD,EAAIyG,GAAIzG,EAAI8B,SAAS+E,UAAU,SAASH,EAAKI,GAAO,OAAO7G,EAAG,KAAK,CAAC0G,IAAIG,EAAM3G,YAAY,SAAS4G,MAAM/G,EAAIuC,WAAauE,EAAQ,OAAS,GAAGpH,MAAO,CAAEyH,gBAAiB,OAAST,EAAKnD,MAAQ,KAAOhD,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOR,EAAIgF,gBAAgB8B,EAAM,IAAI,IAAG,KAAK9G,EAAIM,GAAG,KAAMN,EAAIyC,WAAYxC,EAAG,gBAAgB,CAACI,MAAM,CAAC,gBAAgBL,EAAI2C,WAAW,WAAW3C,EAAIkG,YAAY,WAAWlG,EAAI2D,YAAY3D,EAAI4G,MAAM,EAC5gG,GEUEnF,GACA,EACA,KACA,WACA,MAIa,UAAA1B,UAAiB,QAGhCqH,kBAAkBrH,UAAW,CAAC6B,KAAM,EAAQ,KAAsDK,S","file":"5b044d6.js","sourcesContent":["'use strict';\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\n\nvar quot = /\"/g;\nvar replace = uncurryThis(''.replace);\n\n// `CreateHTML` abstract operation\n// https://tc39.es/ecma262/#sec-createhtml\nmodule.exports = function (string, tag, attribute, value) {\n var S = toString(requireObjectCoercible(string));\n var p1 = '<' + tag;\n if (attribute !== '') p1 += ' ' + attribute + '=\"' + replace(toString(value), quot, '&quot;') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\n// check the existence of a method, lowercase\n// of a tag and escaping quotes in arguments\nmodule.exports = function (METHOD_NAME) {\n return fails(function () {\n var test = ''[METHOD_NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n });\n};\n","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","\n\nexport default {\n name: \"Zoom\",\n props: {\n imgUrl: String,\n },\n data() {\n return {\n };\n },\n methods: {\n handler(event) {\n let mask = this.$refs.mask;\n // let bigImg = this.$refs.big;\n // 遮罩层可移动的范围:鼠标的当前坐标到该元素的距离(左侧、顶部)减去 遮罩层宽、高的一半(遮罩层始终是一个以鼠标为中心的正方形)\n let left = event.offsetX - mask.offsetWidth / 2;\n let top = event.offsetY - mask.offsetHeight / 2;\n // 约束遮罩层可移动的范围\n if (left <= 0) left = 0;\n if (left >= mask.offsetWidth) left = mask.offsetWidth;\n if (top <= 0) top = 0;\n if (top >= mask.offsetHeight) top = mask.offsetHeight;\n\n // 修改元素的left|top属性值\n mask.style.left = left + \"px\";\n mask.style.top = top + \"px\";\n // bigImg.style.left = -2 * left + \"px\";\n // bigImg.style.top = -2 * top + \"px\";\n let obj = {};\n obj.left = left;\n obj.top = top;\n obj.bigShow = true;\n this.$emit(\"sendStyle\", obj);\n },\n leave() {\n let obj = {};\n obj.left = 0;\n obj.top = 0;\n obj.bigShow = false;\n this.$emit(\"sendStyle\", obj);\n },\n },\n};\n","import mod from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Zoom.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/babel-loader/lib/index.js??ref--2-0!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Zoom.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Zoom.vue?vue&type=template&id=5b247e95&scoped=true\"\nimport script from \"./Zoom.vue?vue&type=script&lang=js\"\nexport * from \"./Zoom.vue?vue&type=script&lang=js\"\nimport style0 from \"./Zoom.vue?vue&type=style&index=0&id=5b247e95&prod&lang=scss&scoped=true\"\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 \"5b247e95\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Zoom.vue?vue&type=style&index=0&id=5b247e95&prod&lang=scss&scoped=true\"","// extracted by extract-css-chunks-webpack-plugin\nmodule.exports = {};","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nfunction _toConsumableArray(r) {\n return arrayWithoutHoles(r) || iterableToArray(r) || unsupportedIterableToArray(r) || nonIterableSpread();\n}\nexport { _toConsumableArray as default };","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nfunction _arrayWithoutHoles(r) {\n if (Array.isArray(r)) return arrayLikeToArray(r);\n}\nexport { _arrayWithoutHoles as default };","function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}\nexport { _nonIterableSpread as default };","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAYCAYAAAAPtVbGAAAAAXNSR0IArs4c6QAAAepJREFUSEu9lk2IT2EUxn9Pk2SaBWWhbAYlalKk5GMhZKNYMWYnC6TMzhZjMRs7OxbKQr5WpmYjHwthMyspUj5SJDOYhZSFHp1/5+rOnTtzh9z/u7of7z2/8/Gc817RsGyvA4aAXcAAsDQ/mQaeAw+A65JezmVKc72wvRa4AOzPPb+AMPQp71cA4UBP3o8BpyW9qtqshdg+BlwEFgNP8npc0veyAdt9wD5gGNgG/IxrSZfL+2ZBbJ8DzgLfgOOSbjelNN7bPghcApYBI5LCTmfNgGQEsfE1sFfSm4UAij22VwN3gTXpYCeiP5CswTPgB7D5bwEV0ATQC2yIGpUhd7LIh+pSZHsj8F7Sl6boMnW3gDFJBzqQlOmLKLKk7VUjtpcDn4EAnJJ0YwGgxymG9QVkBDgDHJZ0swbSD7wtPY+oT0gq5DyLaXsQCGfOF5BHwNZotKpMM9IC8hBYBOwAvqZcr9VFlfKOhn1aQEKuHyRFR9d5VUCuAkezL0aBJUBEdVLSx5oMxERYWUAM3Je0pwki6UhGtwq4AuwEwuMt1W63fQ/Y3VVIV9LVlcJ3RcIxspuacRKY+udmTLU0jZVNwDtJ0R/zrtqxkpA4pNodkAmKw6q9UV8a1e0eWiVQu8dvCdTuj0RZOv/jl+g3/RhEvhTk7TEAAAAASUVORK5CYII=\"","'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.big` method\n// https://tc39.es/ecma262/#sec-string.prototype.big\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('big') }, {\n big: function big() {\n return createHTML(this, 'big', '', '');\n }\n});\n","export * from \"-!../../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/dist/cjs.js??ref--7-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--7-oneOf-1-3!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductLeft.vue?vue&type=style&index=0&id=2ff2d67f&prod&lang=scss&scoped=true\"","\nimport { mapMutations } from 'vuex'\nimport ElImageViewer from \"element-ui/packages/image/src/image-viewer\";\nimport Zoom from \"@/components/Zoom\";\n\nexport default {\n components: { Zoom,ElImageViewer },\n props: {\n pageData: {\n type: Object,\n default: () => {\n return {};\n },\n },\n id: {\n type: Number,\n default: 0\n },\n },\n data() {\n return {\n indexBanner: [],\n btnObj: [\"View larger\", \"3D Preview\"],\n btnCurrent: 0, // 0 预览图,1 3D图\n // currentPre: 0, // 预览图序号\n current3D: 0, // 3D图序号\n btnShow: true, // 所有按钮显示\n bigShow: false,\n showViewer: false,\n };\n },\n computed: {\n currentPre(){\n return this.$store.state.product.smImgUlIdx\n },\n comInfo(){\n const temp = this.pageData.main\n const a = temp.image_color.map((i)=>i.image)\n temp.mergeImages = [...temp.images,...a]\n\t\t\treturn temp\n\t\t},\n comS3Img(){\n\t\t\treturn this.comInfo.mergeImages.map(url => this.$utils.repaceDomain(url));\n\t\t}\n },\n watch:{\n currentPre(newVal){\n this.$refs.carousel.setActiveItem(newVal);\n }\n },\n mounted(){\n if(this.comInfo.video){\n this.$refs.video.volume = 0.5;\n }\n },\n methods: {\n ...mapMutations({ setSmImgUlIdx: 'product/setSmImgUlIdx' }),\n handleSwitch(val) {\n this.btnCurrent = val;\n },\n changeCarousel (val) {\n this.setSmImgUlIdx(val);\n if (val === this.comInfo.mergeImages?.length) {\n this.btnShow = false;\n this.comInfo.video && this.$refs.video.play();\n } else {\n this.btnShow = true;\n this.comInfo.video && this.$refs.video.pause();\n }\n },\n selectCurrent3D(val) {\n this.current3D = val;\n },\n goDesign(template_id, goods_id) {\n this.$axios\n .get(\"/bxh/design\", { params: { template_id, goods_id } })\n .then((res) => {\n const { href } = this.$router.resolve({\n name: \"design-id\",\n params: { id: res.result },\n });\n window.open(href, \"_black\");\n });\n },\n getStyle(val) {\n const bigImg = this.$refs.big;\n bigImg.style.left = -2 * val.left + \"px\";\n bigImg.style.top = -2 * val.top + \"px\";\n this.bigShow = val.bigShow;\n },\n closeViewer() {\n this.showViewer = false;\n },\n\thandleViwer(){\n\t\tthis.showViewer = true;\n\t}\n }\n};\n","import mod from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductLeft.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/babel-loader/lib/index.js??ref--2-0!../../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProductLeft.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ProductLeft.vue?vue&type=template&id=2ff2d67f&scoped=true\"\nimport script from \"./ProductLeft.vue?vue&type=script&lang=js\"\nexport * from \"./ProductLeft.vue?vue&type=script&lang=js\"\nimport style0 from \"./ProductLeft.vue?vue&type=style&index=0&id=2ff2d67f&prod&lang=scss&scoped=true\"\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 \"2ff2d67f\",\n null\n \n)\n\nexport default component.exports\n\n/* nuxt-component-imports */\ninstallComponents(component, {Zoom: require('/Users/wu67/Projects/shop_site/components/Zoom.vue').default})\n"],"sourceRoot":""}