You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
13 KiB

{"version":3,"sources":["uni-app:///main.js",null,"webpack:///D:/工作/zhonglmini/App.vue?b91c","uni-app:///App.vue","webpack:///D:/工作/zhonglmini/App.vue?29eb","webpack:///D:/工作/zhonglmini/App.vue?050b"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","Vue","prototype","$api","$util","component","hypIcon","hypImage","msg","title","duration","mask","icon","Boolean","uni","showToast","json","type","Promise","resolve","setTimeout","Json","prePage","pages","getCurrentPages","length","$vm","config","productionTip","$testapi","App","mpType","app","$mount","globalData","dflindex","xflid","dflid","onLaunch","updateManager","content","success","onShow","onHide"],"mappings":";;;;;;;;;;;;;;;AAAA;AAE2D;AAC3D;AAEA;AACA;AAQA;AAAyB;AAAA;AAAA;AAAA;AAbzB;AACAA,EAAE,CAACC,iCAAiC,GAAGC,mBAAmB;AAAC;EAAA;IAAA;EAAA;AAAA;AAAA;EAAA;IAAA;EAAA;AAAA;AAS3DC,YAAG,CAACC,SAAS,CAACC,IAAI,GAAGA,IAAI;AACzBF,YAAG,CAACC,SAAS,CAACE,KAAK,GAAGA,aAAK;AAED;AAC1BH,YAAG,CAACI,SAAS,CAAC,UAAU,EAAEC,OAAO,CAAC;AAClCL,YAAG,CAACI,SAAS,CAAC,WAAW,EAAEE,QAAQ,CAAC;AACpC;AACA,IAAMC,GAAG,GAAG,SAANA,GAAG,CAAIC,KAAK,EAA2C;EAAA,IAAzCC,QAAQ,uEAAC,IAAI;EAAA,IAAEC,IAAI,uEAAC,KAAK;EAAA,IAAEC,IAAI,uEAAC,MAAM;EACzD;EACA,IAAGC,OAAO,CAACJ,KAAK,CAAC,KAAK,KAAK,EAAC;IAC3B;EACD;EACAK,GAAG,CAACC,SAAS,CAAC;IACbN,KAAK,EAALA,KAAK;IACLC,QAAQ,EAARA,QAAQ;IACRC,IAAI,EAAJA,IAAI;IACJC,IAAI,EAAJA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A;MACAzB;QACAL;QACA+B;QACAC;UACA;YACA;YACAF;UACA;QACA;MACA;IACA;EACA;EACAG;EACAC;AACA;AAAA,2B;;;;;;;;;;;;;AC7CA;AAAA;AAAA;AAAA;AAA4qC,CAAgB,8mCAAG,EAAC,C;;;;;;;;;;;ACAhsC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"common/main.js","sourcesContent":["import 'uni-pages';\r\n// @ts-ignore\r\nwx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;import Vue from 'vue'\r\nimport App from './App'\r\n\r\nimport * as $api from './common/api'\r\nimport $util from './common/util'\r\n\r\nimport hypIcon from './components/hyp-icon/hyp-icon'\r\nimport hypImage from './components/hyp-image/hyp-image'\r\n\r\nVue.prototype.$api = $api\r\nVue.prototype.$util = $util\r\n\r\nimport Json from './Json' //测试用数据\r\nVue.component('hyp-icon', hypIcon)\r\nVue.component('hyp-image', hypImage)\r\n//模拟接口,获取本地数据\r\nconst msg = (title, duration=1500, mask=false, icon='none')=>{\r\n\t//统一提示方便全局修改\r\n\tif(Boolean(title) === false){\r\n\t\treturn;\r\n\t}\r\n\tuni.showToast({\r\n\t\ttitle,\r\n\t\tduration,\r\n\t\tmask,\r\n\t\ticon\r\n\t});\r\n}\r\nconst json = type=>{\r\n\t//模拟异步请求数据\r\n\treturn new Promise(resolve=>{\r\n\t\tsetTimeout(()=>{\r\n\t\t\tresolve(Json[type]);\r\n\t\t}, 500)\r\n\t})\r\n}\r\n\r\nconst prePage = ()=>{\r\n\tlet pages = getCurrentPages();\r\n\tlet prePage = pages[pages.length - 2];\r\n\r\n\r\n\r\n\treturn prePage.$vm;\r\n}\r\n\r\nVue.config.productionTip = false\r\nVue.prototype.$testapi = {msg, json, prePage};\r\nApp.mpType = 'app'\r\n\r\nconst app = new Vue({\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=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!E:\\\\下载\\\\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:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\下载\\\\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:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\babel-loader\\\\lib\\\\index.js!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--13-1!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\script.js!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\webpack-uni-mp-loader\\\\lib\\\\style.js!./App.vue?vue&type=script&lang=js&\"","<script>\r\n\texport default {\r\n\t\t// 全局变量定义\r\n\t\tglobalData:{\r\n\t\t\tdflindex:0,\r\n\t\t\txflid:0,\r\n\t\t\tdflid:0,\r\n\t\t},\r\n\t\tonLaunch() {\r\n\t\t\tconst updateManager = uni.getUpdateManager();\r\n\t\t\tupdateManager.onCheckForUpdate(function (res) {\r\n\t\t\t // 请求完新版本信息的回调\r\n\t\t\t //console.log(res.hasUpdate);\r\n\t\t\t});\r\n\t\t\t\r\n\t\t\tupdateManager.onUpdateReady(function (res) {\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 // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启\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\r\n\t\t\tupdateManager.onUpdateFailed(function (res) {\r\n\t\t\t // 新的版本下载失败\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 // 新的版本已经下载好,调用 applyUpdate 应用新版本并重启\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},\r\n\t\tonShow() {},\r\n\t\tonHide() {},\r\n\t}\r\n</script>\r\n\r\n<style lang='scss'>\r\n\t/*每个页面公共css */\r\n\t@font-face {\r\n\t\tfont-family: yticon;\r\n\t\tfont-weight: normal;\r\n\t\tfont-style: normal;\r\n\t\tsrc: url('https://at.alicdn.com/t/font_1078604_w4kpxh0rafi.ttf') format('truetype');\r\n\t}\r\n\t\r\n\t@import '/static/iconfont.css';\r\n\t/* 图片载入替代方案 */\r\n\t.image-wrapper {\r\n\t\tfont-size: 0;\r\n\t\tbackground: #f3f3f3;\r\n\t\tborder-radius: 4px;\r\n\t\r\n\t\timage {\r\n\t\t\twidth: 100%;\r\n\t\t\theight: 100%;\r\n\t\t\ttransition: .6s;\r\n\t\t\topacity: 0;\r\n\t\r\n\t\t\t&.loaded {\r\n\t\t\t\topacity: 1;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\t.yticon {\r\n\t\tfont-family: \"yticon\" !important;\r\n\t\tfont-size: 16px;\r\n\t\tfont-style: normal;\r\n\t\t-webkit-font-smoothing: antialiased;\r\n\t\t-moz-osx-font-smoothing: grayscale;\r\n\t}\r\n\t/* 购物车图标 */\r\n\t.icon-gouwuche_:before {\r\n\t\tcontent: \"\\e630\";\r\n\t}\r\n\t.icon-gouwuche:before {\r\n\t\tcontent: \"\\e609\";\r\n\t}\r\n\t/*收藏图标 */\r\n\t.icon-shoucang:before {\r\n\t\tcontent: \"\\e645\";\r\n\t}\r\n\t/* 价格上下图标 */\r\n\t.icon-shang:before {\r\n\t\tcontent: \"\\e624\";\r\n\t}\r\n\t.icon-fenlei1:before {\r\n\t\tcontent: \"\\e620\";\r\n\t}\r\n\t/* 支付图标 */\r\n\t.icon-weixinzhifu:before {\r\n\t\tcontent: \"\\e61a\";\r\n\t}\r\n\t.icon-erjiye-yucunkuan:before {\r\n\t\tcontent: \"\\e623\";\r\n\t}\r\n\t.icon-xuanzhong2:before {\r\n\t\tcontent: \"\\e62f\";\r\n\t}\r\n\t/* 订单图标 */\r\n\t.icon-shouye:before {\r\n\t\tcontent: \"\\e626\";\r\n\t}\r\n\t.icon-daifukuan:before {\r\n\t\tcontent: \"\\e68f\";\r\n\t}\r\n\t.icon-yishouhuo:before {\r\n\t\tcontent: \"\\e71a\";\r\n\t}\r\n\t.icon-shouhoutuikuan:before {\r\n\t\tcontent: \"\\e631\";\r\n\t}\r\n\t/* 浏览历史记录 */\r\n\t.icon-lishijilu:before {\r\n\t\tcontent: \"\\e6b9\";\r\n\t}\r\n\t/* 收货地址 */\r\n\t.icon-dizhi:before {\r\n\t\tcontent: \"\\e614\";\r\n\t}\r\n\t.icon-shoucang_xuanzhongzhuangtai:before {\r\n\t\tcontent: \"\\e6a9\";\r\n\t}\r\n\t.icon-shezhi1:before {\r\n\t\tcontent: \"\\e61d\";\r\n\t}\r\n\t/* 联系客服 */\r\n\t.icon-pinglun-copy:before {\r\n\t\tcontent: \"\\e612\";\r\n\t}\r\n\t\r\n</style>\r\n","import mod from \"-!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\下载\\\\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:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\mini-css-extract-plugin\\\\dist\\\\loader.js??ref--8-oneOf-1-0!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\css-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-1!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\loaders\\\\stylePostLoader.js!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-2!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\postcss-loader\\\\src\\\\index.js??ref--8-oneOf-1-3!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\sass-loader\\\\dist\\\\cjs.js??ref--8-oneOf-1-4!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\webpack-preprocess-loader\\\\index.js??ref--8-oneOf-1-5!E:\\\\下载\\\\HBuilderX\\\\plugins\\\\uniapp-cli\\\\node_modules\\\\@dcloudio\\\\vue-cli-plugin-uni\\\\packages\\\\vue-loader\\\\lib\\\\index.js??vue-loader-options!E:\\\\下载\\\\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 // 1719971333090\n var cssReload = require(\"E:/下载/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":""}