1 |
- {"version":3,"sources":["uni-app:///main.js","webpack:///D:/Code2024/sulibao-mini/App.vue?d128","webpack:///D:/Code2024/sulibao-mini/App.vue?5f8a","uni-app:///App.vue","webpack:///D:/Code2024/sulibao-mini/App.vue?e359"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","config","productionTip","prototype","$storage","storage","App","mpType","use","TuniaoUI","vuexStore","require","mixin","mpShare","app","store","$mount","render","staticRenderFns","components","renderjs","component","options","__file","onLaunch","uni","success","name","value","updateManager","title","content","showCancel","onShow","onHide"],"mappings":"+IAAA,MAE2D,eAC3D,WACA,WACA,WAOA,WAAgC,2kBAVhCA,EAAGC,kCAAoCC,EAIvCC,UAAIC,OAAOC,eAAgB,EAC3BF,UAAIG,UAAUC,SAAWC,UAEzBC,UAAIC,OAAS,MAIbP,UAAIQ,IAAIC,WAGR,IAAIC,EAAYC,EAAQ,IACxBX,UAAIY,MAAMF,GAIV,IAAIG,EAAUF,EAAQ,IACtBX,UAAIY,MAAMC,GAEV,IAAMC,EAAM,IAAId,UAAI,EAAD,CACjBe,iBACGT,YAGL,EAAAQ,GAAIE,W,8EC7BJ,yHAAIC,EAAQC,EAAmCC,EAC3CC,EADJ,QASIC,EAAY,qBACd,aACAJ,EACAC,GACA,EACA,KACA,KACA,MACA,EACAC,EACAC,GAGFC,EAAUC,QAAQC,OAAS,UACZ,aAAAF,E,yCCvBf,wHAA0xB,eAAG,G,4HCC7xB,eACA,WACA,aAEA,CACAG,oBAkCA,GAjCAC,iBACAC,oBAGA,6BACA,4BAEA,mEAEA,kDACA1B,6CAEAA,8CAJAA,+CAYA,iCACAe,4BACAY,8BACAC,0BAEAb,4BACAY,8BACAC,6BAMA,+BACA,2BACAC,mCACA,cACAA,4BACAJ,aACAK,aACAC,2BACAL,oBACA,YACAD,qBACAI,uBAMAA,6BACAJ,aACAK,gBACAC,uCACAC,4BAQAP,aACAK,WACAC,0CACAC,iBAKAC,oBAGAC,qBAGA,c,4ECnFA,wHAA68C,eAAG,G","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\nimport storage from './utils/storage.js'\r\nimport Vue from 'vue'\r\nVue.config.productionTip = false\r\nVue.prototype.$storage = storage;\r\n\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/$t.mixin.js')\r\nVue.mixin(vuexStore)\r\n \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 store,\r\n ...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 \"!../../self software/HBuilderX.3.99.2023122611/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 \"-!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../self software/HBuilderX.3.99.2023122611/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 \"-!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n import Vue from 'vue'\r\n import store from './store/index.js'\r\n import 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 success: function(e) {\r\n\t\t\t // #ifndef H5\r\n\t\t\t // 获取手机系统版本\r\n\t\t\t const system = e.system.toLowerCase()\r\n\t\t\t const platform = e.platform.toLowerCase()\r\n\t\t\t // 判断是否为ios设备\r\n\t\t\t if (platform.indexOf('ios') != -1 && (system.indexOf('ios') != -1 || system.indexOf('macos') != -1)) {\r\n\t\t\t Vue.prototype.SystemPlatform = 'apple'\r\n\t\t\t } else if (platform.indexOf('android') != -1 && (system.indexOf('android') != -1)) {\r\n\t\t\t Vue.prototype.SystemPlatform = 'android'\r\n\t\t\t } else {\r\n\t\t\t Vue.prototype.SystemPlatform = 'devtools'\r\n\t\t\t }\r\n\t\t\t // #endif\r\n\t\t\t }\r\n\t\t\t})\r\n \r\n // 获取设备的状态栏信息和自定义顶栏信息\r\n // store.dispatch('updateCustomBarInfo')\r\n updateCustomBarInfo().then((res) => {\r\n store.commit('$tStore', {\r\n name: 'vuex_status_bar_height',\r\n value: res.statusBarHeight\r\n })\r\n store.commit('$tStore', {\r\n name: 'vuex_custom_bar_height',\r\n value: res.customBarHeight\r\n })\r\n })\r\n\t\t\t\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 const updateManager = wx.getUpdateManager();\r\n\t\t\t updateManager && updateManager.onCheckForUpdate((res) => {\r\n\t\t\t if (res.hasUpdate) {\r\n\t\t\t updateManager.onUpdateReady(() => {\r\n\t\t\t uni.showModal({\r\n\t\t\t title: '更新提示',\r\n\t\t\t content: '新版本已经准备好,是否重启应用?',\r\n\t\t\t success: (res) => {\r\n\t\t\t if (res.confirm) {\r\n\t\t\t uni.clearStorageSync() // 更新完成后刷新storage的数据\r\n\t\t\t updateManager.applyUpdate()\r\n\t\t\t }\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t })\r\n\t\t\t\r\n\t\t\t updateManager.onUpdateFailed(() => {\r\n\t\t\t uni.showModal({\r\n\t\t\t title: '已有新版本上线',\r\n\t\t\t content: '小程序自动更新失败,请删除该小程序后重新搜索打开哟~~~',\r\n showCancel: false\r\n\t\t\t })\r\n\t\t\t })\r\n\t\t\t } else {\r\n\t\t\t //没有更新\r\n\t\t\t }\r\n\t\t\t })\r\n\t\t\t} else {\r\n\t\t\t uni.showModal({\r\n\t\t\t title: '提示',\r\n\t\t\t content: '当前微信版本过低,无法使用该功能,请更新到最新的微信后再重试。',\r\n showCancel: false\r\n\t\t\t })\r\n\t\t\t}\r\n // #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 /* 注意要写在第一行,同时给style标签加入lang=\"scss\"属性 */\r\n @import './tuniao-ui/index.scss';\r\n @import './tuniao-ui/iconfont.css';\r\n</style>\n","import mod from \"-!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../self software/HBuilderX.3.99.2023122611/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 \"-!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../self software/HBuilderX.3.99.2023122611/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}
|