1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/新元素/消防维保/wxProgram/App.vue?e43a","uni-app:///App.vue","webpack:///D:/新元素/消防维保/wxProgram/App.vue?7f4c","webpack:///D:/新元素/消防维保/wxProgram/App.vue?caf9"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","mixin","share","use","uView","prototype","request","imgurl","myimgurl","config","productionTip","App","mpType","app","adlist","bannerAd","gridAd","videoAd","awardAd","plaqueAd","myad","jump","url","uni","navigateTo","Godetails","v","console","log","JSON","stringify","ZH","json","parse","mes","str","showToast","title","icon","$mount","onLaunch","updateManager","content","showCancel","success","onShow","onHide","globalData","userinfo","token"],"mappings":";;;;;;;;;;;;;;AAAA;AAE2D;AAC3D;AACA;AAGA;AAEA;AAA0C;AAAA;AAR1C;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAG1DC,YAAG,CAACC,KAAK,CAACC,cAAK,CAAC;AAKhBF,YAAG,CAACG,GAAG,CAACC,gBAAK,CAAC;AACdJ,YAAG,CAACK,SAAS,CAACC,OAAO,GAAGA,gBAAO,CAACA,OAAO,EAAC;AACxC;AACA,IAAIC,MAAM,GAAG,gCAAgC;AAC7CP,YAAG,CAACK,SAAS,CAACG,QAAQ,GAAG,YAAY;EACnC,OAAOD,MAAM;AACf,CAAC;AACDP,YAAG,CAACS,MAAM,CAACC,aAAa,GAAG,KAAK;AAChCC,YAAG,CAACC,MAAM,GAAG,KAAK;AAClB,IAAMC,GAAG,GAAG,IAAIb,YAAG,mBACZW,YAAG,EACR;AACF,IAAIG,MAAM,GAAG,CACZ;EACCC,QAAQ,EAAE,yBAAyB;EAAC;EACpCC,MAAM,EAAI,yBAAyB;EAAC;EACpCC,OAAO,EAAG,yBAAyB;EAAC;EACpCC,OAAO,EAAG,yBAAyB;EAAC;EACpCC,QAAQ,EAAE,yBAAyB,CAAC;AACrC,CAAC,CACD;;AACD,SA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;;;;;;;;;;;;;;;;;;;;eCCrmB;EACAC;IAAA;MAAA;MAAA;QAAA;UAAA;YAAA;cAAA,IAEAjB;gBAAA;gBAAA;cAAA;cAAA;YAAA;cACAkB,wCACA;cACA;cACAA;gBACA;gBACAd;gBACA;kBACA;kBACA;kBACAc;oBACA;oBACAlB;sBACAc;sBACAK;sBACAC;sBACAC;wBACA;0BACA;0BACAH;wBACA;sBACA;oBACA;kBACA;kBACA;kBACAA;oBACA;oBACAlB;sBACAc;sBACAK;sBACAC;oBACA;kBACA;gBACA;cACA;YAAA;YAAA;cAAA;UAAA;QAAA;MAAA;IAAA,CACA;IAAA;MAAA;IAAA;IAAA;EAAA;EACAE;EACAC;IAAAnB;EAAA;EACAoB;IACAC;IACAC;EACA;AACA;AAAA,2B;;;;;;;;;;;;;AC9CA;AAAA;AAAA;AAAA;AAAgnC,CAAgB,4lCAAG,EAAC,C;;;;;;;;;;;ACApoC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';\n// @ts-ignore\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import App from './App'\nimport request from 'utils/request.js' //引入异步请求函数\nimport share from '@/utils/share.js'\nVue.mixin(share)\n\nimport Vue from 'vue'\n// uview\nimport uView from '@/uni_modules/uview-ui'\nVue.use(uView)\nVue.prototype.request = request.request //挂载到全局\n// let imgurldev = 'http://localhost:8083'\nlet imgurl = 'https://ga.rasmall.cn/prod-api'\nVue.prototype.myimgurl = function () { \n return imgurl; \n};\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\nlet adlist = [\n\t{\n\t\tbannerAd: 'adunit-3187490d80ba92ca',//Banner广告\n\t\tgridAd: 'adunit-26da28df208c002c',//原生广告\n\t\tvideoAd: 'adunit-e3777ebcaaad92af',//视频广告\n\t\tawardAd: 'adunit-c6b420834b40ddbb',//激励式广告\n\t\tplaqueAd: 'adunit-67e3b026600b6582',//插屏广告\n\t}\n]\nfunction myad(){\n\treturn adlist;\n}\nfunction jump(url){\n\tuni.navigateTo({\n\t url: url\n\t});\n}\n// function GoLogin(url){\n// \tuni.redirectTo({\n// \t\turl: '/pages/login/login'\n// \t});\n// uni.switchTab({\n// url: '/pages/index/index'\n// });\n// }\n\nfunction Godetails(v,url){\n\tconsole.log(JSON.stringify(v))\n\tuni.navigateTo({\n\t\turl:url+'?params='+ JSON.stringify(v)\n\t})\n}\nfunction ZH(json){\n\treturn JSON.parse(json)\n}\nfunction mes(str){\n\tuni.showToast({\n\t\ttitle:str,\n\t\ticon:'none'\n\t})\n}\nVue.prototype.jump = jump;\nVue.prototype.myad = myad;\nVue.prototype.mes = mes;\nVue.prototype.Godetails = Godetails;\nVue.prototype.ZH = ZH;\napp.$mount()","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../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 = \"App.vue\"\nexport default component.exports","import mod from \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\n\texport default {\n\t\tonLaunch: async function(e) {\n\t\t\t// 检测是否可以调用getUpdateManager检查更新\n\t\t\tif (!uni.canIUse(\"getUpdateManager\")) return;\n\t\t\tconst updateManager = uni.getUpdateManager();\n\t\t\t// console.log(updateManager)\n\t\t\t// 获取全局唯一的版本更新管理器,用于管理小程序更新\n\t\t\tupdateManager.onCheckForUpdate(function(res) {\n\t\t\t\t// 监听向微信后台请求检查更新结果事件 \n\t\t\t\tconsole.log(\"是否有新版本:\" + res.hasUpdate);\n\t\t\t\tif (res.hasUpdate) {\n\t\t\t\t\t//如果有新版本 \n\t\t\t\t\t// 小程序有新版本,会主动触发下载操作 \n\t\t\t\t\tupdateManager.onUpdateReady(function() {\n\t\t\t\t\t\t//当新版本下载完成,会进行回调 \n\t\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\t\ttitle: '更新提示',\n\t\t\t\t\t\t\tcontent: '新版本已经准备好,单击确定重启小程序',\n\t\t\t\t\t\t\tshowCancel: false,\n\t\t\t\t\t\t\tsuccess: function(res) {\n\t\t\t\t\t\t\t\tif (res.confirm) {\n\t\t\t\t\t\t\t\t\t// 新的版本已经下载好,调用 applyUpdate 应用新版本并重启小程序 \n\t\t\t\t\t\t\t\t\tupdateManager.applyUpdate();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t})\n\t\t\t\t\t// 小程序有新版本,会主动触发下载操作 \n\t\t\t\t\tupdateManager.onUpdateFailed(function() {\n\t\t\t\t\t\t//当新版本下载失败,会进行回调 \n\t\t\t\t\t\tuni.showModal({\n\t\t\t\t\t\t\ttitle: '提示',\n\t\t\t\t\t\t\tcontent: '检查到有新版本,但下载失败,请稍后尝试',\n\t\t\t\t\t\t\tshowCancel: false,\n\t\t\t\t\t\t})\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\t\tonShow: function() {},\n\t\tonHide: function() {console.log('App Hide')},\n\t\tglobalData: {\n\t\t\tuserinfo: null,\n\t\t\ttoken:'',\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\">\n\t/*每个页面公共css */\n\t@import \"@/uni_modules/uview-ui/index.scss\";\n\t@import \"colorui/main.css\";\n\t@import \"colorui/icon.css\";\n</style>\n","import mod from \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1712459356679\n var cssReload = require(\"D:/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":""} |