1 line
8.3 KiB
Plaintext
1 line
8.3 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:///D:/office/phy/HSLink/HSLink-app/App.vue?6979","webpack:///D:/office/phy/HSLink/HSLink-app/App.vue?9bee","uni-app:///App.vue","webpack:///D:/office/phy/HSLink/HSLink-app/App.vue?40de","webpack:///D:/office/phy/HSLink/HSLink-app/App.vue?2be5"],"names":["Vue","config","productionTip","prototype","$store","store","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA,wCAAmB;AACnB;AACA;AACA;AACA;AACA,4E;;AAEAA,aAAIC,MAAJ,CAAWC,aAAX,GAA2B,KAA3B;;AAEAF,aAAIG,SAAJ,CAAcC,MAAd,GAAuBC,cAAvB;;AAEAC,aAAIC,MAAJ,GAAa,KAAb;;AAEA,IAAMC,GAAG,GAAG,IAAIR,YAAJ;AACXK,OAAK,EAALA,cADW;AAELC,YAFK,EAAZ;;AAIA,UAAAE,GAAG,EAACC,MAAJ,G;;;;;;;;;;;;;;;;ACjBA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACuD;AACL;AACa;;;AAG/D;AACqK;AACrK,gBAAgB,kLAAU;AAC1B,EAAE,yEAAM;AACR;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACe,gF;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAA0mB,CAAgB,soBAAG,EAAC,C;;;;;;;;;;;;ACC9nB,uF;AACA;AACA,MADA,kBACA;AACA;AACA;AACA,sBAFA;;AAIA,GANA;AAOA;AACA;AACA;AACA;;;AAGA;;;;;;;;;AASA,GAtBA;AAuBA;AACA;AACA,GAzBA;AA0BA;AACA;AACA,GA5BA;AA6BA;AACA;;;AAGA,mBAJA,6BAIA;AACA;AACA,sDADA;AAEA,UAFA,CAEA;AACA;AACA;AACA;AACA,oBADA;AAEA,kDAFA;;AAIA,SALA,MAKA;AACA;AACA,oBADA;;AAGA;AACA,OAdA,EAcA;AACA;AACA,OAhBA;AAiBA,KAtBA,EA7BA,E;;;;;;;;;;;;;ACFA;AAAA;AAAA;AAAA;AAAi4B,CAAgB,q4BAAG,EAAC,C;;;;;;;;;;ACAr5B;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';import Vue from 'vue';\r\nimport App from './App';\r\nimport '@/static/css/public.css';\r\nimport '@/static/js/public.js';\r\nimport '@/static/js/jquery-1.12.2.js';\r\nimport store from './store';\r\n\r\nVue.config.productionTip = false;\r\n\r\nVue.prototype.$store = store;\r\n\r\nApp.mpType = 'app';\r\n\r\nconst app = new Vue({\r\n\tstore,\r\n ...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=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../work/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 \"-!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../work/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 \"-!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../work/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 request from \"@/util/request.js\";\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\t//未读消息数字\r\n\t\t\tunreadNumber: \"\"\r\n\t\t}\r\n\t},\r\n\tonLaunch: function() {\r\n\t\tconsole.log('App Launch');\r\n\t\tthis.getTabBarNumber();\r\n\t\t/**\r\n\t\t * 主页面tab标签红标显示\r\n\t\t */\r\n\t\t/* setTimeout(() => {\r\n\t\t\tuni.setTabBarBadge({\r\n\t\t\t\tindex: 1,\r\n\t\t\t\ttext: '31'\r\n\t\t\t});\r\n\t\t\tuni.showTabBarRedDot({\r\n\t\t\t\tindex: 3\r\n\t\t\t});\r\n\t\t}, 1000); */\r\n\t},\r\n\tonShow: function() {\r\n\t\tconsole.log('App Show');\r\n\t},\r\n\tonHide: function() {\r\n\t\tconsole.log('App Hide');\r\n\t},\r\n\tmethods: {\r\n\t\t/**\r\n\t\t * 获取tabBar数字\r\n\t\t */\r\n\t\tgetTabBarNumber() {\r\n\t\t\trequest.post(\"/hs/getTabBarNumber\",{\r\n\t\t\t\tuserId: uni.getStorageSync(\"userInfo\").user_id\r\n\t\t\t}).then(res => {\r\n\t\t\t\tconsole.log(\"获取tabBar数字\",res);\r\n\t\t\t\tif (res.data.unreadNumber > 0) {\r\n\t\t\t\t\tuni.setTabBarBadge({\r\n\t\t\t\t\t\tindex: 3,\r\n\t\t\t\t\t\ttext: res.data.unreadNumber.toString()\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\t\tuni.removeTabBarBadge({\r\n\t\t\t\t\t\t\tindex: 3\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t}\r\n\t\t\t},err => {\r\n\t\t\t\tconsole.log(\"err\",err)\r\n\t\t\t})\r\n\t\t}\r\n\t}\r\n};\r\n</script>\r\n\r\n<style>\r\n\t@import \"colorui/main.css\";\r\n @import \"colorui/icon.css\";\r\n\t/* 头条小程序需要把 iconfont 样式放到组件外 */\r\n\r\n\r\n\t/*每个页面公共css */\r\n\tpage {\r\n\t\theight: 100%;\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100%;\r\n\t\t/* display: flex; */\r\n\t\tfont-size: 16px;\r\n\t}\r\n\t.page{\r\n\t\tmargin: 20rpx;\r\n\t\tborder-radius: 10rpx;\r\n\t\tpadding-bottom: 100rpx;\r\n\t}\r\n\r\n\t/* #ifdef MP-BAIDU */\r\n\tpage {\r\n/* \t\twidth: 100%;\r\n\t\theight: 100%;\r\n\t\tdisplay: block; */\r\n\t}\r\n\r\n\tswan-template {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100%;\r\n\t\tdisplay: flex;\r\n\t}\r\n\r\n\t/* 原生组件模式下需要注意组件外部样式 */\r\n\tcustom-component {\r\n\t\twidth: 100%;\r\n\t\tmin-height: 100%;\r\n\t\t/* display: flex; */\r\n\t}\r\n\r\n\t/* #endif */\r\n\r\n\t/* #ifdef MP-ALIPAY */\r\n\tpage {\r\n\t\tmin-height: 100vh;\r\n\t}\r\n\r\n\t/* #endif */\r\n\r\n\t/* 原生组件模式下需要注意组件外部样式 */\r\n\tm-input {\r\n\t\twidth: 100%;\r\n\t\t/* min-height: 100%; */\r\n\t\t/* display: flex;\r\n\t\tflex: 1; */\r\n\t}\r\n</style>\n","import mod from \"-!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../work/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=style&index=0&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1602301331481\n var cssReload = require(\"D:/office/work/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":""} |