🚧 optimization & adjustments
This commit is contained in:
@@ -1,21 +1,28 @@
|
||||
<template>
|
||||
<div class="comment-main">
|
||||
<AFlex :vertical="false" justify="flex-start" class="comment-header">
|
||||
<span class="comment-header-title">{{ t('comment.comment') }}</span>
|
||||
</AFlex>
|
||||
<!-- <AFlex :vertical="false" justify="flex-start" class="comment-header">-->
|
||||
<!-- <span class="comment-header-title">{{ t('comment.comment') }}</span>-->
|
||||
<!-- </AFlex>-->
|
||||
<!-- 评论输入框 -->
|
||||
<CommentInput/>
|
||||
<CommentInput :topic-id="topicId"/>
|
||||
<ADivider/>
|
||||
<!-- 回复列表 -->
|
||||
<CommentList/>
|
||||
<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 {useI18n} from "vue-i18n";
|
||||
import CommentList from "@/components/CommentReply/src/CommentList/CommentList.vue";
|
||||
|
||||
const {t} = useI18n();
|
||||
// const {t} = useI18n();
|
||||
|
||||
defineProps({
|
||||
topicId: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
});
|
||||
</script>
|
||||
<style src="./index.scss" lang="scss" scoped>
|
||||
|
||||
|
Reference in New Issue
Block a user