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
1.9 KiB
1 line
1.9 KiB
{"remainingRequest":"/Users/linhuakun/Downloads/nodejs/codewhy/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/linhuakun/Downloads/nodejs/codewhy/src/App.vue?vue&type=style&index=0&lang=css&","dependencies":[{"path":"/Users/linhuakun/Downloads/nodejs/codewhy/src/App.vue","mtime":1607666636138},{"path":"/Users/linhuakun/Downloads/nodejs/codewhy/node_modules/css-loader/dist/cjs.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/nodejs/codewhy/node_modules/vue-loader/lib/loaders/stylePostLoader.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/nodejs/codewhy/node_modules/postcss-loader/src/index.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/nodejs/codewhy/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/nodejs/codewhy/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKQGltcG9ydCAiLi9hc3NldHMvY3NzL2Jhc2UuY3NzIjsK"},{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA","file":"App.vue","sourceRoot":"src","sourcesContent":["<template>\n <div id=\"app\">\n <!-- exclude不包括哪几个组件-->\n <keep-alive exclude=\"Detail\">\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\";\n\n\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') {\n this.footShow = true\n }\n }\n }\n}\n</script>\n\n<style>\n@import \"./assets/css/base.css\";\n</style>\n"]}]} |