Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script setup lang="ts">
import { ref } from 'vue'
import type { ScrollbarDirection } from 'element-plus'
import type { Conversation } from '../../core/types'
import { useConversationListStore } from '../../left-sidebar/conversation-list/index'
import RenameConversation from '../rename/index.vue'
import type { Conversation } from '../../../../core/types'
import { useConversationListStore } from '../../../../left-sidebar/conversation-list/index'
import RenameConversation from '../../../rename/index.vue'
import { relativeTimeFormat } from '@/utils/time'
import { MsgConfirm } from '@/utils/message'

Expand Down
4 changes: 2 additions & 2 deletions ui/src/conversation-panel/components/message-input/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,13 @@ const { recording, seconds: recordSeconds, waveLevels, start: startRecording, st
<el-button
v-if="speechEnabled"
text
class="ml-1!"
class="ml-2!"
:loading="transcribing"
:disabled="disabled || streamLoading || transcribing"
@click="startRecording"
>
<!-- todo 这块icon记得换 先用饿了么的了 -->
<MkIcon v-if="!transcribing" :icon="Phone" :size="18" class="text-N900!" />
<MkIcon v-if="!transcribing" :icon="Phone" :size="18" class="text-N900!" />
</el-button>
<el-divider direction="vertical" class="ml-3! mr-4!" />
<!-- 停止回复 -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const recordTime = computed(() => {
</script>

<template>
<div class="mk-input-box mk-conversation-message-input border-primary! bg-primary/[0.06] w-full shadow-lg">
<div class="mk-input-box mk-conversation-message-input border-primary/60! bg-primary/10 w-full shadow-lg">
<div class="flex h-8 items-center justify-center gap-0.5">
<span
v-for="(level, index) in waveLevels"
Expand All @@ -34,7 +34,7 @@ const recordTime = computed(() => {
/>
</div>
<div class="mt-3 flex items-center justify-end">
<span class="text-N600 mr-3 text-xs">{{ recordTime }}</span>
<span class="text-N400 mr-4">{{ recordTime }}</span>
<!-- 结束录音并转文字 -->
<el-button circle type="primary" @click="emit('stop')">
<MkIcon name="icon_square_filled" />
Expand Down
Loading