lanan-repair/unpackage/dist/dev/.sourcemap/mp-weixin/components/VNavigationBar.js.map
2024-09-22 15:07:01 +08:00

1 line
12 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["webpack:///D:/MyProject/luzhou/lanan-new/qixiu/components/VNavigationBar.vue?adbb","webpack:///D:/MyProject/luzhou/lanan-new/qixiu/components/VNavigationBar.vue?d232","webpack:///D:/MyProject/luzhou/lanan-new/qixiu/components/VNavigationBar.vue?90a5","webpack:///D:/MyProject/luzhou/lanan-new/qixiu/components/VNavigationBar.vue?9075","uni-app:///components/VNavigationBar.vue","webpack:///D:/MyProject/luzhou/lanan-new/qixiu/components/VNavigationBar.vue?3e34","webpack:///D:/MyProject/luzhou/lanan-new/qixiu/components/VNavigationBar.vue?16c0"],"names":["props","backgroundColor","type","default","title","titleColor","leftTitle","mounted","barHeight","barTop","menuButtonLeft","console","data","homeHeaderPaddingTop","homeHeaderMenuHeight","homeHeaderMenuLeft","methods","back","uni"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAuI;AACvI;AACkE;AACL;AACsC;;;AAGnG;AACoL;AACpL,gBAAgB,2LAAU;AAC1B,EAAE,oFAAM;AACR,EAAE,qGAAM;AACR,EAAE,8GAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,yGAAU;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,aAAa,sTAEN;AACP,KAAK;AACL;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;ACjCA;AAAA;AAAA;AAAA;AAAgsB,CAAgB,8rBAAG,EAAC,C;;;;;;;;;;;;;;;;;;AC6BptB;;;;;;;;;;;;;;;;;;;;;;;;;;;;AADA;AAAA,eAKA;EACAA;IACAC;MACAC;MACAC;IACA;IACAC;IACAC;MACAH;MACAC;IACA;IACAG;MACAJ;MACAC;IACA;EACA;EACAI;IAEA,yBAIA;MAHAC;MACAC;MACAC;IAEAC;IACA;IACA;IACA;EAEA;EACAC;IACA;MAEAC;MACAC;MACAC;IAOA;EACA;EACAC;IACAC;MACAC;IACA;EACA;AACA;AAAA,2B;;;;;;;;;;;;;ACjFA;AAAA;AAAA;AAAA;AAAu0C,CAAgB,6vCAAG,EAAC,C;;;;;;;;;;;ACA31C;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/VNavigationBar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./VNavigationBar.vue?vue&type=template&id=e647a3b8&scoped=true&\"\nvar renderjs\nimport script from \"./VNavigationBar.vue?vue&type=script&lang=js&\"\nexport * from \"./VNavigationBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VNavigationBar.vue?vue&type=style&index=0&id=e647a3b8&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../Program Files/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 \"e647a3b8\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"components/VNavigationBar.vue\"\nexport default component.exports","export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--17-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/template.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/page-meta.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./VNavigationBar.vue?vue&type=template&id=e647a3b8&scoped=true&\"","var components\ntry {\n components = {\n uniIcons: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uni-icons/components/uni-icons/uni-icons\" */ \"@/uni_modules/uni-icons/components/uni-icons/uni-icons.vue\"\n )\n },\n }\n} catch (e) {\n if (\n e.message.indexOf(\"Cannot find module\") !== -1 &&\n e.message.indexOf(\".vue\") !== -1\n ) {\n console.error(e.message)\n console.error(\"1. 排查组件名称拼写是否正确\")\n console.error(\n \"2. 排查组件是否符合 easycom 规范文档https://uniapp.dcloud.net.cn/collocation/pages?id=easycom\"\n )\n console.error(\n \"3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件\"\n )\n } else {\n throw e\n }\n}\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 \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./VNavigationBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--13-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./VNavigationBar.vue?vue&type=script&lang=js&\"","<template>\r\n\t<!-- header -->\r\n\t<view :style=\"{ backgroundColor, paddingTop: homeHeaderPaddingTop + 'px', height: homeHeaderMenuHeight + 'px' }\"\r\n\t\tclass=\"navigationBar\" :class=\"{leftTitle: leftTitle}\">\r\n\t\t<template v-if=\"leftTitle\">\r\n\t\t\t<view class=\"navigationBarTitle\" :style=\"{ color: titleColor }\">\r\n\t\t\t\t{{ title ? title : '' }}\r\n\t\t\t</view>\r\n\t\t</template>\r\n\t\t<template v-else>\r\n\t\t\t<view class=\"navigationBarBack\" @click=\"back\" >\r\n\t\t\t\t<slot name=\"back\">\r\n\t\t\t\t\t<uni-icons size=\"24\" type=\"left\"\r\n\t\t\t\t\t\t:color=\"titleColor\"></uni-icons>\r\n\t\t\t\t</slot>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"navigationBarTitle\" :style=\"{ color: titleColor }\">\r\n\t\t\t\t{{ title }}\r\n\t\t\t</view>\r\n\t\t</template>\r\n\t\t<view class=\"navigationBarBackExtra\">\r\n\t\t\t<slot name=\"extra\">\r\n\t\t\t\t</slot?>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\n\t/* 计算标题位置 */\r\n\timport {\r\n\t\tgetWXStatusHeight\r\n\t} from \"@/utils/utils\";\r\n\r\n\texport default {\r\n\t\tprops: {\r\n\t\t\tbackgroundColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#317DFA'\r\n\t\t\t},\r\n\t\t\ttitle: String,\r\n\t\t\ttitleColor: {\r\n\t\t\t\ttype: String,\r\n\t\t\t\tdefault: '#fff'\r\n\t\t\t},\r\n\t\t\tleftTitle: {\r\n\t\t\t\ttype: Boolean,\r\n\t\t\t\tdefault: false\r\n\t\t\t}\r\n\t\t},\r\n\t\tmounted() {\r\n\t\t\t// #ifdef MP\r\n\t\t\tconst {\r\n\t\t\t\tbarHeight,\r\n\t\t\t\tbarTop,\r\n\t\t\t\tmenuButtonLeft\r\n\t\t\t} = getWXStatusHeight()\r\n\t\t\tconsole.log('barHeight, barTop, menuButtonLeft: ', barHeight, barTop, menuButtonLeft);\r\n\t\t\tthis.homeHeaderPaddingTop = barTop || 0\r\n\t\t\tthis.homeHeaderMenuHeight = barHeight\r\n\t\t\tthis.homeHeaderMenuLeft = menuButtonLeft - 6\r\n\t\t\t// #endif\r\n\t\t},\r\n\t\tdata() {\r\n\t\t\treturn {\r\n\t\t\t\t// #ifdef MP\r\n\t\t\t\thomeHeaderPaddingTop: 0,\r\n\t\t\t\thomeHeaderMenuHeight: 0,\r\n\t\t\t\thomeHeaderMenuLeft: 0,\r\n\t\t\t\t// #endif\r\n\t\t\t\t// #ifdef APP || H5\r\n\t\t\t\thomeHeaderPaddingTop: 20,\r\n\t\t\t\thomeHeaderMenuHeight: 50,\r\n\t\t\t\thomeHeaderMenuLeft: 0\r\n\t\t\t\t// #endif\r\n\t\t\t}\r\n\t\t},\r\n\t\tmethods: {\r\n\t\t\tback() {\r\n\t\t\t\tuni.navigateBack()\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n\t.navigationBar {\r\n\t\tposition: relative;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tjustify-content: center;\r\n\r\n\t\t&.leftTitle {\r\n\t\t\tjustify-content: start;\r\n\t\t\tpadding-left: 28rpx;\r\n\t\t}\r\n\r\n\t\t.navigationBarBack {\r\n\t\t\tposition: absolute;\r\n\t\t\tleft: 20rpx;\r\n\t\t}\r\n\r\n\t\t.navigationBarBackExtra {\r\n\t\t\tposition: absolute;\r\n\t\t\tright: 20rpx;\r\n\t\t}\r\n\r\n\t\t.navigationBarTitle {\r\n\t\t\tfont-size: 36rpx;\r\n\t\t\tfont-weight: bold;\r\n\t\t}\r\n\t}\r\n</style>","import mod from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./VNavigationBar.vue?vue&type=style&index=0&id=e647a3b8&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../Program Files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./VNavigationBar.vue?vue&type=style&index=0&id=e647a3b8&lang=scss&scoped=true&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1726921334979\n var cssReload = require(\"D:/Program Files/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":""}