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

1 line
12 KiB
Plaintext

{"version":3,"sources":["webpack:///D:/chenq/chen/hengmei/hengmei/components/status-nav.vue?6a4d","webpack:///D:/chenq/chen/hengmei/hengmei/components/status-nav.vue?5df7","webpack:///D:/chenq/chen/hengmei/hengmei/components/status-nav.vue?bc9b","webpack:///D:/chenq/chen/hengmei/hengmei/components/status-nav.vue?49d5","uni-app:///components/status-nav.vue","webpack:///D:/chenq/chen/hengmei/hengmei/components/status-nav.vue?6e2d","webpack:///D:/chenq/chen/hengmei/hengmei/components/status-nav.vue?0401"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmI;AACnI;AAC8D;AACL;AACqC;;;AAG9F;AACgL;AAChL,gBAAgB,uLAAU;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;AAAwqB,CAAgB,sqBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACkB5rB;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;AAA6+B,CAAgB,u8BAAG,EAAC,C;;;;;;;;;;;ACAjgC;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 \"!../../../../../HbuilderX/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 \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--16-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/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 \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/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 \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./status-nav.vue?vue&type=script&lang=js&\"","<template>\r\n <view class=\"status-box statusHNH\">\r\n <view :style=\"{height:statusBarHeight+'px',background:backgroudColor}\"></view>\r\n <view class=\"status-nav\" :style=\"{background:backgroudColor}\">\r\n <!-- 返回键 -->\r\n\t\t\t<view @tap=\"backEvent\" v-if=\"statusBack\" style=\"height: 33rpx;width: 120rpx;flex-shrink: 0;position: absolute;\">\r\n\t\t\t\t<image v-if=\"backColor==0\" class=\"tab-back\" src=\"/static/public/backBlackm.png\"></image>\r\n\t\t\t\t<image v-if=\"backColor==1\" class=\"tab-back\" src=\"/static/public/videoBack.png\"></image>\r\n\t\t\t</view>\r\n <!-- 标题 -->\r\n\t\t\t<!-- <view v-if=\"statusTitle\" :class=\"statusBack ? 'tcenter' : 'tleft'\" class=\"tab-title\" :style=\"{color:tabcolor}\">{{titleVal}}</view> -->\r\n\t\t\t<view v-if=\"statusTitle\" class=\"tab-title tcenter\" :style=\"{color:tabcolor}\">{{titleVal}}</view>\r\n\t\t\t<view v-else class=\"tab-title tcenter\" :style=\"{color:tabcolor}\"> </view>\r\n </view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n\t\tname:'status-nav',\r\n props:{\r\n statusTitle:{//是否显示标题\r\n type:Boolean,\r\n default:false\r\n },\r\n statusBack:{//是否显示返回键\r\n type:Boolean,\r\n default:true\r\n },\r\n backgroudColor:{//标题栏背景颜色\r\n type:String,\r\n default:'#FFFFFF'\r\n },\r\n tabcolor:{//标题颜色\r\n type:String,\r\n default:'#333333'\r\n },\r\n titleVal:{//标题内容\r\n type:String,\r\n default:''\r\n },\r\n\t\t\twhereCome:{//来自哪个页面\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:0\r\n\t\t\t},\r\n\t\t\tbackColor:{//返回键颜色\r\n\t\t\t\ttype:Number,\r\n\t\t\t\tdefault:0\r\n\t\t\t}\r\n },\r\n\t\tmounted() {\r\n\t\t\t// 缓存状态栏+标题栏的高度\r\n\t\t\tconst query = wx.createSelectorQuery().in(this)\r\n\t\t\tquery.select('.statusHNH').boundingClientRect((rect) => {\r\n\t\t\t\t// console.log('状态栏+标题栏:',rect.height);\r\n\t\t\t\tuni.setStorageSync('statusHNH',rect.height);\r\n\t\t\t\tthis.$store.commit('updateHeightEv',rect.height)\r\n\t\t\t}).exec()\r\n\t\t\t\r\n\t\t\t// 转发进入:获取页面路径\r\n\t\t\tlet pages = getCurrentPages(); //获取加载的页面\r\n\t\t\tlet currentPage = pages[pages.length - 1]; //获取当前页面的对象\r\n\t\t\t// console.log(currentPage.route,'获取当前页面路径');\r\n\t\t\t// console.log(currentPage.$page.fullPath,'获取当前页面完整路径带参数');\r\n\t\t\tuni.setStorageSync('url',`/${currentPage.route}`);\r\n\t\t\tuni.setStorageSync('paramsUrl',currentPage.$page.fullPath);\r\n\t\t\t// console.log(uni.getStorageSync('paramsUrl'),66);\r\n\t\t\t// console.log(uni.getStorageSync('url'),64);\r\n\t\t},\r\n data() {\r\n return {\r\n statusBarHeight:uni.getSystemInfoSync().statusBarHeight,//获取手机状态栏高度\r\n };\r\n },\r\n\t\tmethods:{\r\n\t\t\tbackEvent(){//返回事件\r\n\t\t\t\tif(getApp().globalData.outside){\r\n\t\t\t\t\tthis.whereCome = 6;\r\n\t\t\t\t}\r\n\t\t\t\tswitch (this.whereCome){\r\n\t\t\t\t\tcase 0:\r\n\t\t\t\t\tuni.navigateBack({delta:1})\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 1:\r\n\t\t\t\t\tcase 6:\r\n\t\t\t\t\tuni.removeStorageSync('outside');\r\n\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\turl:'/pages/tabbar/pagehome/pagehome'\r\n\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tcase 2:\r\n\t\t\t\t\tuni.reLaunch({\r\n\t\t\t\t\t\turl:'/pages/tabbar/my/my'\r\n\t\t\t\t\t})\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\tdefault:\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n }\r\n</script>\r\n\r\n<style scoped>\r\n\t.status-box{position: fixed;top: 0;left: 0;right: 0;z-index: 10;}\r\n\t.status-nav{width: 100%;position: relative;padding: 30rpx 0;display: flex;align-items: center;}\r\n\t.tab-back{width: 33rpx;height: 33rpx;flex-shrink: 0;position: absolute;left: 20rpx;}\r\n\t.tab-title{font-size: 36rpx;font-weight: bold;color: #333333;width: 100%;}\r\n\t.tcenter{text-align: center;}\r\n\t.tleft{margin-left: 40rpx;}\r\n</style>\r\n","import mod from \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/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 \"-!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--6-oneOf-1-2!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../../../HbuilderX/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HbuilderX/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 // 1649836348460\n var cssReload = require(\"D:/HbuilderX/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":""}