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
1 line
2.6 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=script&lang=js&","dependencies":[{"path":"/Users/linhuakun/Downloads/nodejs/codewhy/src/App.vue","mtime":1608815767693},{"path":"/Users/linhuakun/Downloads/nodejs/codewhy/node_modules/babel-loader/lib/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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBNYWluVGFiQmFyIGZyb20gImNvbXBvbmVudHMvY29udGVudC9tYWluVGFiYmFyL01haW5UYWJCYXIiOwoKCmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnQXBwJywKICBjb21wb25lbnRzOiB7CiAgICBNYWluVGFiQmFyCiAgfSwKICBkYXRhKCkgewogICAgcmV0dXJuIHsKICAgICAgZm9vdFNob3c6IGZhbHNlCiAgICB9CiAgfSwKICAgIHdhdGNoOiB7CiAgICAkcm91dGUodG8sIGZyb20pIHsKICAgICAgbGV0IFRoaXNQYWdlID0gdG8ucGF0aDsKICAgICAgaWYgKFRoaXNQYWdlID09PSAnL2hvbWUnIHx8IFRoaXNQYWdlID09PSAnL2RldGFpbCcgfHwgVGhpc1BhZ2UgPT09ICcvcHJvZmlsZScgfHwgVGhpc1BhZ2UgPT09ICcvY2FydCd8fFRoaXNQYWdlID09PSAnL2NhdGVnb3J5J3x8VGhpc1BhZ2UgPT09Jy9tb21lbnQnKSB7CiAgICAgICAgdGhpcy5mb290U2hvdyA9IHRydWUKICAgICAgfWVsc2V7CiAgICAgICAgdGhpcy5mb290U2hvdz1mYWxzZQogICAgICB9CiAgICB9CiAgfQp9Cgo="},{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;;;;;AAWA;;;AAGA;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\">\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'||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</style>\n\n\n"]}]} |