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.9 KiB
1 line
2.9 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":1616401116641},{"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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBNYWluVGFiQmFyIGZyb20gImNvbXBvbmVudHMvY29udGVudC9tYWluVGFiYmFyL01haW5UYWJCYXIiOwpleHBvcnQgZGVmYXVsdCB7CiAgbmFtZTogIkFwcCIsCiAgY29tcG9uZW50czogewogICAgTWFpblRhYkJhcgogIH0sCiAgZGF0YSgpIHsKICAgIHJldHVybiB7CiAgICAgIGZvb3RTaG93OiBmYWxzZQogICAgfTsKICB9LAogIHdhdGNoOiB7CiAgICAkcm91dGUodG8sIGZyb20pIHsKICAgICAgbGV0IFRoaXNQYWdlID0gdG8ucGF0aDsKICAgICAgaWYgKAogICAgICAgIFRoaXNQYWdlID09PSAiL2hvbWUiIHx8CiAgICAgICAgVGhpc1BhZ2UgPT09ICIvZGV0YWlsIiB8fAogICAgICAgIFRoaXNQYWdlID09PSAiL3Byb2ZpbGUiIHx8CiAgICAgICAgVGhpc1BhZ2UgPT09ICIvY2FydCIgfHwKICAgICAgICBUaGlzUGFnZSA9PT0gIi9jYXRlZ29yeSIgfHwKICAgICAgICBUaGlzUGFnZSA9PT0gIi9tb21lbnQiCiAgICAgICkgewogICAgICAgIHRoaXMuZm9vdFNob3cgPSB0cnVlOwogICAgICB9IGVsc2UgewogICAgICAgIHRoaXMuZm9vdFNob3cgPSBmYWxzZTsKICAgICAgfQogICAgfQogIH0sCiAgbW91bnRlZCgpIHsKCiAgfSwKICBtZXRob2RzOiB7CiAgfQp9Owo="},{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;;;;;;;AAaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA","file":"App.vue","sourceRoot":"src","sourcesContent":["<template>\n <div id=\"app\">\n <!-- exclude不包括哪几个组件-->\n <keep-alive\n exclude=\"Detail,CreateMoment,DetailMoment,CommentList,Moment,Home,MineOrder\"\n >\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 (\n ThisPage === \"/home\" ||\n ThisPage === \"/detail\" ||\n ThisPage === \"/profile\" ||\n ThisPage === \"/cart\" ||\n ThisPage === \"/category\" ||\n ThisPage === \"/moment\"\n ) {\n this.footShow = true;\n } else {\n this.footShow = false;\n }\n }\n },\n mounted() {\n\n },\n methods: {\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</style>\n"]}]} |