hengmei-two/unpackage/dist/dev/.sourcemap/mp-weixin/components/status-nav.js.map

1 line
12 KiB
Plaintext

{"version":3,"sources":["webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/status-nav.vue?f84f","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/status-nav.vue?f757","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/status-nav.vue?c908","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/status-nav.vue?56fe","uni-app:///components/status-nav.vue","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/status-nav.vue?9870","webpack:////Users/Ian/dnmp/www/frontend/hengmei-mp/components/status-nav.vue?6452"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACqC;;;AAG9F;AACgN;AAChN,gBAAgB,iNAAU;AAC1B,EAAE,gFAAM;AACR,EAAE,iGAAM;AACR,EAAE,0GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qGAAU;AACZ;AACA;;AAEA;AACe,gF;;;;;;;;;;;;ACvBf;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACRA;AAAA;AAAA;AAAA;AAAw0B,CAAgB,wyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkB51B;AACA,oBADA;AAEA;AACA;AACA,mBADA;AAEA,oBAFA,EADA;;AAKA;AACA,mBADA;AAEA,mBAFA,EALA;;AASA;AACA,kBADA;AAEA,wBAFA,EATA;;AAaA;AACA,kBADA;AAEA,wBAFA,EAbA;;AAiBA;AACA,kBADA;AAEA,iBAFA,EAjBA;;AAqBA;AACA,kBADA;AAEA,gBAFA,EArBA;;AAyBA;AACA,kBADA;AAEA,gBAFA,EAzBA,EAFA;;;AAgCA,SAhCA,qBAgCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAJA,EAIA,IAJA;;AAMA;AACA,kCAVA,CAUA;AACA,8CAXA,CAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAlDA;AAmDA,MAnDA,kBAmDA;AACA;AACA,8DADA,CACA;AADA;AAGA,GAvDA;AAwDA;AACA,aADA,uBACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kDADA;;AAGA;AACA;AACA;AACA,sCADA;;AAGA;AACA;AACA,gBAjBA;;AAmBA,KAxBA,EAxDA,E;;;;;;;;;;;;;AClBA;AAAA;AAAA;AAAA;AAA6sC,CAAgB,6nCAAG,EAAC,C;;;;;;;;;;;ACAjuC;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/status-nav.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./status-nav.vue?vue&type=template&id=1313cf7a&scoped=true&\"\nvar renderjs\nimport script from \"./status-nav.vue?vue&type=script&lang=js&\"\nexport * from \"./status-nav.vue?vue&type=script&lang=js&\"\nimport style0 from \"./status-nav.vue?vue&type=style&index=0&id=1313cf7a&scoped=true&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 \"1313cf7a\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/status-nav.vue\"\nexport default component.exports","export * from \"-!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.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!./status-nav.vue?vue&type=template&id=1313cf7a&scoped=true&\"","var components\nvar render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n}\nvar recyclableRender = false\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns, recyclableRender, components }","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!./status-nav.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!./status-nav.vue?vue&type=script&lang=js&\"","<template>\n <view class=\"status-box statusHNH\">\n <view :style=\"{height:statusBarHeight+'px',background:backgroudColor}\"></view>\n <view class=\"status-nav\" :style=\"{background:backgroudColor}\">\n <!-- 返回键 -->\n\t\t\t<view @tap=\"backEvent\" v-if=\"statusBack\" style=\"height: 33rpx;width: 120rpx;flex-shrink: 0;position: absolute;\">\n\t\t\t\t<image v-if=\"backColor==0\" class=\"tab-back\" src=\"/static/public/backBlackm.png\"></image>\n\t\t\t\t<image v-if=\"backColor==1\" class=\"tab-back\" src=\"/static/public/videoBack.png\"></image>\n\t\t\t</view>\n <!-- 标题 -->\n\t\t\t<!-- <view v-if=\"statusTitle\" :class=\"statusBack ? 'tcenter' : 'tleft'\" class=\"tab-title\" :style=\"{color:tabcolor}\">{{titleVal}}</view> -->\n\t\t\t<view v-if=\"statusTitle\" class=\"tab-title tcenter\" :style=\"{color:tabcolor}\">{{titleVal}}</view>\n\t\t\t<view v-else class=\"tab-title tcenter\" :style=\"{color:tabcolor}\"> </view>\n </view>\n </view>\n</template>\n\n<script>\n export default {\n\t\tname:'status-nav',\n props:{\n statusTitle:{//是否显示标题\n type:Boolean,\n default:false\n },\n statusBack:{//是否显示返回键\n type:Boolean,\n default:true\n },\n backgroudColor:{//标题栏背景颜色\n type:String,\n default:'#FFFFFF'\n },\n tabcolor:{//标题颜色\n type:String,\n default:'#333333'\n },\n titleVal:{//标题内容\n type:String,\n default:''\n },\n\t\t\twhereCome:{//来自哪个页面\n\t\t\t\ttype:Number,\n\t\t\t\tdefault:0\n\t\t\t},\n\t\t\tbackColor:{//返回键颜色\n\t\t\t\ttype:Number,\n\t\t\t\tdefault:0\n\t\t\t}\n },\n\t\tmounted() {\n\t\t\t// 缓存状态栏+标题栏的高度\n\t\t\tconst query = wx.createSelectorQuery().in(this)\n\t\t\tquery.select('.statusHNH').boundingClientRect((rect) => {\n\t\t\t\t// console.log('状态栏+标题栏:',rect.height);\n\t\t\t\tuni.setStorageSync('statusHNH',rect.height);\n\t\t\t\tthis.$store.commit('updateHeightEv',rect.height)\n\t\t\t}).exec()\n\t\t\t\n\t\t\t// 转发进入:获取页面路径\n\t\t\tlet pages = getCurrentPages(); //获取加载的页面\n\t\t\tlet currentPage = pages[pages.length - 1]; //获取当前页面的对象\n\t\t\t// console.log(currentPage.route,'获取当前页面路径');\n\t\t\t// console.log(currentPage.$page.fullPath,'获取当前页面完整路径带参数');\n\t\t\tuni.setStorageSync('url',`/${currentPage.route}`);\n\t\t\tuni.setStorageSync('paramsUrl',currentPage.$page.fullPath);\n\t\t\t// console.log(uni.getStorageSync('paramsUrl'),66);\n\t\t\t// console.log(uni.getStorageSync('url'),64);\n\t\t},\n data() {\n return {\n statusBarHeight:uni.getSystemInfoSync().statusBarHeight,//获取手机状态栏高度\n };\n },\n\t\tmethods:{\n\t\t\tbackEvent(){//返回事件\n\t\t\t\tif(getApp().globalData.outside){\n\t\t\t\t\tthis.whereCome = 6;\n\t\t\t\t}\n\t\t\t\tswitch (this.whereCome){\n\t\t\t\t\tcase 0:\n\t\t\t\t\tuni.navigateBack({delta:1})\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\tcase 6:\n\t\t\t\t\tuni.removeStorageSync('outside');\n\t\t\t\t\tuni.reLaunch({\n\t\t\t\t\t\turl:'/pages/tabbar/pagehome/pagehome'\n\t\t\t\t\t})\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\tuni.reLaunch({\n\t\t\t\t\t\turl:'/pages/tabbar/my/my'\n\t\t\t\t\t})\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }\n</script>\n\n<style scoped>\n\t.status-box{position: fixed;top: 0;left: 0;right: 0;z-index: 10;}\n\t.status-nav{width: 100%;position: relative;padding: 30rpx 0;display: flex;align-items: center;}\n\t.tab-back{width: 33rpx;height: 33rpx;flex-shrink: 0;position: absolute;left: 20rpx;}\n\t.tab-title{font-size: 36rpx;font-weight: bold;color: #333333;width: 100%;}\n\t.tcenter{text-align: center;}\n\t.tleft{margin-left: 40rpx;}\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!./status-nav.vue?vue&type=style&index=0&id=1313cf7a&scoped=true&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!./status-nav.vue?vue&type=style&index=0&id=1313cf7a&scoped=true&lang=css&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1653900081750\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":""}