优化 时间显示格式调整

This commit is contained in:
2025-10-12 23:39:28 +08:00
parent b2fda14451
commit 27133aa107
9 changed files with 208 additions and 70 deletions

View File

@@ -30,6 +30,7 @@
<script setup>
import { computed, ref } from 'vue'
import { formatDateTime } from '../utils/dateUtils'
const props = defineProps({
content: {
@@ -77,7 +78,7 @@ const isSliding = ref(false)
const isSlided = ref(false) // 是否已经滑动到阈值
const formattedDate = computed(() => {
// 简单的日期格式化,实际项目中可能需要更复杂的处理
// 直接返回已经格式化的日期字符串
return props.date
})