🚧 optimization & adjustments

This commit is contained in:
2025-03-03 01:00:18 +08:00
parent 1c3ee31c0b
commit 3f4bf14533
51 changed files with 1645 additions and 3441 deletions

View File

@@ -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>