1 |
- {"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.string.link.js","webpack:///./node_modules/core-js/internals/create-html.js","webpack:///./node_modules/core-js/internals/string-html-forced.js","webpack:///./components/Bxh.vue?1b2c","webpack:///./components/Bxh.vue?cdd4","webpack:///./components/Bxh.vue","webpack:///./components/Bxh.vue?bbc9","webpack:///./components/Bxh.vue?b5f5","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?3f17","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?d18c","webpack:///./components/product/ProductLeft.vue","webpack:///./components/product/ProductLeft.vue?9b2d","webpack:///./components/product/ProductLeft.vue?dddc"],"names":["$","createHTML","target","proto","forced","forcedStringHTMLMethod","link","url","this","uncurryThis","requireObjectCoercible","toString","quot","replace","module","exports","string","tag","attribute","value","S","p1","fails","METHOD_NAME","test","toLowerCase","split","length","head","rel","href","props","bxhType","String","design","Number","height","type","default","templateArr","Array","data","iframe","watch","mounted","_this","$nextTick","createBxh","window","addEventListener","receiveData","beforeDestroy","removeEventListener","methods","_this2","_asyncToGenerator","regeneratorRuntime","mark","_callee","companyToken","token","_token","wrap","_context","prev","next","$axios","get","sent","init","result","stop","id","BXHIframe","elCls","prefixCls","locale","params","token3D","project_id","isShowRotate","isShowFold","name","event","_JSON$parse","JSON","parse","e","preDesignParams","preDesign","_objectSpread","render","console","log","error","component","_c","_self","staticClass","style","imgUrl","handler","mask","$refs","left","offsetX","offsetWidth","top","offsetY","offsetHeight","obj","bigShow","$emit","leave","_vm","staticStyle","attrs","_v","on","$event","ref","_toConsumableArray","r","isArray","arrayLikeToArray","iterableToArray","unsupportedIterableToArray","TypeError","big","staticRenderFns","require","components","Zoom","ElImageViewer","pageData","Object","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","$utils","repaceDomain","newVal","carousel","setActiveItem","video","volume","mapMutations","setSmImgUlIdx","handleSwitch","val","changeCarousel","_this$comInfo$mergeIm","play","pause","selectCurrent3D","goDesign","template_id","goods_id","then","res","$router","resolve","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","Bxh"],"mappings":"8FACA,IAAIA,EAAI,EAAQ,GACZC,EAAa,EAAQ,KAKzBD,EAAE,CAAEE,OAAQ,SAAUC,OAAO,EAAMC,OAJN,EAAQ,IAIMC,CAAuB,SAAW,CAC3EC,KAAM,SAAcC,GAClB,OAAON,EAAWO,KAAM,IAAK,OAAQD,EACvC,G,mCCTF,IAAIE,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,GAC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qE,EAAG,QAAQ,CAACoB,MAAM,CAAC,MAAQ,OAAO,OAAS,OAAO,IAAMF,EAAIkC,QAAQiB,SAASnD,EAAIG,GAAG,KAAKH,EAAIwF,GAAG,KAAKxF,EAAIkF,MAAM,KAAKlF,EAAIG,GAAG,KAAKrB,EAAG,MAAM,CAAC6F,WAAW,CAAC,CAAC3G,KAAK,OAAO4G,QAAQ,SAAS3K,MAAO+F,EAAIwB,WAAYqD,WAAW,eAAe7F,YAAY,WAAW,CAACF,EAAG,KAAKkB,EAAI+E,GAAI/E,EAAIoB,SAAS+D,UAAU,SAASH,EAAKI,GAAO,OAAOtG,EAAG,KAAK,CAACmG,IAAIG,EAAMpG,YAAY,SAASqG,MAAMrF,EAAIyB,WAAa2D,EAAQ,OAAS,GAAGnG,MAAO,CAAEwG,gBAAiB,OAAST,EAAKvC,MAAQ,KAAOrC,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOL,EAAI6D,gBAAgBuB,EAAM,IAAI,IAAG,KAAKpF,EAAIG,GAAG,KAAMH,EAAI2B,WAAY7C,EAAG,gBAAgB,CAACoB,MAAM,CAAC,gBAAgBF,EAAI6B,WAAW,WAAW7B,EAAIwE,YAAY,WAAWxE,EAAI6C,YAAY7C,EAAIkF,MAAM,EAC5kH,GEUEnE,GACA,EACA,KACA,WACA,MAIa,UAAAlC,UAAiB,QAGhC6G,kBAAkB7G,UAAW,CAACqC,KAAM,EAAQ,KAAsD9F,QAAQuK,IAAK,EAAQ,KAAqDvK,S","file":"60c1e14.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar createHTML = require('../internals/create-html');\nvar forcedStringHTMLMethod = require('../internals/string-html-forced');\n\n// `String.prototype.link` method\n// https://tc39.es/ecma262/#sec-string.prototype.link\n$({ target: 'String', proto: true, forced: forcedStringHTMLMethod('link') }, {\n link: function link(url) {\n return createHTML(this, 'a', 'href', url);\n }\n});\n","'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, '"') + '\"';\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 = {};","export * from \"-!../node_modules/extract-css-chunks-webpack-plugin/dist/loader.js??ref--3-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--3-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/dist/cjs.js??ref--3-oneOf-1-2!../node_modules/@nuxt/components/dist/loader.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./Bxh.vue?vue&type=style&index=0&id=500dc45e&prod&scoped=true&lang=css\"","\nexport default {\n head(){\n\t\treturn {\n\t\t\tlink: [\n\t\t\t\t{ rel: 'stylesheet', href: '//yun.baoxiaohe.com/openflatform/css/v1.0/sdk.css' },],\n\t\t}\n\t},\n props:{\n bxhType:String,\n design:Number,\n height:{\n type: String,\n default: '99vh',\n },\n link:String,\n templateArr:{\n type: Array,\n default: ()=>{\n return []\n },\n }\n },\n data() {\n return {\n iframe: null,\n }\n },\n watch:{\n },\n mounted() {\n this.$nextTick(()=>{\n this.createBxh()\n });\n window.addEventListener(\"message\", this.receiveData)\n },\n beforeDestroy() {\n window.removeEventListener(\"message\", this.receiveData)\n },\n methods: {\n async createBxh() {\n if(this.bxhType=='3D'){\n let companyToken = await this.$axios.get(\"/bxh/company/token\")\n let design=this.design || this.link\n this.init(design,companyToken.result,this.bxhType)\n }else if(this.bxhType=='design'){\n let token = await this.$axios.get(\"/bxh/token\")\n this.init(this.design,token.result,this.bxhType)\n }else if(this.bxhType=='render'){\n let token = await this.$axios.get(\"/bxh/token\")\n this.init(this.design,token.result,this.bxhType)\n }\n },\n init(id,token,bxhType) {\n this.iframe = new window.BXHIframe({\n // production: false,\n // env:true,\n elCls:'iframe-dom',\n prefixCls:'detail-iframe-sdk',\n locale:\"en-US\",\n params: {\n id,\n token3D:token,\n token,\n project_id: id,\n isShowRotate:false, //右下角的旋转按钮\n isShowFold:false, //右下角的折叠按钮\n locale:\"en-US\"\n },\n name: bxhType,\n })\n },\n \n receiveData(event) {\n if (event) {\n try {\n if (typeof event.data === \"string\") {\n const { event: e, name, params,preDesignParams } = JSON.parse(\n event.data\n )\n if (e === \"needLogin\") {\n this.iframe.preDesign({...preDesignParams,token: ''})\n } else if (e === \"viewDetails\") {\n this.iframe.render({ name, params })\n }else if (e === \"viewDetails\") {\n this.iframe.render({ name, params })\n } else if (e === \"startDesign\") {\n this.iframe.render({ params: { id: params.id, token: '' }, name: \"design\" })\n } else if (e === \"logoutSuccess\") {\n console.log(\"logoutSuccess\")\n } else if (e === \"reloadParams\") {\n console.log(\"reloadParams\")\n } else if (e === \"saveSuccess\") {\n console.log(\"saveSuccess\")\n } else if (e === \"saveFail\") {\n console.log(\"saveFail\")\n } else if (e === \"loadSuccess\") {\n console.log(\"loadSuccess\")\n } else if (e === \"toPreview3d\") {\n console.log(\"手机端编辑器进入3d页面回调\")\n } else if (e === \"toEditor\") {\n console.log(\"手机端从3d页面进入编辑器回调\")\n } \n }\n } catch (error) {\n console.log(error)\n }\n }\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!./Bxh.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!./Bxh.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Bxh.vue?vue&type=template&id=500dc45e&scoped=true\"\nimport script from \"./Bxh.vue?vue&type=script&lang=js\"\nexport * from \"./Bxh.vue?vue&type=script&lang=js\"\nimport style0 from \"./Bxh.vue?vue&type=style&index=0&id=500dc45e&prod&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 \"500dc45e\",\n null\n \n)\n\nexport default component.exports","// 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=7d12b996&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=7d12b996&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=7d12b996&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 \"7d12b996\",\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,Bxh: require('/Users/wu67/Projects/shop_site/components/Bxh.vue').default})\n"],"sourceRoot":""}
|