30 lines
809 B
Vue
30 lines
809 B
Vue
<template>
|
|
<div class="comment-main">
|
|
<!-- <AFlex :vertical="false" justify="flex-start" class="comment-header">-->
|
|
<!-- <span class="comment-header-title">{{ t('comment.comment') }}</span>-->
|
|
<!-- </AFlex>-->
|
|
<!-- 评论输入框 -->
|
|
<CommentInput :topic-id="topicId"/>
|
|
<ADivider/>
|
|
<!-- 回复列表 -->
|
|
<CommentList :topic-id="topicId"/>
|
|
</div>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import CommentInput from "@/components/CommentReply/src/CommentInput/CommentInput.vue";
|
|
// import {useI18n} from "vue-i18n";
|
|
import CommentList from "@/components/CommentReply/src/CommentList/CommentList.vue";
|
|
|
|
// const {t} = useI18n();
|
|
|
|
defineProps({
|
|
topicId: {
|
|
type: String,
|
|
required: true,
|
|
},
|
|
});
|
|
</script>
|
|
<style src="./index.scss" lang="scss" scoped>
|
|
|
|
</style>
|