main.js.map 13 KB

1
  1. {"version":3,"sources":["uni-app:///main.js",null,"webpack:///G:/gsxm/git/yangdaxia/App.vue?da07","uni-app:///App.vue","webpack:///G:/gsxm/git/yangdaxia/App.vue?4b9c","webpack:///G:/gsxm/git/yangdaxia/App.vue?1d7d"],"names":["Vue","use","uView","msg","title","duration","mask","icon","Boolean","uni","showToast","prePage","pages","getCurrentPages","length","$vm","config","productionTip","prototype","$fire","$store","store","$api","App","mpType","app","$mount"],"mappings":";;;;;;;;;sDAAA,wCAAmB;AACnB;AACA;AACA,wF;AACAA,aAAIC,GAAJ,CAAQC,gBAAR;AACA,IAAMC,GAAG,GAAG,SAANA,GAAM,CAACC,KAAD,EAAiD,KAAzCC,QAAyC,uEAAhC,IAAgC,KAA1BC,IAA0B,uEAArB,KAAqB,KAAdC,IAAc,uEAAT,MAAS;AAC5D;AACA,MAAGC,OAAO,CAACJ,KAAD,CAAP,KAAmB,KAAtB,EAA4B;AAC3B;AACA;AACDK,KAAG,CAACC,SAAJ,CAAc;AACbN,SAAK,EAALA,KADa;AAEbC,YAAQ,EAARA,QAFa;AAGbC,QAAI,EAAJA,IAHa;AAIbC,QAAI,EAAJA,IAJa,EAAd;;AAMA,CAXD;;AAaA,IAAMI,OAAO,GAAG,mBAAI;AACnB;AACA,MAAIC,KAAK,GAAGC,eAAe,EAA3B;AACA,MAAIF,OAAO,GAAGC,KAAK,CAACA,KAAK,CAACE,MAAN,GAAe,CAAhB,CAAnB;;;;AAIA,SAAOH,OAAO,CAACI,GAAf;AACA,CARD;AASAf,aAAIgB,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;AACAjB,aAAIkB,SAAJ,CAAcC,KAAd,GAAsB,IAAInB,YAAJ,EAAtB;AACAA,aAAIkB,SAAJ,CAAcE,MAAd,GAAuBC,cAAvB;AACArB,aAAIkB,SAAJ,CAAcI,IAAd,GAAqB,EAACnB,GAAG,EAAHA,GAAD,EAAMQ,OAAO,EAAPA,OAAN,EAArB;AACAY,aAAIC,MAAJ,GAAa,KAAb;AACA,IAAMC,GAAG,GAAG,IAAIzB,YAAJ;AACLuB,YADK,EAAZ;;AAGA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;;;;ACnCA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACc;;;AAGhE;AAC2K;AAC3K,gBAAgB,oLAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAA2nB,CAAgB,gpBAAG,EAAC,C;;;;;;;;;;;;;;;ACI/oB,+C;;;;;;;AAOA;AACA,MADA,kBACA;AACA;AACA;AACA,iBAFA;;AAIA,GANA;AAOA;AACA,uEADA,CAPA;;AAUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBADA;AAEA;AACA;AACA;AACA,SALA;;AAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,GArDA;AAsDA;AACA;AACA;AACA,GAzDA;AA0DA;AACA;AACA,GA5DA,E;;;;;;;;;;;;ACXA;AAAA;AAAA;AAAA;AAAqpC,CAAgB,snCAAG,EAAC,C;;;;;;;;;;ACAzqC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';import Vue from 'vue'\nimport store from './store'\nimport App from './App'\nimport uView from \"@/plugin/uview-ui\";\nVue.use(uView);\nconst msg = (title, duration=1500, mask=false, icon='none')=>{\n\t//统一提示方便全局修改\n\tif(Boolean(title) === false){\n\t\treturn;\n\t}\n\tuni.showToast({\n\t\ttitle,\n\t\tduration,\n\t\tmask,\n\t\ticon\n\t});\n}\n\nconst prePage = ()=>{\n\t// 获取当前页面\n\tlet pages = getCurrentPages();\n\tlet prePage = pages[pages.length - 2];\n\n\n\n\treturn prePage.$vm;\n}\nVue.config.productionTip = false\nVue.prototype.$fire = new Vue();\nVue.prototype.$store = store;\nVue.prototype.$api = {msg, prePage};\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\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 \"!E:\\\\soft\\\\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 \"-!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\soft\\\\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 \"-!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--12-1!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"","<script>\n/**\n * vuex管理登陆状态,具体可以参考官方登陆模板示例\n */\nimport { mapMutations } from 'vuex';\n// #ifdef H5\nimport { weixindata, setRouter } from './utils/wxAuthorized';\n// #endif\n// #ifdef APP-PLUS\nimport { getUpApp } from './utils/upApp.js';\n// #endif\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\t/* 保存微信信息 */\n\t\t\tappData: {}\n\t\t};\n\t},\n\tmethods: {\n\t\t...mapMutations('user', ['setUserInfo', 'login', 'hasLogin'])\n\t},\n\tonLaunch: function(urlObj) {\n\t\tlet obj = this;\n\t\t// 加载缓存中的用户信息\n\t\tlet userInfo = uni.getStorageSync('userInfo') || '';\n\t\t// 判断是否拥有用户信息\n\t\tif (userInfo.uid) {\n\t\t\t//更新登陆状态\n\t\t\tuni.getStorage({\n\t\t\t\tkey: 'userInfo',\n\t\t\t\tsuccess: res => {\n\t\t\t\t\tobj.setUserInfo(res.data);\n\t\t\t\t\tobj.login(res.data);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\t// #ifdef H5\n\t\t// 保存路由对象\n\t\tsetRouter(this.$router);\n\t\t//判断是否已经缓存浏览器\n\t\tlet bool = uni.getStorageSync('weichatBrowser') || '';\n\t\tif (bool === '') {\n\t\t\t//判断是否为微信浏览\n\t\t\tbool = navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == 'micromessenger';\n\t\t\t// 保存当前是否为微信内核浏览器\n\t\t\tuni.setStorageSync('weichatBrowser', bool);\n\t\t}\n\t\tif (bool) {\n\t\t\t// 加载微信信息\n\t\t\tweixindata();\n\t\t}\n\t\t// #endif\n\t\t// #ifdef APP-PLUS\n\t\t// 判断是否升级\n\t\tgetUpApp();\n\t\t// 获取当前运行系统\n\t\tlet system = uni.getStorageSync('platform') || '';\n\t\tif (!system) {\n\t\t\tuni.setStorage({\n\t\t\t\tkey: 'platform',\n\t\t\t\tdata: uni.getSystemInfoSync().platform\n\t\t\t});\n\t\t}\n\t\t// #endif\n\t},\n\tonShow: function() {\n\t\t// 加载拦截\n\t\t// console.log('App Show');\n\t},\n\tonHide: function() {\n\t\t// console.log('App Hide');\n\t}\n};\n</script>\n\n<style lang=\"scss\">\n/*全局公共样式和字体图标*/\n@import '/static/css/cmy.css';\n@import \"@/plugin/uview-ui/index.scss\";\nview,\nscroll-view,\nswiper,\nswiper-item,\ncover-view,\ncover-image,\nicon,\ntext,\nrich-text,\nprogress,\nbutton,\ncheckbox,\nform,\ninput,\nlabel,\nradio,\nslider,\nswitch,\ntextarea,\nnavigator,\naudio,\ncamera,\nimage,\nvideo {\n\tbox-sizing: border-box;\n}\n/* 骨架屏替代方案 */\n.Skeleton {\n\tbackground: #f3f3f3;\n\tpadding: 20rpx 0;\n\tborder-radius: 8rpx;\n}\n\n/* 图片载入替代方案 */\n.image-wrapper {\n\tfont-size: 0;\n\tbackground: #f3f3f3;\n\tborder-radius: 4px;\n\timage {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\ttransition: 0.6s;\n\t\topacity: 0;\n\t\t&.loaded {\n\t\t\topacity: 1;\n\t\t}\n\t}\n}\n\n// 设置富文本中图片最大宽度\nuni-rich-text img {\n\tmax-width: 100% !important;\n}\n/*边框*/\n.b-b:after,\n.b-t:after {\n\tposition: absolute;\n\tz-index: 3;\n\tleft: 0;\n\tright: 0;\n\theight: 0;\n\tcontent: '';\n\ttransform: scaleY(0.5);\n\tborder-bottom: 1px solid $border-color-base;\n}\n\n.b-b:after {\n\tbottom: 0;\n}\n\n.b-t:after {\n\ttop: 0;\n}\n\n/* button样式改写 */\nuni-button,\nbutton {\n\theight: 80rpx;\n\tline-height: 80rpx;\n\tfont-size: $font-lg + 2rpx;\n\tfont-weight: normal;\n\n\t&.no-border:before,\n\t&.no-border:after {\n\t\tborder: 0;\n\t}\n}\n\nuni-button[type='default'],\nbutton[type='default'] {\n\tcolor: $font-color-dark;\n}\n\n/* input 样式 */\n.input-placeholder {\n\tcolor: #999999;\n}\n\n.placeholder {\n\tcolor: #999999;\n}\n// 边距样式\n@for $i from 1 to 4 {\n\t.margin-l-#{$i * 10} {\n\t\tmargin-left: $i * 10rpx !important;\n\t}\n\t.margin-r-#{$i * 10} {\n\t\tmargin-right: $i * 10rpx !important;\n\t}\n\t.margin-t-#{$i * 10} {\n\t\tmargin-top: $i * 10rpx !important;\n\t}\n\t.margin-b-#{$i * 10} {\n\t\tmargin-bottom: $i * 10rpx !important;\n\t}\n\t.margin-#{$i * 10} {\n\t\tmargin: $i * 10rpx !important;\n\t}\n\t.margin-v-#{$i * 10} {\n\t\tmargin-top: $i * 10rpx !important;\n\t\tmargin-bottom: $i * 10rpx !important;\n\t}\n\t.margin-c-#{$i * 10} {\n\t\tmargin-left: $i * 10rpx !important;\n\t\tmargin-right: $i * 10rpx !important;\n\t}\n\t.padding-l-#{$i * 10} {\n\t\tpadding-left: $i * 10rpx !important;\n\t}\n\t.padding-r-#{$i * 10} {\n\t\tpadding-right: $i * 10rpx !important;\n\t}\n\t.padding-t-#{$i * 10} {\n\t\tpadding-top: $i * 10rpx !important;\n\t}\n\t.padding-b-#{$i * 10} {\n\t\tpadding-bottom: $i * 10rpx !important;\n\t}\n\t.padding-#{$i * 10} {\n\t\tpadding: $i * 10rpx !important;\n\t}\n\t.padding-v-#{$i * 10} {\n\t\tpadding-top: $i * 10rpx !important;\n\t\tpadding-bottom: $i * 10rpx !important;\n\t}\n\t.padding-c-#{$i * 10} {\n\t\tpadding-left: $i * 10rpx !important;\n\t\tpadding-right: $i * 10rpx !important;\n\t}\n}\n// 字体大小\n.font-size-sm {\n\tfont-size: $font-sm;\n}\n.font-size-base {\n\tfont-size: $font-base;\n}\n.font-size-lg {\n\tfont-size: $font-lg;\n}\n// 字体颜色\n.font-color-yellow {\n\tcolor: $color-yellow;\n}\n.font-color-gray {\n\tcolor: $color-gray;\n}\n.font-color-red {\n\tcolor: $color-red;\n}\n// 边框颜色\n.border-color-yellow {\n\tborder: 1rpx solid $color-yellow;\n}\n\n// 修改默认背景颜色\nuni-page-wrapper {\n\tbackground-color: $page-color-base;\n}\npage {\n\tbackground-color: $page-color-base;\n\t// 设置默认字体\n\tfont-family: PingFang SC, STHeitiSC-Light, Helvetica-Light, arial, sans-serif, Droid Sans Fallback;\n}\n</style>\n","import mod from \"-!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\soft\\\\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 \"-!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\soft\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\soft\\\\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 // 1630044239082\n var cssReload = require(\"E:/soft/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":""}