feat:财务和合同

This commit is contained in:
李伊帆
2026-11-05 13:50:25 +08:00
parent b0a711f70a
commit 31fcd273f1
173 changed files with 11040 additions and 1067 deletions

View File

@@ -8,6 +8,8 @@ const props = defineProps<{
}>()
const messageType = computed(() => props.message.type || 'text')
const showReadStatus = computed(() => props.message.role === 'user' && props.message.read !== undefined)
const readStatusText = computed(() => (props.message.read ? '已读' : '未读'))
function handlePreviewImage() {
if (!props.message.imageUrl)
@@ -88,6 +90,14 @@ function handleOpenFile() {
{{ message.content }}
</text>
</view>
<text
v-if="showReadStatus"
class="chat-message__read-status"
:class="{ 'chat-message__read-status--read': message.read }"
>
{{ readStatusText }}
</text>
</view>
</view>
</template>