canyin-project/yb_wm/unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
2024-11-01 16:07:54 +08:00

1 line
14 KiB
Plaintext

{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/oil/云贝全开/git-app/yb-uniapp/yb_wm/App.vue?7a80","uni-app:///App.vue","webpack:///D:/oil/云贝全开/git-app/yb-uniapp/yb_wm/App.vue?3346","webpack:///D:/oil/云贝全开/git-app/yb-uniapp/yb_wm/App.vue?e02c"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","prototype","$siteinfo","siteinfo","util","api","config","productionTip","use","common","component","TabBar","MgImg","MgCell","App","mpType","app","store","$mount","globalData","siteInfo","onImgurl","onLaunch","methods","autoUpdate","updateManager","uni","title","confirmText","showCancel","content","success","downLoadAndUpdate","onShow","data","url","method","activate_ticket","card_id","code","userId","res","console","onHide"],"mappings":";;;;;;;;;;;;;;AAAA;AAE2D;AAC3D;AACA;AACA;AACA;AAEA;AAKA;AAA4C;AAAA;AAZ5C;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAAC;EAAA;IAAA;EAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAY3D;AACAC,YAAG,CAACC,SAAS,CAACC,SAAS,GAAGC,iBAAQ;AAClCH,YAAG,CAACC,SAAS,CAACG,IAAI,GAAGA,aAAI;AACzBJ,YAAG,CAACC,SAAS,CAACI,GAAG,GAAGA,YAAG;AACvB;AACAL,YAAG,CAACM,MAAM,CAACC,aAAa,GAAG,KAAK;AAEhCP,YAAG,CAACQ,GAAG,CAACC,eAAM,CAAC;AACfT,YAAG,CAACU,SAAS,CAAC,SAAS,EAAEC,MAAM,CAAC;AAChCX,YAAG,CAACU,SAAS,CAAC,QAAQ,EAAEE,KAAK,CAAC;AAC9BZ,YAAG,CAACU,SAAS,CAAC,SAAS,EAAEG,MAAM,CAAC;AAChCC,YAAG,CAACC,MAAM,GAAG,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AG,EAAC,C;;;;;;;;;;;ACApjD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';\r\n// @ts-ignore\r\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import Vue from 'vue'\r\nimport App from './App'\r\nimport store from './store'\r\nimport util from './common/we7/util';\r\nimport api from './common/api';\r\n// import _ from 'lodash'\r\nimport common from './common/common'\r\n\r\nimport TabBar from '@/components/common/tabbar.vue'\r\nimport MgImg from '@/components/common/mg-img.vue'\r\nimport MgCell from '@/components/common/mg-cell.vue'\r\nimport siteinfo from '@/common/siteinfo.js';\r\n// Vue.prototype.$store = store\r\nVue.prototype.$siteinfo = siteinfo\r\nVue.prototype.util = util\r\nVue.prototype.api = api\r\n// Vue.prototype._ = _\r\nVue.config.productionTip = false\r\n\r\nVue.use(common);\r\nVue.component('tab-bar', TabBar)\r\nVue.component('mg-img', MgImg)\r\nVue.component('mg-cell', MgCell)\r\nApp.mpType = 'app'\r\n\r\nconst app = new Vue({\r\n\tstore,\r\n\t...App\r\n})\r\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 \"!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/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 \"-!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/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 \"-!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\timport siteInfo from './common/siteinfo';\r\n\timport utils from '@/common/utils';\r\n\texport default {\r\n\t\tglobalData: {\r\n\t\t\tsiteInfo,\r\n\t\t\tonImgurl: 'https://s.y-bei.cn/static/miniapp/',\r\n\t\t\t//api: require('./common/config.js'),\r\n\t\t},\r\n\t\t//api: require('./common/config.js'),\r\n\t\tonLaunch: function(options) {\r\n\t\t\t// #ifdef H5\r\n\t\t\tif (!siteInfo.isDev) {\r\n\t\t\t\tlet params = utils.getUrlParams(location.href);\r\n\t\t\t\tthis.globalData.siteInfo.uniacid = params.uniacid;\r\n\t\t\t\tthis.globalData.siteInfo.eid = params.eid;\r\n\t\t\t\tconsole.log('%c params ', 'color: white; background-color: #f00000', params);\r\n\t\t\t\tthis.getLoginInfo();\r\n\t\t\t} else {\r\n\t\t\t\t// this.globalData.siteInfo.uniacid = 6\r\n\t\t\t}\r\n\t\t\t// #endif\r\n\t\t\t// #ifdef MP\r\n\t\t\tthis.autoUpdate()\r\n\t\t\t// #endif\r\n\t\t\t// #ifdef MP-ALIPAY\r\n\t\t\tif (options.query && options.query.qrCode) {\r\n\t\t\t this.globalData.siteInfo.qrCode = options.query.qrCode;\r\n\t\t\t } \r\n\t\t\t// #endif\r\n\t\t\t// console.log('App Launch')\r\n\t\t\t// this.util.wxAuthorize();\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\t// #ifdef MP\r\n\t\t\tautoUpdate() {\r\n\t\t\t\tconst updateManager = uni.getUpdateManager();\r\n\t\t\t\tupdateManager.onCheckForUpdate(res => {\r\n\t\t\t\t\tif (res.hasUpdate) {\r\n\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\ttitle: '更新提示',\r\n\t\t\t\t\t\t\tconfirmText: \"确定更新\",\r\n\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\tcontent: '新版本已经准备好,是否重启应用?',\r\n\t\t\t\t\t\t\tsuccess: res => {\r\n\t\t\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\t\t\t//2. 用户确定下载更新小程序,小程序下载及更新静默进行\r\n\t\t\t\t\t\t\t\t\tthis.downLoadAndUpdate(updateManager)\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\t\t\ttitle: '温馨提示~',\r\n\t\t\t\t\t\t\t\t\t\tcontent: '本次版本更新涉及到新的功能添加,旧版本无法正常访问的哦~',\r\n\t\t\t\t\t\t\t\t\t\tshowCancel: false,\r\n\t\t\t\t\t\t\t\t\t\tconfirmText: \"确定更新\",\r\n\t\t\t\t\t\t\t\t\t\tsuccess: res => {\r\n\t\t\t\t\t\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tthis.downLoadAndUpdate(updateManager)\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t})\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})\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\tdownLoadAndUpdate: function(updateManager) {\r\n\t\t\t\tuni.showLoading();\r\n\t\t\t\t//静默下载更新小程序新版本\r\n\t\t\t\tupdateManager.onUpdateReady(function() {\r\n\t\t\t\t\tuni.hideLoading()\r\n\t\t\t\t\tupdateManager.applyUpdate()\r\n\t\t\t\t})\r\n\t\t\t\tupdateManager.onUpdateFailed(function() {\r\n\t\t\t\t\tuni.hideLoading()\r\n\t\t\t\t\t// 新的版本下载失败\r\n\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\ttitle: '已经有新版本了哟~',\r\n\t\t\t\t\t\tcontent: '新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~',\r\n\t\t\t\t\t})\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\t// #endif\r\n\t\t},\r\n\t\tonShow: async function(data) {\r\n\t\t\tif (data) {\r\n\t\t\t\tif (data.hasOwnProperty('referrerInfo')) {\r\n\t\t\t\t\tif (data.referrerInfo.appId == 'wxeb490c6f9b154ef9') {\r\n\t\t\t\t\t\tif (data.referrerInfo.extraData) {\r\n\t\t\t\t\t\t\tlet res = await this.util.request({\r\n\t\t\t\t\t\t\t\turl: this.api.jhhyk,\r\n\t\t\t\t\t\t\t\tmethod: 'POST',\r\n\t\t\t\t\t\t\t\tdata: {\r\n\t\t\t\t\t\t\t\t\tactivate_ticket: data.referrerInfo.extraData.activate_ticket,\r\n\t\t\t\t\t\t\t\t\tcard_id: data.referrerInfo.extraData.card_id,\r\n\t\t\t\t\t\t\t\t\tcode: data.referrerInfo.extraData.code,\r\n\t\t\t\t\t\t\t\t\tuserId: this.$store.state.user.userId\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\tconsole.log('%c extraData ', 'color: white; background-color: #34aaff', data.referrerInfo,\r\n\t\t\t\t\t\t\t\tres.data);\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}\r\n\t\t},\r\n\t\tonHide: function() {},\r\n\r\n\t};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t@import './common/styles/index.css';\r\n\r\n\t/* #ifdef H5 */\r\n\tuni-page-head {\r\n\t\tdisplay: none;\r\n\t}\r\n\r\n\t/* #endif */\r\n</style>\r\n","import mod from \"-!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/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 \"-!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../前端/软件/1954-2020-07-22033532-1595360132222/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 // 1730442637315\n var cssReload = require(\"D:/前端/软件/1954-2020-07-22033532-1595360132222/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":""}