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
3.0 KiB
1 line
3.0 KiB
{"remainingRequest":"/Users/linhuakun/Downloads/coderlhk/codewhy/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/linhuakun/Downloads/coderlhk/codewhy/src/views/moment/childComps/DetailMoment.vue?vue&type=style&index=0&id=7a008996&scoped=true&lang=css&","dependencies":[{"path":"/Users/linhuakun/Downloads/coderlhk/codewhy/src/views/moment/childComps/DetailMoment.vue","mtime":1615967851775},{"path":"/Users/linhuakun/Downloads/coderlhk/codewhy/node_modules/css-loader/dist/cjs.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/coderlhk/codewhy/node_modules/vue-loader/lib/loaders/stylePostLoader.js","mtime":499162500000},{"path":"/Users/linhuakun/Downloads/coderlhk/codewhy/node_modules/postcss-loader/src/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:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgouYmFjayBpbWcgewogIG1hcmdpbi10b3A6IDEycHg7Cn0KLm5hdi1iYXIgewogIGJhY2tncm91bmQtY29sb3I6IHJnYigyNDUsIDI0MywgMjQzKTsKICBmb250LXdlaWdodDogNTAwcHg7CiAgY29sb3I6IHJnYmEoNTQsIDUzLCA1MywgMC43MzMpOwp9Cg=="},{"version":3,"sources":["DetailMoment.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"DetailMoment.vue","sourceRoot":"src/views/moment/childComps","sourcesContent":["<template>\n <div class=\"home\">\n <NavBar class=\"nav-bar\">\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.nav-bar {\n background-color: rgb(245, 243, 243);\n font-weight: 500px;\n color: rgba(54, 53, 53, 0.733);\n}\n</style>"]}]} |