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
15 KiB
1 lines
15 KiB
{"version":3,"sources":["webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/navbar.vue?b29a","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/navbar.vue?30cb","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/navbar.vue?cdec","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/navbar.vue?4167","uni-app:///components/navbar.vue","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/navbar.vue?c124","webpack:////Users/seep/Documents/liuqingProject/hezhiying/components/navbar.vue?d30f"],"names":["data","statusBarHeight","navBareight","windowWidth","props","title","type","default","toIndex","color","paddingTop","background","back","isCenter","created","uni","top","bottom","left","methods","onBack","onBackIndex","url"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAmH;AACnH;AAC0D;AACL;AACc;;;AAGnE;AAC6M;AAC7M,gBAAgB,iNAAU;AAC1B,EAAE,4EAAM;AACR,EAAE,iFAAM;AACR,EAAE,0FAAe;AACjB;AACA;AACA;AACA;AACA;AACA,EAAE,qFAAU;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,iSAEN;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;AAAqzB,CAAgB,oyBAAG,EAAC,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;eC4Bz0B;EACAA;IACA;MACAC;MACAC;MACAC;IACA;EACA;EACAC;IACAC;MAAA;MACAC;MACAC;IACA;IACAC;MACAF;MACAC;IACA;IACAE;MAAA;MACAH;MACAC;IACA;IACAG;MACAJ;IACA;IACA;IACAK;MAAA;MACAL;MACAC;IACA;IACAK;MAAA;MACAN;MACAC;IACA;IACAM;MAAA;MACAP;MACAC;IACA;EACA;EAEAO;IACA;IACA,4BAGAC;MAFAd;MACAE;IAEA;IACA;IACA;;IAEA;IACA,4BAIAY;MAHAC;MACAC;MACAC;IAEA;IACA;IACA;EAEA;EAEAC;IACA;IACAC;MACA;MACA;MACA;MACA;IAEA;IACAC;MACAN;QACAO;MACA;IACA;EACA;AAEA;AAAA,2B;;;;;;;;;;;;;ACzGA;AAAA;AAAA;AAAA;AAAwgD,CAAgB,m6CAAG,EAAC,C;;;;;;;;;;;ACA5hD;AACA,OAAO,KAAU,EAAE,kBAKd","file":"components/navbar.js","sourcesContent":["import { render, staticRenderFns, recyclableRender, components } from \"./navbar.vue?vue&type=template&id=2149950b&\"\nvar renderjs\nimport script from \"./navbar.vue?vue&type=script&lang=js&\"\nexport * from \"./navbar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./navbar.vue?vue&type=style&index=0&lang=scss&\"\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 = \"components/navbar.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--17-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!./navbar.vue?vue&type=template&id=2149950b&\"","var components\ntry {\n components = {\n uIcon: function () {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-icon/u-icon\" */ \"@/uni_modules/uview-ui/components/u-icon/u-icon.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 \"-!../../../../../../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--13-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!./navbar.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--13-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!./navbar.vue?vue&type=script&lang=js&\"","<template>\n\t<view class=\"navbar\"> <!-- 如若不写 高度始终为44 没有找到原因 -->\n\t\t<view class=\"narbar-flexd\">\n\t\t\t<view :style=\"{height:statusBarHeight+'px',background:'#ffffff'}\"></view>\n\t\t\t<view :class=\"isCenter?'narbar-content':'isCenter'\" :style=\"{height:navBareight+'px'}\" >\n\t\t\t\t\n\t\t\t\t<!-- 左侧返回按钮 -->\n\t\t\t\t<view class=\"left\" @click=\"onBack\" v-if=\"back&&toIndex\" :style=\"[{color},{paddingTop}]\">\n\t\t\t\t\t<u-icon name=\"arrow-left\" size=\"20\"></u-icon>\n\t\t\t\t\t<!-- <uni-icons type=\"arrowleft\" size=\"25\" :color='color' ></uni-icons> -->\n\t\t\t\t\t<!-- <u--image :showLoading=\"true\" src=\"https://bsl-lj-rent.oss-cn-shanghai.aliyuncs.com/idn-mac/indexs/lianxi.png\" width=\"60rpx\" height=\"71rpx\" @click=\"click\"></u--image> -->\n\t\t\t\t</view>\n\t\t\t\t<!-- 不去扫码返回按钮 -->\n\t\t\t\t<view class=\"left\" @click=\"onBackIndex\" v-if=\"back&&!toIndex\" :style=\"[{color},{paddingTop}]\">\n\t\t\t\t\t<u-icon name=\"arrow-left\" size=\"20\"></u-icon>\n\t\t\t\t\t<!-- <uni-icons type=\"arrowleft\" size=\"25\" :color='color' ></uni-icons> -->\n\t\t\t\t\t<!-- <u--image :showLoading=\"true\" src=\"https://bsl-lj-rent.oss-cn-shanghai.aliyuncs.com/idn-mac/indexs/lianxi.png\" width=\"60rpx\" height=\"71rpx\" @click=\"click\"></u--image> -->\n\t\t\t\t</view>\n\t\t\t\t<view class=\"title\">\n\t\t\t\t\t{{title}}\n\t\t\t\t</view>\n\t\t\t</view>\n\t\t</view>\n\t\t<!-- <view class=\"navHeight\" :style=\"{height:statusBarHeight+navBareight +'px'}\"></view> -->\n\t</view>\n</template>\n \n<script>\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tstatusBarHeight:20,\n\t\t\t\tnavBareight: 45,\n\t\t\t\twindowWidth: 375,\n\t\t\t};\n\t\t},\n\t\tprops:{\n\t\t\ttitle:{ // 标题文字(默认为空)\n\t\t\t\ttype:String,\n\t\t\t\tdefault:'#fff'\n\t\t\t},\n\t\t\ttoIndex:{\n\t\t\t\ttype:Boolean,\n\t\t\t\tdefault:true\n\t\t\t},\n\t\t\tcolor:{ // 标题和返回按钮颜色(默认白色)\n\t\t\t\ttype:String,\n\t\t\t\tdefault:'#222'\n\t\t\t},\n\t\t\tpaddingTop:{\n\t\t\t\ttype:String,\n\t\t\t},\n\t\t //建议使用background 因为使用backgroundColor,会导致不识别渐变颜色\n\t\t\tbackground:{ // 背景颜色(不传值默认透明)\n\t\t\t\ttype:String,\n\t\t\t\tdefault:'transparent'\n\t\t\t},\n\t\t\tback:{ // 是否显示返回按钮(不传值默认不显示)\n\t\t\t\ttype:Boolean,\n\t\t\t\tdefault:false\n\t\t\t},\n\t\t\tisCenter:{//是否中间\n\t\t\t\ttype:Boolean,\n\t\t\t\tdefault:true\n\t\t\t}\n\t\t},\n\t\t\n\t\tcreated() {\n\t\t\t//获取手机系统信息 -- 状态栏高度\n\t\t\tlet {\n\t\t\t\tstatusBarHeight,\n\t\t\t\twindowWidth\n\t\t\t} = uni.getSystemInfoSync()\n\t\t\tthis.statusBarHeight = statusBarHeight\n\t\t\tthis.windowWidth = windowWidth\n\t\t\t//去除\n\t\t\t//#ifndef H5 || MP-ALIPAY ||APP-PLUS\n\t\t\t//获取小程序胶囊的高度\n\t\t\tlet {\n\t\t\t\ttop,\n\t\t\t\tbottom,\n\t\t\t\tleft\n\t\t\t} = uni.getMenuButtonBoundingClientRect()\n\t\t\t//高度 =(胶囊底部高低-状态栏高度)+(胶囊顶部高度-状态栏内的高度)\n\t\t\tthis.navBareight = (bottom - statusBarHeight) + (top - statusBarHeight)\n\t\t\tthis.windowWidth = left\n\t\t\t//#endif\n\t\t},\n\t\t\n\t\tmethods: {\n\t\t\t// 左侧返回按钮调用\n\t\t\tonBack() {\n\t\t\t\tthis.$emit(\"onBack\");\n\t\t\t\t// uni.navigateBack({\n\t\t\t\t// \t\tdelta:1,//返回层数,2则上上页\n\t\t\t // })\n\t\t\t\t\n\t\t\t},\n\t\t\tonBackIndex(){\n\t\t\t\tuni.switchTab({\n\t\t\t\t\turl:'/pages/index/index'\n\t\t\t\t})\n\t\t\t}\n\t\t}\n\t\t\n\t}\n</script>\n \n<style lang=\"scss\">\n\t.navbar {\n\t\tbackground-color: #ffffff;\n\t\t// background-image: url('https://bsl-lj-rent.oss-cn-shanghai.aliyuncs.com/idn-mac/index/90.png') !important;\n\t\t// background-size: 100% 100% !important;\n\t\t.narbar-flexd {\n\t\t\t// background-image: url('https://bsl-lj-rent.oss-cn-shanghai.aliyuncs.com/idn-mac/index/90.png') !important;\n\t\t\tbackground-size: 100% 100% !important;\n\t\t\tposition: fixed;\n\t\t\ttop: 0;\n\t\t\tleft: 0;\n\t\t\tz-index: 99;\n\t\t\twidth: 100%;\n\t\t\t// padding-bottom: 10rpx;\n\t\t\t.narbar-content {\n\t\t\t\t// height: 45px;\n\t\t\t\tpadding: 0 24upx;\n\t\t\t\t// margin-bottom: 10px;\n\t\t\t\tdisplay: flex;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tjustify-content:center;\n\t\t\t\talign-items: center;\n\t\t\t\tbackground-color: #ffffff;\n\t\t\t\t.left{\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tleft: 5%;\n\t\t\t\t\tfont-weight: 600;\n\t\t\t\t}\n\t\t\t\t.title{\n\t\t\t\t\tfont-size: 36rpx;\n\t\t\t\t\tfont-family: PingFang SC;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: #222222;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t\t.isCenter{\n\t\t\t\t// height: 45px;\n\t\t\t\tpadding: 0 24upx;\n\t\t\t\t// margin-bottom: 10px;\n\t\t\t\tdisplay: flex;\n\t\t\t\tbox-sizing: border-box;\n\t\t\t\tjustify-content:flex-start;\n\t\t\t\talign-items: center;\n\t\t\t\t.left{\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tleft: 5%;\n\t\t\t\t\tfont-weight: 600;\n\t\t\t\t}\n\t\t\t\t.title{\n\t\t\t\t\tfont-size: 36rpx;\n\t\t\t\t\tfont-family: PingFang SC;\n\t\t\t\t\tfont-weight: 500;\n\t\t\t\t\tcolor: #222222;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n \n\t\t\t\n\t\t}\n\t\t.navHeight {\n\t\t\theight: 60px;\n\t\t}\n\t}\n</style>","import mod from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../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!./navbar.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-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--8-oneOf-1-2!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../../Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../../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!./navbar.vue?vue&type=style&index=0&lang=scss&\"","// extracted by mini-css-extract-plugin\n if(module.hot) {\n // 1697873050995\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":""} |