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.7 KiB

{"remainingRequest":"/Users/linhuakun/Downloads/nodejs/codewhy/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/linhuakun/Downloads/nodejs/codewhy/src/views/moment/childComps/DetailMoment.vue?vue&type=style&index=0&id=57439a03&scoped=true&lang=css&","dependencies":[{"path":"/Users/linhuakun/Downloads/nodejs/codewhy/src/views/moment/childComps/DetailMoment.vue","mtime":1609488513920},{"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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgouYmFjayBpbWcgewogIG1hcmdpbi10b3A6IDEycHg7Cn0KLmhvbWV7CiAgaGVpZ2h0OiAxMDB2aDsKfQo="},{"version":3,"sources":["DetailMoment.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDA;AACA;AACA;AACA;AACA;AACA","file":"DetailMoment.vue","sourceRoot":"src/views/moment/childComps","sourcesContent":["<template>\n <div class=\"home\">\n <NavBar>\n <div slot=\"left\" class=\"back\" @click=\"backClick\">\n <img src=\"~assets/img/common/back.svg\" alt=\"\" />\n </div>\n <div slot=\"center\" class=\"title\">动态详情</div>\n </NavBar>\n <ChildDetailMoment :comments=\"comments\" v-if=\"isshow\" @refresh=\"refresh\"></ChildDetailMoment>\n </div>\n</template>\n\n<script>\nimport NavBar from \"@/components/common/navbar/NavBar\";\nimport { getComment } from \"@/network/comment\";\nimport ChildDetailMoment from \"@/views/moment/childComps/ChildDetailMoment\";\nexport default {\n name: \"DetailMoment\",\n components: {\n NavBar,\n ChildDetailMoment,\n },\n data() {\n return {\n iid: \"\",\n comments: {},\n isshow:true\n };\n },\n created() {\n this.getComment();\n },\n methods: {\n backClick() {\n this.$router.push(\"/moment\");\n },\n refresh(){\n this.isshow=false\n this.$nextTick(() => {\n this.isshow=true\n }, 100);\n this.getComment();\n },\n async getComment() {\n this.iid = this.$route.params.iid;\n const res = await getComment(this.iid);\n this.comments = res.data;\n },\n },\n};\n</script>\n\n<style scoped>\n.back img {\n margin-top: 12px;\n}\n.home{\n height: 100vh;\n}\n</style>"]}]}