1 line
8.6 KiB
Plaintext
1 line
8.6 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js",null,"webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/App.vue?a838","uni-app:///App.vue","webpack:///E:/project/project-wl-yonghuduan-uniapp-vue3/App.vue?8a6d"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","app","App","use","store","mount","component","NavBar"],"mappings":";;;;;;;;;AAAA;;AAE2D;AAC3D;AACA,4E,8FAHA;AACAA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,C;AAIA;;AAEA,IAAMC,GAAG,GAAG,oBAAUC,YAAV,CAAZ;AACAD,GAAG,CAACE,GAAJ,CAAQC,cAAR;AACAH,GAAG,CAACI,KAAJ,CAAU,MAAV;;AAEAJ,GAAG,CAACK,SAAJ,CAAc,SAAd,EAAyBC,MAAzB,E;;;;;;;;;;;;;;ACZA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACkE;AACL;AACG;;;AAGhE;AAC+L;AAC/L,gBAAgB,sMAAU;AAC1B,EAAE,oFAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAA0uB,CAAgB,qvBAAG,EAAC,C;;;;;;;;;;;;ACC9vB;AACA;AACA;AACA;AACA,kC,CAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAHA;;AAKA;AACA;AACA;AACA,KAHA;;AAKA,CA1BA;AA2BA;AACA,CADA,E;;;;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAk3C,CAAgB,6zCAAG,EAAC,C","file":"common/main.js","sourcesContent":["import 'uni-pages';\r\n// @ts-ignore\r\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import { createApp } from 'vue'\r\nimport App from './App.vue'\r\nimport store from './store'\r\nimport NavBar from '@/components/Navbar/index.vue'\r\n// import Vue from 'vue'\r\n\r\nconst app = createApp(App)\r\napp.use(store)\r\napp.mount('#app')\r\n\r\napp.component('nav-bar', NavBar);","var render, staticRenderFns, recyclableRender, components\nvar renderjs\nimport script from \"./App.vue?vue&type=script&setup=true&lang=js&\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!C:\\\\Users\\\\itcast\\\\Downloads\\\\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 \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&setup=true&lang=js&\"; export default mod; export * from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&setup=true&lang=js&\"","<script setup>\r\nimport { ref, reactive, onMounted } from 'vue';\r\nimport { onLoad,onShow } from '@dcloudio/uni-app';\r\nimport { useStore } from 'vuex';\r\n// ------定义变量------\r\nconst store = useStore(); //vuex获取储存数据\r\nconst locationData = ref({});\r\n// ------生命周期------\r\nonShow(()=>{\r\n\t// 获取当前位置储存在vuex,获取取件、派件列表时要用到\r\n\t// uni.getLocation({\r\n\t// \ttype: 'gcj02',\r\n\t// \tsuccess: res => {\r\n\t// \t\tlocationData.value = {\r\n\t// \t\t\tlongitude: res.longitude,\r\n\t// \t\t\tlatitude: res.latitude\r\n\t// \t\t};\r\n\t// \t\tconsole.log(res, 22222);\r\n\t// \t\tstore.commit('user/setlLacation', locationData.value);\r\n\t// \t},\r\n\t// \tfail: err => {\r\n\t// \t\tconsole.log(err);\r\n\t// \t}\r\n\t// });\r\n\tuni.getSystemInfo({\r\n\t\tsuccess:(res)=>{\r\n\t\t\tconsole.log(res,uni.getMenuButtonBoundingClientRect(),'ressssss')\r\n\t\t}\r\n\t})\r\n\tuni.getNetworkType({\r\n\t\tsuccess: function(res) {\r\n\t\t\tconsole.log(res.networkType);\r\n\t\t}\r\n\t});\r\n})\r\nonMounted(() => {\r\n});\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n/*每个页面公共css */\r\n@import '@/uni_modules/uni-scss/index.scss';\r\n/* #ifndef APP-NVUE */\r\n@import '@/styles/common.scss';\r\n// 设置整个项目的背景色\r\npage {\r\n\tbackground-color: #f5f5f5;\r\n}\r\n\r\n/* #endif */\r\n.example-info {\r\n\tfont-size: 14px;\r\n\tcolor: #333;\r\n\tpadding: 10px;\r\n}\r\n</style>\r\n","import mod from \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\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 \"-!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!C:\\\\Users\\\\itcast\\\\Downloads\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""} |