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 line
2.6 KiB

{"remainingRequest":"/Users/linhuakun/Downloads/coderlhk/codewhy/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/linhuakun/Downloads/coderlhk/codewhy/src/App.vue?vue&type=script&lang=js&","dependencies":[{"path":"/Users/linhuakun/Downloads/coderlhk/codewhy/src/App.vue","mtime":1616085923920},{"path":"/Users/linhuakun/Downloads/coderlhk/codewhy/node_modules/babel-loader/lib/index.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/coderlhk/codewhy/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/coderlhk/codewhy/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBNYWluVGFiQmFyIGZyb20gImNvbXBvbmVudHMvY29udGVudC9tYWluVGFiYmFyL01haW5UYWJCYXIiOwpleHBvcnQgZGVmYXVsdCB7CiAgbmFtZTogJ0FwcCcsCiAgY29tcG9uZW50czogewogICAgTWFpblRhYkJhcgogIH0sCiAgZGF0YSgpIHsKICAgIHJldHVybiB7CiAgICAgIGZvb3RTaG93OiBmYWxzZSwKICAgIH0KICB9LAogICAgd2F0Y2g6IHsKICAgICRyb3V0ZSh0bywgZnJvbSkgewogICAgICBsZXQgVGhpc1BhZ2UgPSB0by5wYXRoOwogICAgICBpZiAoVGhpc1BhZ2UgPT09ICcvaG9tZScgfHwgVGhpc1BhZ2UgPT09ICcvZGV0YWlsJyB8fCBUaGlzUGFnZSA9PT0gJy9wcm9maWxlJyB8fCBUaGlzUGFnZSA9PT0gJy9jYXJ0J3x8VGhpc1BhZ2UgPT09ICcvY2F0ZWdvcnknfHxUaGlzUGFnZSA9PT0nL21vbWVudCcpIHsKICAgICAgICB0aGlzLmZvb3RTaG93ID0gdHJ1ZQogICAgICB9ZWxzZXsKICAgICAgICB0aGlzLmZvb3RTaG93PWZhbHNlCiAgICAgIH0KICAgIH0sCn0KfQoK"},{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;;;;;AAWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"App.vue","sourceRoot":"src","sourcesContent":["<template>\n <div id=\"app\">\n <!-- exclude不包括哪几个组件-->\n <keep-alive exclude=\"Detail,CreateMoment,DetailMoment,CommentList,Moment,Profile,Home\"> \n <router-view/>\n </keep-alive>\n <MainTabBar v-if=\"footShow\"/>\n </div>\n</template>\n\n<script>\nimport MainTabBar from \"components/content/mainTabbar/MainTabBar\";\nexport default {\n name: 'App',\n components: {\n MainTabBar\n },\n data() {\n return {\n footShow: false,\n }\n },\n watch: {\n $route(to, from) {\n let ThisPage = to.path;\n if (ThisPage === '/home' || ThisPage === '/detail' || ThisPage === '/profile' || ThisPage === '/cart'||ThisPage === '/category'||ThisPage ==='/moment') {\n this.footShow = true\n }else{\n this.footShow=false\n }\n },\n}\n}\n\n</script>\n\n<style>\n@import \"./assets/css/base.css\";\n@media screen and (max-width: 500px) {\n .el-message {\n min-width: 300px !important;\n }\n}\n\n</style>\n\n\n"]}]}