1 line
12 KiB
Plaintext
1 line
12 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///E:/云商会/云商会/App.vue?d694","uni-app:///App.vue","webpack:///E:/云商会/云商会/App.vue?78ff","webpack:///E:/云商会/云商会/App.vue?08e3"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","App","mpType","use","TuniaoUI","vuexStore","require","mixin","mpShare","app","store","$mount","onLaunch","uni","success","name","value","updateManager","title","content","showCancel","onShow","onHide"],"mappings":";;;;;;;;;;;;;;AAAA;AAE2D;AAC3D;AAEA;AAKA;AAAgC;AAAA;AAThC;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAI1DC,YAAG,CAACC,MAAM,CAACC,aAAa,GAAG,KAAK;AAChCC,YAAG,CAACC,MAAM,GAAG,KAAK;;AAElB;;AAEAJ,YAAG,CAACK,GAAG,CAACC,iBAAQ,CAAC;;AAEjB;AACA,IAAIC,SAAS,GAAGC,mBAAO,CAAC,8BAAsB,CAAC;AAC/CR,YAAG,CAACS,KAAK,CAACF,SAAS,CAAC;;AAEpB;AACA,IAAIG,OAAO,GAAGF,mBAAO,CAAC,yCAAiC,CAAC;AACxDR,YAAG,CAACS,KAAK,CAACC,OAAO,CAAC;AAElB,IAAMC,GAAG,GAAG,IAAIX,YAAG;EAClBY,KAAK,EAALA;AAAK,GACFT,YAAG,EACL;AAEF,UAAAQ,GAAG,EAACE,MAAM,EAAE,C;;;;;;;;;;;;;AC1BZ;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AAC+L;AAC/L,gBAAgB,wMAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAA+tB,CAAgB,ovBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;ACCnvB;AACA;AACA;AAAA,eAEA;EACAC;IACAC;MACAC;QAEA;QACA;QACA;QACA;QACA,oFACA;UACAhB;QACA;UACAA;QACA;UACAA;QACA;MAEA;IACA;;IAEA;IACA;IACA;MACAY;QACAK;QACAC;MACA;MACAN;QACAK;QACAC;MACA;IACA;;IAGA;IACA;MACA;MACAC;QACA;UACAA;YACAJ;cACAK;cACAC;cACAL;gBACA;kBACAD;kBACAI;gBACA;cACA;YACA;UACA;UAEAA;YACAJ;cACAK;cACAC;cACAC;YACA;UACA;QACA;UACA;QAAA;MAEA;IACA;MACAP;QACAK;QACAC;QACAC;MACA;IACA;EAEA;EACAC;IACA;EAAA,CACA;EACAC;IACA;EAAA;AAEA;AAAA,2B;;;;;;;;;;;;;ACpFA;AAAA;AAAA;AAAA;AAAk3C,CAAgB,+0CAAG,EAAC,C;;;;;;;;;;;ACAt4C;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 App from './App'\r\nimport store from './store'\r\n\r\nimport Vue from 'vue'\r\nVue.config.productionTip = false\r\nApp.mpType = 'app'\r\n\r\n// 引入全局TuniaoUI\r\nimport TuniaoUI from 'tuniao-ui'\r\nVue.use(TuniaoUI)\r\n\r\n// 引入TuniaoUI提供的vuex简写方法\r\nlet vuexStore = require('@/store/$tn.mixin.js')\r\nVue.mixin(vuexStore)\r\n\r\n// 引入TuniaoUI对小程序分享的mixin封装\r\nlet mpShare = require('tuniao-ui/libs/mixin/mpShare.js')\r\nVue.mixin(mpShare)\r\n\r\nconst app = new Vue({\r\n\tstore,\r\n\t...App\r\n})\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 \"!F:\\\\HBuilderX.3.5.3.20220729\\\\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 \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\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 \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\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 Vue from 'vue'\r\n\timport store from './store/index.js'\r\n\timport updateCustomBarInfo from './tuniao-ui/libs/function/updateCustomBarInfo.js'\r\n\r\n\texport default {\r\n\t\tonLaunch: function() {\r\n\t\t\tuni.getSystemInfo({\r\n\t\t\t\tsuccess: function(e) {\r\n\t\t\t\t\t// #ifndef H5\r\n\t\t\t\t\t// 获取手机系统版本\r\n\t\t\t\t\tconst system = e.system.toLowerCase()\r\n\t\t\t\t\tconst platform = e.platform.toLowerCase()\r\n\t\t\t\t\t// 判断是否为ios设备\r\n\t\t\t\t\tif (platform.indexOf('ios') != -1 && (system.indexOf('ios') != -1 || system.indexOf(\r\n\t\t\t\t\t\t\t'macos') != -1)) {\r\n\t\t\t\t\t\tVue.prototype.SystemPlatform = 'apple'\r\n\t\t\t\t\t} else if (platform.indexOf('android') != -1 && (system.indexOf('android') != -1)) {\r\n\t\t\t\t\t\tVue.prototype.SystemPlatform = 'android'\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tVue.prototype.SystemPlatform = 'devtools'\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// #endif\r\n\t\t\t\t}\r\n\t\t\t})\r\n\r\n\t\t\t// 获取设备的状态栏信息和自定义顶栏信息\r\n\t\t\t// store.dispatch('updateCustomBarInfo')\r\n\t\t\tupdateCustomBarInfo().then((res) => {\r\n\t\t\t\tstore.commit('$tStore', {\r\n\t\t\t\t\tname: 'vuex_status_bar_height',\r\n\t\t\t\t\tvalue: res.statusBarHeight\r\n\t\t\t\t})\r\n\t\t\t\tstore.commit('$tStore', {\r\n\t\t\t\t\tname: 'vuex_custom_bar_height',\r\n\t\t\t\t\tvalue: res.customBarHeight\r\n\t\t\t\t})\r\n\t\t\t})\r\n\r\n\t\t\t// #ifdef MP-WEIXIN\r\n\t\t\t//更新检测\r\n\t\t\tif (wx.canIUse('getUpdateManager')) {\r\n\t\t\t\tconst updateManager = wx.getUpdateManager();\r\n\t\t\t\tupdateManager && updateManager.onCheckForUpdate((res) => {\r\n\t\t\t\t\tif (res.hasUpdate) {\r\n\t\t\t\t\t\tupdateManager.onUpdateReady(() => {\r\n\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\ttitle: '更新提示',\r\n\t\t\t\t\t\t\t\tcontent: '新版本已经准备就绪,是否需要重新启动应用?',\r\n\t\t\t\t\t\t\t\tsuccess: (res) => {\r\n\t\t\t\t\t\t\t\t\tif (res.confirm) {\r\n\t\t\t\t\t\t\t\t\t\tuni.clearStorageSync() // 更新完成后刷新storage的数据\r\n\t\t\t\t\t\t\t\t\t\tupdateManager.applyUpdate()\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\r\n\t\t\t\t\t\tupdateManager.onUpdateFailed(() => {\r\n\t\t\t\t\t\t\tuni.showModal({\r\n\t\t\t\t\t\t\t\ttitle: '已有新版本上线',\r\n\t\t\t\t\t\t\t\tcontent: '小程序自动更新失败,请删除该小程序后重新搜索打开哟~~~',\r\n\t\t\t\t\t\t\t\tshowCancel: false\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t} else {\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} else {\r\n\t\t\t\tuni.showModal({\r\n\t\t\t\t\ttitle: '提示',\r\n\t\t\t\t\tcontent: '当前微信版本过低,无法使用该功能,请更新到最新的微信后再重试。',\r\n\t\t\t\t\tshowCancel: false\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: function() {\r\n\t\t\t// console.log('App Show')\r\n\t\t},\r\n\t\tonHide: function() {\r\n\t\t\t// console.log('App Hide')\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n\t/* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\r\n\t@import './tuniao-ui/index.scss';\r\n\t@import './tuniao-ui/iconfont.css';\r\n</style>","import mod from \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\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 \"-!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!F:\\\\HBuilderX.3.5.3.20220729\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!F:\\\\HBuilderX.3.5.3.20220729\\\\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 // 1703210580762\n var cssReload = require(\"F:/HBuilderX.3.5.3.20220729/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":""} |