公司小程序
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
10 KiB

{"version":3,"sources":["webpack:///D:/Uni-App/HBuilderProjects/Test/pages/main/main.vue?468a","uni-app:///pages/main/main.vue","uni-app:///main.js","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/main/main.vue?1804","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/main/main.vue?4201","webpack:///D:/Uni-App/HBuilderProjects/Test/pages/main/main.vue?1b1f"],"names":["wx","__webpack_require_UNI_MP_PLUGIN__","__webpack_require__","createPage","Page","renderjs","component","options","__file","components","MainPage","KeHu","Mine","uTabbar","uTabbarItem","e","message","indexOf","console","error","render","_vm","this","_h","$createElement","_self","_c","staticRenderFns","_withStripped"],"mappings":"+GAAA,6GAAgoB,eAAG,G,+GCkCnoB,gB,uaAKA,0CACA,6B,EACA,CACA,oBACA,OAFA,WAEA,WACA,cACA,8CACA,8BAIA,OATA,aAaA,YACA,WACA,OACA,QAEA,KAlBA,WAmBA,OAEA,wBACA,+BAGA,SACA,gBADA,SACA,GACA,gC,6GCpEA,KACA,YACA,Y,mDAFmBA,GAAGC,kCAAoCC,EAG1DC,EAAWC,a,gECHX,uHACIC,EADJ,OASIC,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MACA,EACA,OACAD,GAGFC,EAAUC,QAAQC,OAAS,sBACZ,aAAAF,E,0CCvBf,qBAA+sC,EAAG,G,gCCAltC,IAAIG,E,sGACJ,IACEA,EAAa,CACXC,SAAU,WACR,OAAO,4DAITC,KAAM,WACJ,OAAO,wFAITC,KAAM,WACJ,OAAO,oDAITC,QAAS,WACP,OAAO,qHAITC,YAAa,WACX,OAAO,gIAKX,MAAOC,GACP,IAC+C,IAA7CA,EAAEC,QAAQC,QAAQ,wBACa,IAA/BF,EAAEC,QAAQC,QAAQ,QAWlB,MAAMF,EATNG,QAAQC,MAAMJ,EAAEC,SAChBE,QAAQC,MAAM,mBACdD,QAAQC,MACN,uFAEFD,QAAQC,MACN,mDAMN,IAAIC,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACJH,EAAII,MAAMC,IAGjBC,EAAkB,GACtBP,EAAOQ,eAAgB,I","file":"pages/main/main.js","sourcesContent":["import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./main.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/babel-loader/lib/index.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--12-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/script.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./main.vue?vue&type=script&lang=js&\"","<template>\r\n\t<view class=\"main_background\">\r\n\t\t<!--背景色-->\r\n\t\t<view style=\"background-color: #F6F6F6;position: fixed;top: 0;bottom: 0;right: 0;left: 0;z-index: -1;\"></view>\r\n\t\t<MainPage v-if=\"bottom_selected_index == 0\"/>\r\n\t\t<KeHu v-if=\"bottom_selected_index == 1\"/>\r\n\t\t<Mine v-if=\"bottom_selected_index == 2\" ref='Mine'/>\r\n\t\t<u-tabbar :value=\"bottom_selected_index\"\r\n\t\t\t@change=\"onBottomClicked\"\r\n\t\t\t:border=\"true\"\r\n\t\t\t:fixed=\"true\"\r\n\t\t\t:placeholder=\"true\"\r\n\t\t\tcustomStyle=\"background-color: #FFFFFF;border-radius: 10rpx 10rpx 0 0;height=130rpx;\"\r\n\t\t>\r\n\t\t\t<u-tabbar-item v-for=\"(item,index) in main_bottom_tabbar_defines\" :key=\"item.index\"\r\n\t\t\t\t:name=\"index\"\r\n\t\t\t\t:text=\"item.title\"\r\n\t\t\t>\r\n\t\t\t\t<image\r\n\t\t\t\t\tslot=\"active-icon\"\r\n\t\t\t\t\t:src=\"item.img1\"\r\n\t\t\t\t\tclass=\"tabbar_icon\"\r\n\t\t\t\t></image>\r\n\t\t\t\t<image\r\n\t\t\t\t\tslot=\"inactive-icon\"\r\n\t\t\t\t\t:src=\"item.img2\"\r\n\t\t\t\t\tclass=\"tabbar_icon\"\r\n\t\t\t\t></image>\r\n\t\t\t</u-tabbar-item>\r\n\t\t</u-tabbar>\r\n\t</view>\n</template>\n\n<script>\t\r\n\timport datas from \"./main.config.js\"\r\n\timport MainPage from \"@/components/MainPage/MainPage.vue\"\r\n\timport KeHu from \"@/components/KeHu/KeHu.vue\"\r\n\timport Mine from \"@/components/Mine/Mine.vue\"\r\n\t///下方导航栏配置\r\n\tvar main_bottom_tabbar_defines = datas['main_bottom_tabbar_defines'];\r\n\tvar Define\t= getApp().globalData.Define;\n\texport default {\r\n\t\tmixins: [uni.$u.mixin],\r\n\t\tonLoad() {\r\n\t\t\tthis.$fire.on(\r\n\t\t\t\tDefine.FireKeys.ChangeMainBottomIndex,res=>{\r\n\t\t\t\t\tthis.bottom_selected_index = res;\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t\t},\r\n\t\tonShow() {\r\n\t\t\t//getApp().globalData.mainPageData.getMainPageData();\r\n\t\t},\r\n\t\t///注册组件\r\n\t\tcomponents:{\r\n\t\t\tMainPage,\r\n\t\t\tKeHu,\r\n\t\t\tMine,\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\r\n\t\t\t\t///下方菜单选中了哪一个\n\t\t\t\tbottom_selected_index:0,\r\n\t\t\t\tmain_bottom_tabbar_defines,\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tonBottomClicked(name){\r\n\t\t\t\tthis.bottom_selected_index = name;\r\n\t\t\t},\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\r\n\t.main_background{\r\n\t\t\topacity: 1;\r\n\t\t\tborder-radius: 0px;\r\n\t\t\toverflow: scroll;\r\n\t\t\ttouch-action: auto;\r\n\t\t\tflex-direction: column;\r\n\t\t\tdisplay: flex;\r\n\t\t\tmargin: 0 auto;\r\n\t\t\tleft: 0;\r\n\t\t\ttop: 0;\r\n\t\t\tbottom: 0;\r\n\t\t\tright: 0;\r\n\t\t\tposition: relative;\r\n\t\t\theight: 100%;\r\n\t\t\t//background-color: #1CBBB4;\r\n\t\t}\r\n\t.tabbar_icon{\r\n\t\twidth: 52rpx;\r\n\t\theight: 52rpx;\r\n\t}\r\n</style>\n","import 'uni-pages';wx.__webpack_require_UNI_MP_PLUGIN__ = __webpack_require__;\nimport Vue from 'vue'\nimport Page from './pages/main/main.vue'\ncreatePage(Page)","import { render, staticRenderFns, recyclableRender, components } from \"./main.vue?vue&type=template&id=52f690a6&scoped=true&\"\nvar renderjs\nimport script from \"./main.vue?vue&type=script&lang=js&\"\nexport * from \"./main.vue?vue&type=script&lang=js&\"\nimport style0 from \"./main.vue?vue&type=style&index=0&id=52f690a6&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../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 \"52f690a6\",\n null,\n false,\n components,\n renderjs\n)\n\ncomponent.options.__file = \"pages/main/main.vue\"\nexport default component.exports","import mod from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./main.vue?vue&type=style&index=0&id=52f690a6&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-2!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-3!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/sass-loader/dist/cjs.js??ref--8-oneOf-1-4!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js??ref--8-oneOf-1-5!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js??vue-loader-options!../../../../../HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./main.vue?vue&type=style&index=0&id=52f690a6&lang=scss&scoped=true&\"","var components\ntry {\n components = {\n MainPage: function() {\n return import(\n /* webpackChunkName: \"components/MainPage/MainPage\" */ \"@/components/MainPage/MainPage.vue\"\n )\n },\n KeHu: function() {\n return import(\n /* webpackChunkName: \"components/KeHu/KeHu\" */ \"@/components/KeHu/KeHu.vue\"\n )\n },\n Mine: function() {\n return import(\n /* webpackChunkName: \"components/Mine/Mine\" */ \"@/components/Mine/Mine.vue\"\n )\n },\n uTabbar: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-tabbar/u-tabbar\" */ \"@/uni_modules/uview-ui/components/u-tabbar/u-tabbar.vue\"\n )\n },\n uTabbarItem: function() {\n return import(\n /* webpackChunkName: \"uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item\" */ \"@/uni_modules/uview-ui/components/u-tabbar-item/u-tabbar-item.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 }"],"sourceRoot":""}