1 line
15 KiB
Plaintext
1 line
15 KiB
Plaintext
{"version":3,"sources":["uni-app:///main.js","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/App.vue?7594","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/App.vue?5825","uni-app:///App.vue","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/App.vue?9cfe","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/App.vue?1835"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","prototype","$store","store","component","statusNav","footTab","backTop","catePu","listPu","pupo","nothingPage","publicCustomer","authUserInfoMobileInfo","mixin","share","$hostApi","$toolAll","tools","$requst","requst","$http","console","log","$log","config","productionTip","App","mpType","app","$mount"],"mappings":";;;;;;;;;iDAAA,wCAA8E;AAC9E;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA;;;;;AAKA;;;;;AAKA,wF,wnCA3CmBA,EAAE,CAACC,iCAAH,GAAuCC,mBAAvC,CAGnBC,aAAIC,SAAJ,CAAcC,MAAd,GAAuBC,cAAvB,C,uSAEoD;AACpDH,aAAII,SAAJ,CAAc,YAAd,EAA2BC,SAA3B,E,CAAqC;6RAEW;AAChDL,aAAII,SAAJ,CAAc,UAAd,EAAyBE,OAAzB,E,CAAiC;0RAEc;AAC/CN,aAAII,SAAJ,CAAc,UAAd,EAAyBG,OAAzB,E,CAAiC;yTAEwB;AACzDP,aAAII,SAAJ,CAAc,SAAd,EAAwBI,MAAxB,E,CAA+B;wRAEe;AAC9CR,aAAII,SAAJ,CAAc,SAAd,EAAwBK,MAAxB,E,CAA+B;2QAEU;AACzCT,aAAII,SAAJ,CAAc,OAAd,EAAsBM,IAAtB,E,CAA2B;iTAE4B;AACvDV,aAAII,SAAJ,CAAc,cAAd,EAA6BO,WAA7B,E,CAAyC;gUAEoB;AAC7DX,aAAII,SAAJ,CAAc,iBAAd,EAAgCQ,cAAhC,E,CAA+C;0XAEoC;AACnFZ,aAAII,S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A;AACA,kDADA,CACA;AACA;AACA;AACA;AACA;AACA,2BADA;AAEA,8CAFA;AAGA;AACA;AACA;AACA;AACA;AACA,iBAJA,MAIA;AACA;AACA;AACA,kCADA;AAEA,2DAFA;AAGA,qCAHA,EAGA;AACA,uCAJA,EAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAXA;;AAaA;AACA,eAxBA;;AA0BA;AACA,SA9BA;AA+BA,OAjCA,MAiCA;AACA;AACA,qBADA;AAEA,oDAFA;;AAIA;AACA,KA3CA;AA4CA;;;AAGA;AACA;AACA,uBAFA,CAEA;AACA;AACA,yBADA,CACA;AACA;AACA;AACA,OAJA;AAKA;AACA;AACA,4BADA;AAEA,iDAFA;;AAIA,OALA;AAMA,KA7DA,EA/BA,E;;;;;;;;;;;;;;;;;ACJA;AAAA;AAAA;AAAA;AAAypC,CAAgB,8lCAAG,EAAC,C;;;;;;;;;;ACA7qC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import Vue from 'vue'\nimport App from './App'\nimport store from './store'\nVue.prototype.$store = store\n\nimport statusNav from './components/status-nav.vue';//引入状态栏组件\nVue.component('status-nav',statusNav)//全局注册状态栏组件\n\nimport footTab from './components/foot-tab.vue';//引入底部tab组件\nVue.component('foot-tab',footTab)//全局注册底部tab组件\n\nimport backTop from './components/backTop.vue';//引入返回顶部组件\nVue.component('back-top',backTop)//全局注册返回顶部组件\n\nimport catePu from './components/cate-items/cate-pu.vue';//引入分类组件\nVue.component('cate-pu',catePu)//全局注册分类组件\n\nimport listPu from './components/list-pu.vue';//引入视频、图片列表组件\nVue.component('list-pu',listPu)//全局注册视频、图片列表组件\n\nimport pupo from './components/pupo.vue';//引入弹框组件\nVue.component('pu-po',pupo)//全局注册弹框组件\n\nimport nothingPage from './components/nothing-page.vue'//引入无内容组件\nVue.component('nothing-page',nothingPage)//全局注册无内容组件\n\nimport publicCustomer from './components/public-customer.vue'//引入客服组件\nVue.component('public-customer',publicCustomer)//全局注册客服组件\n\nimport authUserInfoMobileInfo from './components/auth/auth-userInfo-mobileInfo.vue'//引入授权用户信息,授权手机号组件\nVue.component('auth-userInfo-mobileInfo',authUserInfoMobileInfo)//全局注册授权用户信息,授权手机号组件\n\n// 全局注册分享事件\nimport share from './jsFile/share.js'\nVue.mixin(share)\n\nVue.prototype.$hostApi = 'https://oss.hmzfyy.cn';\n// 常用工具\nimport tools from '@/jsFile/tools.js'\nVue.prototype.$toolAll = tools;\n\n\n// 响应数据\nimport requst from '@/jsFile/requst.js'\nVue.prototype.$requst = requst;\n// 域名,专治后台仔没有返回http/https的图片\nVue.prototype.$http = 'https://oss.hmzfyy.cn';\n\nconst {log} = console;\nVue.prototype.$log = log\n\n\n\n\n\n\n\n\n\n\n\n\n\nVue.config.productionTip = false\n\nApp.mpType = 'app'\n\nconst app = new Vue({\n\tstore,\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=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./App.vue?vue&type=script&lang=js&\"","<script>\n\timport toolAll from '@/jsFile/tools.js';\n\timport requst from '@/jsFile/requst.js';\n\timport { themeEv } from '@/jsFile/publicAPI.js';\n\texport default {\n\t\tglobalData:{\n\t\t\toutside:true,//是否外界进来,默认是\n\t\t\thostApi:''//域名\n\t\t},\n\t\tonLaunch: function() {\n\t\t\t// 获取主题色事件\n\t\t\tthemeEv();\n\t\t\tthis.autoUpdate();\n\t\t\t// 检测当前运行环境并缓存域名\n\t\t\ttoolAll.tools.currentContext();\n\t\t\ttoolAll.tools.isVedio();\n\t\t}, \n\t\tonShow: function() { \n\t\t\tif(uni.getStorageSync('token')) {\n\t\t\t\ttoolAll.tools.networkStatus();//检查当前网络状态\n\t\t\t\ttoolAll.tools.refreshToken();//每十分钟刷新token\n\t\t\t} \n\t\t\ttoolAll.tools.checkQuan(); // 查询首页活动券\n\t\t},\n\t\tonHide: function() {\n\t\t\ttoolAll.tools.closeTimer();//清空埋点倒计时\n\t\t\tif(uni.getStorageSync('token')) {\n\t\t\t\ttoolAll.tools.refreshToken();//刷新token\n\t\t\t}\n\t\t\tuni.removeStorageSync('isQuan');\n\t\t\tuni.removeStorageSync('quanImg'); // 清空优惠券图片缓存\n\t\t\tuni.removeStorageSync('quanId'); // 清空优惠券id缓存\n\t\t\tuni.removeStorageSync('isVedio'); // 清空是否是视频缓存\n\t\t\tuni.removeStorageSync('urlparams');\n\t\t},\n\t\tmethods:{\n\t\t\tautoUpdate: function() { \n\t\t\t\tvar self = this;\n\t\t\t // 获取小程序更新机制兼容\n\t\t\t if (wx.canIUse('getUpdateManager')) {\n\t\t\t\t\tconst updateManager = wx.getUpdateManager() //1. 检查小程序是否有新版本发布\n\t\t\t\t\tupdateManager.onCheckForUpdate(function(res) { // 请求完新版本信息的回调\n\t\t\t\t\t\tif (res.hasUpdate) {\n\t\t\t\t\t\t\t//检测到新版本,需要更新,给出提示 \n\t\t\t\t\t\t\twx.showModal({\n\t\t\t\t\t\t\t\ttitle: '更新提示',\n\t\t\t\t\t\t\t\tcontent: '检测到新版本,是否下载新版本并重启小程序?',\n\t\t\t\t\t\t\t\tsuccess: function(res) { \n\t\t\t\t\t\t\t\t\tif (res.confirm) { \n\t\t\t\t\t\t\t\t\t\t//2. 用户确定下载更新小程序,小程序下载及更新静默进行 \n\t\t\t\t\t\t\t\t\t\tself.downLoadAndUpdate(updateManager)\n\t\t\t\t\t\t\t\t\t\tuni.clearStorage();\n\t\t\t\t\t\t\t\t\t} else if (res.cancel) { \n\t\t\t\t\t\t\t\t\t\t\t//用户点击取消按钮的处理,如果需要强制更新,则给出二次弹窗,如果不需要,则这里的代码都可以删掉了 \n\t\t\t\t\t\t\t\t\t\twx.showModal({\n\t\t\t\t\t\t\t\t\t\t\ttitle: '温馨提示~',\n\t\t\t\t\t\t\t\t\t\t\tcontent: '本次版本更新涉及到新的功能添加,旧版本无法正常访问的哦~',\n\t\t\t\t\t\t\t\t\t\t\tshowCancel:false,//隐藏取消按钮\n\t\t\t\t\t\t\t\t\t\t\tconfirmText:\"确定更新\",//只保留确定更新按钮\n\t\t\t\t\t\t\t\t\t\t\tsuccess: function(res) { \n\t\t\t\t\t\t\t\t\t\t\t\tif (res.confirm) { \n\t\t\t\t\t\t\t\t\t\t\t\t\t//下载新版本,并重新应用 \n\t\t\t\t\t\t\t\t\t\t\t\t\tself.downLoadAndUpdate(updateManager)\n\t\t\t\t\t\t\t\t\t\t\t\t\tconsole.log(5);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t } else { // 如果希望用户在最新版本的客户端上体验您的小程序,可以这样子提示 \n\t\t\t\t\twx.showModal({\n\t\t\t\t\t\ttitle: '提示',\n\t\t\t\t\t\tcontent: '当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。'\n\t\t\t\t\t})\n\t\t\t }\n\t\t\t}, \n\t\t\t/**\n\t\t\t* 下载小程序新版本并重启应用 \n\t\t\t* */\n\t\t\tdownLoadAndUpdate: function (updateManager){ \n\t\t\t\tvar self = this;\n\t\t\t wx.showLoading(); //静默下载更新小程序新版本\n\t\t\t updateManager.onUpdateReady(function () {\n\t\t\t\t\twx.hideLoading() //新的版本已经下载好,调用 applyUpdate 应用新版本并重启 \n\t\t\t\t\tupdateManager.applyUpdate()\n\t\t\t\t\tuni.clearStorage();\n\t\t\t })\n\t\t\t updateManager.onUpdateFailed(function () { // 新的版本下载失败 \n\t\t\t\t\twx.showModal({\n\t\t\t\t\t\ttitle: '已经有新版本了哟~',\n\t\t\t\t\t\tcontent: '新版本已经上线啦~,请您删除当前小程序,重新搜索打开哟~',\n\t\t\t\t\t})\n\t\t\t })\n\t\t\t}\n\t\t}\n\t};\n</script>\n\n<style>\n\t/*每个页面公共css */\n\t@import url(\"./commons/hengmei.css\");\n\t@import url(\"./commons/animate.min.css\");\n\tpage {background-color: rgba(244, 244, 244, 1);}\n</style>\n","import mod from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/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 \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../../Applications/HBuilderX.app/Contents/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 // 1653900082155\n var cssReload = require(\"/Applications/HBuilderX.app/Contents/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":""} |