{"version":3,"sources":["uni-app:///main.js","webpack:///D:/www/YPB2C/app/main/pages/index/fetchData.vue?96b1","webpack:///D:/www/YPB2C/app/main/pages/index/fetchData.vue?e7f7","webpack:///D:/www/YPB2C/app/main/pages/index/fetchData.vue?1226","webpack:///D:/www/YPB2C/app/main/pages/index/fetchData.vue?3357","uni-app:///pages/index/fetchData.vue","webpack:///D:/www/YPB2C/app/main/pages/index/fetchData.vue?8c11","webpack:///D:/www/YPB2C/app/main/pages/index/fetchData.vue?91b5"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page"],"mappings":"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","file":"pages/index/fetchData.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/index/fetchData.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./fetchData.vue?vue&type=template&id=5484999e&\"\nvar renderjs\nimport script from \"./fetchData.vue?vue&type=script&lang=js&\"\nexport * from \"./fetchData.vue?vue&type=script&lang=js&\"\nimport style0 from \"./fetchData.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\runtime\\\\componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null,\n  false,\n  components,\n  renderjs\n)\n\ncomponent.options.__file = \"pages/index/fetchData.vue\"\nexport default component.exports","export * from \"-!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\templateLoader.js??vue-loader-options!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--16-0!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\template.js!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-uni-app-loader\\\\page-meta.js!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fetchData.vue?vue&type=template&id=5484999e&\"","var components\ntry {\n  components = {\n    uniIcons: function() {\n      return import(\n        /* webpackChunkName: \"components/uni-icons/uni-icons\" */ \"@/components/uni-icons/uni-icons.vue\"\n      )\n    }\n  }\n} catch (e) {\n  if (\n    e.message.indexOf(\"Cannot find module\") !== -1 &&\n    e.message.indexOf(\".vue\") !== -1\n  ) {\n    console.error(e.message)\n    console.error(\"1. 排查组件名称拼写是否正确\")\n    console.error(\n      \"2. 排查组件是否符合 easycom 规范，文档：https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n    )\n    console.error(\n      \"3. 若组件不符合 easycom 规范，需手动引入，并在 components 中注册该组件\"\n    )\n  } else {\n    throw e\n  }\n}\nvar render = function() {\n  var _vm = this\n  var _h = _vm.$createElement\n  var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","import mod from \"-!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fetchData.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fetchData.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view style=\"width: 100%;height: 100%; overflow: hidden;position: absolute;top: 0;left: 0;\" @touchmove=\"move\" @touchstart=\"moveStart\" @touchend=\"moveEnd\">\r\n\t\t<view style=\"position: absolute;left: 20rpx;top: 50rpx;z-index: 999;\" @tap=\"back\">\t\r\n\t\t\t<uni-icons type=\"back\" size=\"60r\" color=\"#fff\"></uni-icons>\r\n\t\t</view>\r\n\t\t<image class=\"vinImg\" :src=\"vinImg\" :style=\"vinImgStyle\" @load=\"setVinImg\"></image>\r\n\t\t<view class=\"zz\">\r\n\t\t\t<view style=\"border-left: 10rpx solid #fff;border-top: 10rpx solid #fff;width: 25rpx;height: 25rpx;position: absolute;left: 0;top: 0;\"></view>\r\n\t\t\t<view style=\"border-top: 10rpx solid #fff;border-right: 10rpx solid #fff;width: 25rpx;height: 25rpx;position: absolute;right: 0;top: 0;\"></view>\r\n\t\t\t<view style=\"border-right: 10rpx solid #fff;border-bottom: 10rpx solid #fff;width: 25rpx;height: 25rpx;position: absolute;right: 0;bottom: 0;\"></view>\r\n\t\t\t<view style=\"border-left: 10rpx solid #fff;border-bottom: 10rpx solid #fff;width: 25rpx;height: 25rpx;position: absolute;left: 0;bottom: 0;\"></view>\r\n\t\t</view>\r\n\t\t<view style=\"color: #fff;display: flex;align-items: center;justify-content: center;position: absolute;top: 46%;width: 100%;z-index: 999;\">\r\n\t\t\t<view class=\"btn-father\" @tap=\"scaleUp\">\r\n\t\t\t\t<uni-icons type=\"plus\" color=\"#fff\" size=\"60r\"></uni-icons>\r\n\t\t\t\t<text class=\"btnDes\">放大</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"btn-father\" @tap=\"scaleDown\">\r\n\t\t\t\t<uni-icons type=\"minus\" size=\"60r\" color=\"#fff\"></uni-icons>\r\n\t\t\t\t<text class=\"btnDes\">缩小</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"btn-father\" @tap=\"turnL\">\r\n\t\t\t\t<uni-icons type=\"undo-filled\" color=\"#fff\" size=\"60r\" style=\"margin-left: 16rpx;\"></uni-icons>\r\n\t\t\t\t<text class=\"btnDes\">左转90°</text>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"btn-father\" @tap=\"turnR\">\r\n\t\t\t\t<uni-icons type=\"redo-filled\" color=\"#fff\" size=\"60r\" style=\"margin-left: 16rpx;\"></uni-icons>\r\n\t\t\t\t<text class=\"btnDes\">右转90°</text>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t\t<button class=\"serch\" @tap=\"doFetch\">确认</button>\r\n\t\t<canvas canvas-id=\"vinImgCanvas\" id=\"vinImgCanvas\" style=\"width: 3000rpx;height: 3000rpx;opacity: 0;\"></canvas>\r\n\t\t<text style=\"position: absolute;top: 20%;color: #fff;left: 33%;z-index: 999;\">请将车架号放入到框内</text>\r\n\t</view>\n</template>\n\n<script>\r\n\tconst app = getApp();\r\n\texport default{\r\n\t\tonLoad(option) {\t\t\t\r\n\t\t\tthis.vinImg = option.url;\r\n\t\t\tlet that = this\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\twb: 0,\r\n\t\t\t\tfx: 0,\r\n\t\t\t\tfy: 0,\r\n\t\t\t\tnx: 0,\r\n\t\t\t\tny: 0,\r\n\t\t\t\tsw: 0,\r\n\t\t\t\tsh: 0,\r\n\t\t\t\tvinImg: '',\r\n\t\t\t\tvinImgStyle: '',\r\n\t\t\t\tvinImgStyleObj: {position: 'absolute;'},\r\n\t\t\t\tvinImgWidth: '',\r\n\t\t\t\tvinImgHeigh: '',\r\n\t\t\t\tscale: 1,\r\n\t\t\t\trotate: 0,\r\n\t\t\t\tresImg: '',\r\n\t\t\t\tchar: ['','','','','','','','','','','','','','','','',''],\r\n\t\t\t\tvin: ''\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tback() {\r\n\t\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\t\tuni.redirectTo({url: '/pages/index/camera'});\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\tuni.switchTab({url:'/pages/index/index'})\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\tscaleUp() {\r\n\t\t\t\tthis.scale += 0.1\r\n\t\t\t\tif (this.scale > 10) {\r\n\t\t\t\t\tthis.scale = 10\r\n\t\t\t\t}\r\n\t\t\t\tthis.vinImgStyleObj.width = this.sw * this.scale +'px'\r\n\t\t\t\tthis.vinImgStyleObj.height = this.wb * this.vinImgHeigh * this.scale + 'px'\r\n\t\t\t\tthis.setVinImgStyle()\r\n\t\t\t},\r\n\t\t\tscaleDown() {\r\n\t\t\t\tthis.scale -= 0.1\r\n\t\t\t\tif (this.scale < 0.5) {\r\n\t\t\t\t\tthis.scale = 0.5\r\n\t\t\t\t}\r\n\t\t\t\tthis.vinImgStyleObj.width = this.sw * this.scale +'px'\r\n\t\t\t\tthis.vinImgStyleObj.height = this.wb * this.vinImgHeigh * this.scale + 'px'\r\n\t\t\t\tthis.setVinImgStyle()\r\n\t\t\t},\r\n\t\t\tturnR() {\r\n\t\t\t\tthis.rotate++\r\n\t\t\t\tif (this.rotate >= 4) {\r\n\t\t\t\t\tthis.rotate = 0\r\n\t\t\t\t}\r\n\t\t\t\tthis.vinImgStyleObj.transform = 'rotate(' + this.rotate * 90 + 'deg);'\r\n\t\t\t\tthis.setVinImgStyle()\r\n\t\t\t},\r\n\t\t\tturnL() {\r\n\t\t\t\tthis.rotate--\r\n\t\t\t\tif (this.rotate < 0) {\r\n\t\t\t\t\tthis.rotate += 4\r\n\t\t\t\t}\r\n\t\t\t\tthis.vinImgStyleObj.transform = 'rotate(' + this.rotate * 90 + 'deg);'\r\n\t\t\t\tthis.setVinImgStyle()\r\n\t\t\t},\r\n\t\t\tmoveStart(e) {\r\n\t\t\t\tconsole.log(e)\r\n\t\t\t\tthis.fx = e.changedTouches[0].pageX\r\n\t\t\t\tthis.fy = e.changedTouches[0].pageY\r\n\t\t\t},\r\n\t\t\tmove(e) {\r\n\t\t\t\tthis.vinImgStyleObj.left = e.changedTouches[0].pageX - this.fx + this.nx + 'px'\r\n\t\t\t\tthis.vinImgStyleObj.top = e.changedTouches[0].pageY - this.fy + this.ny + 'px'\r\n\t\t\t\tthis.setVinImgStyle()\r\n\t\t\t},\r\n\t\t\tmoveEnd(e) {\r\n\t\t\t\tthis.nx = e.changedTouches[0].pageX - this.fx + this.nx;\r\n\t\t\t\tthis.ny = e.changedTouches[0].pageY - this.fy + this.ny;\r\n\t\t\t},\r\n\t\t\timg2base64(url,ext)\r\n\t\t\t{\r\n\t\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\t\treturn 'data:image/jpeg;base64,'+uni.getFileSystemManager().readFileSync(url,'base64')\r\n\t\t\t\t// #endif\r\n\t\t\t\t\r\n\t\t\t\t// #ifdef H5\r\n\t\t\t\treturn new Promise((reslove,reject) => {\r\n\t\t\t\t\tuni.request({\r\n\t\t\t\t\t\turl: url,\r\n\t\t\t\t\t\tmethod: 'GET',\r\n\t\t\t\t\t\tresponseType: 'arraybuffer',\r\n\t\t\t\t\t\tsuccess(res) {\r\n\t\t\t\t\t\t\tlet base64 = 'data:image/jpeg;base64,' + uni.arrayBufferToBase64(res.data)\r\n\t\t\t\t\t\t\treslove(base64)\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\tfail(err) {\r\n\t\t\t\t\t\t\treject('图片转换失败')\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t\t// #endif\r\n\t\t\t},\r\n\t\t\tsetVinImg(e) {\r\n\t\t\t\tthis.vinImgWidth = e.detail.width\r\n\t\t\t\tthis.vinImgHeigh = e.detail.height\r\n\t\t\t\tlet that = this\r\n\t\t\t\tuni.getSystemInfo({\r\n\t\t\t\t\tsuccess:function(res){\r\n\t\t\t\t\t\tthat.sw = res.screenWidth\r\n\t\t\t\t\t\tthat.sh = res.screenHeight\r\n\t\t\t\t\t}\r\n\t\t\t\t})\r\n\t\t\t\tthis.wb = this.sw / this.vinImgWidth\r\n\t\t\t\tthis.vinImgStyleObj.width = this.sw * this.scale +'px'\r\n\t\t\t\tthis.vinImgStyleObj.height = this.wb * this.vinImgHeigh * this.scale + 'px'\r\n\t\t\t\tthis.vinImgStyleObj.top = '0'\r\n\t\t\t\tthis.vinImgStyleObj.left = '0'\r\n\t\t\t\tthis.setVinImgStyle()\r\n\t\t\t},\r\n\t\t\tsetVinImgStyle() {\r\n\t\t\t\tthis.vinImgStyle = ''\r\n\t\t\t\tlet fieldName\r\n\t\t\t\tfor (let index in this.vinImgStyleObj) {\r\n\t\t\t\t\tfieldName = index.replace(/([A-Z])/g,\"-$1\").toLowerCase();\r\n\t\t\t\t\tthis.vinImgStyle += fieldName+':'+this.vinImgStyleObj[index]+';'\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\tdoFetch() {\r\n\t\t\t\tlet that = this\r\n\t\t\t\tthis.ctx = uni.createCanvasContext('vinImgCanvas', this)\r\n\t\t\t\tthis.ctx.translate(this.nx + this.sw * this.scale / 2,this.ny + this.vinImgHeigh * this.wb * this.scale / 2)\r\n\t\t\t\tthis.ctx.rotate(Math.PI / 2 * this.rotate)\r\n\t\t\t\tthis.ctx.drawImage(this.vinImg,this.sw * this.scale / -2,this.vinImgHeigh * this.wb * this.scale / -2,this.sw * this.scale,this.vinImgHeigh * this.wb * this.scale)\r\n\t\t\t\t// this.ctx.drawImage(this.vinImg,this.nx,this.ny,this.sw,this.vinImgHeigh * this.wb)\r\n\t\t\t\tthis.ctx.draw()\r\n\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\tuni.canvasToTempFilePath({\r\n\t\t\t\t\t\tx: that.sw * 0.02,\r\n\t\t\t\t\t\ty: that.sh * 0.28,\r\n\t\t\t\t\t\twidth: that.sw * 0.96,\r\n\t\t\t\t\t\theight: 100,\r\n\t\t\t\t\t\tcanvasId: 'vinImgCanvas',\r\n\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\tthat.resImg = res.tempFilePath\r\n\t\t\t\t\t\t\tuni.setStorageSync('vinBig', that.vinImg);\r\n\t\t\t\t\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\t\t\t\t\tlet data = {img: that.img2base64(res.tempFilePath)}\r\n\t\t\t\t\t\t\tapp.getApi('POST','data/vinOcr', data, 1, function(result){\r\n\t\t\t\t\t\t\t\tuni.redirectTo({url: '/pages/index/cameraData?isc=0&isad=1&url='+that.resImg+'&data='+JSON.stringify(result)});\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t// #ifdef H5\r\n\t\t\t\t\t\t\t// that.img2base64(res.tempFilePath).then(ress => {\r\n\t\t\t\t\t\t\t\t// let base64 = ress\r\n\t\t\t\t\t\t\t\tlet data = {img:res.tempFilePath}\r\n\t\t\t\t\t\t\t\tuni.setStorageSync('vin64', that.resImg);\r\n\t\t\t\t\t\t\t\tapp.getApi('POST','data/vinOcr', data, 1, function(result){\r\n\t\t\t\t\t\t\t\t\tuni.redirectTo({url: '/pages/index/cameraData?isc=0&isad=1&data='+JSON.stringify(result)});\r\n\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t// })\r\n\t\t\t\t\t\t\t// #endif\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}, that)\t\t\t\t\t\t\r\n\t\t\t\t},500)\r\n\t\t\t}\r\n\t\t}\r\n\t}\n</script>\n\n<style>\r\n\t.btn-father{margin: 0 30rpx;}\r\n\t.vinImg{width: 100%;height: 100%;background-repeat: no-repeat;}\r\n\t.zz {\r\n\t\tposition: absolute;\r\n\t\tleft: 2%;\r\n\t\ttop: 28%;\r\n\t\twidth: 96%;\r\n\t\theight: 100px;\r\n\t\tbox-shadow: rgba(0,0,0,.5) 0px 0px 0px 999px;\r\n\t\tz-index: 100;\r\n\t}\r\n\t.serch {\r\n\t\tbackground-color: #e7181e;\r\n\t\tcolor: #fff;\r\n\t\twidth: 150rpx;\r\n\t\theight: 60rpx;\r\n\t\tline-height: 60rpx;\r\n\t\tposition: absolute;\r\n\t\tbottom: 36%;\r\n\t\tz-index: 999;\r\n\t\tleft: 50%;\r\n\t\tmargin-left: -75rpx;\r\n\t}\r\n\t.btnDes {display: block;position: relative;top: -15px;}\n</style>\n","import mod from \"-!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fetchData.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--6-oneOf-1-0!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--6-oneOf-1-1!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--6-oneOf-1-2!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--6-oneOf-1-3!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./fetchData.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n    if(module.hot) {\n      // 1649655991142\n      var cssReload = require(\"C:/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/hmr/hotModuleReplacement.js\")(module.id, {\"hmr\":true,\"publicPath\":\"../../\",\"locals\":false});\n      module.hot.dispose(cssReload);\n      module.hot.accept(undefined, cssReload);\n    }\n  "],"sourceRoot":""}