2025-10-14 16:42:09 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<div class="input-area">
|
2025-10-15 15:46:01 +08:00
|
|
|
|
<div class="shortcut-container flex">
|
|
|
|
|
|
<div
|
|
|
|
|
|
class="shortcut-item flex flex-center"
|
|
|
|
|
|
v-for="item in shortcutList"
|
|
|
|
|
|
:key="item"
|
|
|
|
|
|
@click="handleShortcut(item)"
|
|
|
|
|
|
>
|
|
|
|
|
|
{{ item }}
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2025-10-14 16:42:09 +08:00
|
|
|
|
<div class="input-container">
|
|
|
|
|
|
<div class="icon-wrapper">
|
2025-10-20 11:24:11 +08:00
|
|
|
|
<SvgIcon v-if="!isRecording" name="plus" size="40" />
|
|
|
|
|
|
<SvgIcon v-else name="pause" size="60" @click="stopRecording" />
|
2025-10-14 16:42:09 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="divider"></div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="input-wrapper">
|
2025-10-17 17:09:33 +08:00
|
|
|
|
<textarea
|
2025-10-16 16:03:01 +08:00
|
|
|
|
id="textarea"
|
2025-10-16 13:34:30 +08:00
|
|
|
|
v-show="!isRecording"
|
2025-10-14 16:42:09 +08:00
|
|
|
|
v-model="inputValue"
|
2025-10-17 17:09:33 +08:00
|
|
|
|
rows="1"
|
2025-10-14 16:42:09 +08:00
|
|
|
|
placeholder="Ask anything about your desired outfit"
|
|
|
|
|
|
class="text-input"
|
2025-10-17 17:09:33 +08:00
|
|
|
|
@keydown="handleKeyDown"
|
|
|
|
|
|
@input="handleInput"
|
|
|
|
|
|
ref="textareaRef"
|
|
|
|
|
|
></textarea>
|
2025-10-16 13:34:30 +08:00
|
|
|
|
<div v-show="isRecording" class="recording-wrapper">
|
2025-10-17 17:09:33 +08:00
|
|
|
|
<AudioVisualizer ref="audioVisualizerRef" />
|
2025-10-20 17:01:37 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
2025-10-28 15:17:47 +08:00
|
|
|
|
<!-- <div v-show="showAudioRecorder" class="audio-recorder-wrapper">
|
2025-10-20 17:01:37 +08:00
|
|
|
|
<AudioRecorder
|
|
|
|
|
|
ref="audioRecorderRef"
|
|
|
|
|
|
@recording-started="onRecordingStarted"
|
|
|
|
|
|
@recording-stopped="onRecordingStopped"
|
|
|
|
|
|
@recording-deleted="onRecordingDeleted"
|
|
|
|
|
|
/>
|
2025-10-28 15:17:47 +08:00
|
|
|
|
</div> -->
|
2025-10-14 16:42:09 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
|
2025-10-16 13:34:30 +08:00
|
|
|
|
<div class="icon-wrapper" v-show="!isRecording" @click="handleClickAudio">
|
2025-10-14 16:42:09 +08:00
|
|
|
|
<SvgIcon name="audio" size="52" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
2025-10-20 17:01:37 +08:00
|
|
|
|
<!-- 音频录制图标 -->
|
|
|
|
|
|
<!-- <div class="icon-wrapper" v-show="!isRecording" @click="toggleAudioRecorder">
|
|
|
|
|
|
<SvgIcon name="download" size="52" />
|
|
|
|
|
|
</div> -->
|
|
|
|
|
|
|
2025-10-14 16:42:09 +08:00
|
|
|
|
<div class="icon-wrapper send-icon" @click="handleSend">
|
|
|
|
|
|
<SvgIcon name="send" size="46" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
2025-10-17 17:09:33 +08:00
|
|
|
|
import { ref, onUnmounted, nextTick } from 'vue'
|
2025-10-16 13:34:30 +08:00
|
|
|
|
import AudioVisualizer from './AudioVisualizer.vue'
|
2025-10-28 15:17:47 +08:00
|
|
|
|
// import AudioRecorder from './AudioRecorder.vue'
|
2025-10-17 17:09:33 +08:00
|
|
|
|
import { showToast } from 'vant'
|
2025-10-20 17:01:37 +08:00
|
|
|
|
import { getAudioFileInfo, uploadAudioFile, prepareAudioForTTS } from '@/utils/audioUtils'
|
2025-10-14 16:42:09 +08:00
|
|
|
|
|
2025-10-16 13:34:30 +08:00
|
|
|
|
const emit = defineEmits(['send-message'])
|
2025-10-14 16:42:09 +08:00
|
|
|
|
|
|
|
|
|
|
const inputValue = ref<string>('')
|
2025-10-16 13:34:30 +08:00
|
|
|
|
const isRecording = ref<boolean>(false)
|
2025-10-20 17:01:37 +08:00
|
|
|
|
const showAudioRecorder = ref<boolean>(false)
|
2025-10-17 17:09:33 +08:00
|
|
|
|
const audioVisualizerRef = ref<InstanceType<typeof AudioVisualizer> | null>(null)
|
2025-10-28 15:17:47 +08:00
|
|
|
|
// const audioRecorderRef = ref<InstanceType<typeof AudioRecorder> | null>(null)
|
2025-10-17 17:09:33 +08:00
|
|
|
|
const textareaRef = ref<HTMLTextAreaElement | null>(null)
|
2025-10-15 15:46:01 +08:00
|
|
|
|
const shortcutList: string[] = [
|
|
|
|
|
|
'Suggest shoe styles',
|
|
|
|
|
|
'Recommend evening bags',
|
|
|
|
|
|
'Suggest accessory combinations',
|
|
|
|
|
|
'Suggest color combinations',
|
|
|
|
|
|
'Suggest fabric combinations',
|
|
|
|
|
|
'Suggest style combinations'
|
|
|
|
|
|
]
|
2025-10-14 16:42:09 +08:00
|
|
|
|
|
|
|
|
|
|
const handleSend = (): void => {
|
|
|
|
|
|
if (inputValue.value.trim()) {
|
2025-11-17 17:38:57 +08:00
|
|
|
|
// console.log('input发送消息:', inputValue.value)
|
2025-10-14 16:42:09 +08:00
|
|
|
|
emit('send-message', inputValue.value)
|
|
|
|
|
|
inputValue.value = ''
|
2025-10-17 17:09:33 +08:00
|
|
|
|
// 重置textarea高度
|
|
|
|
|
|
if (textareaRef.value) {
|
|
|
|
|
|
textareaRef.value.style.height = 'auto'
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 处理键盘事件
|
|
|
|
|
|
const handleKeyDown = (event: KeyboardEvent): void => {
|
|
|
|
|
|
if (event.key === 'Enter' && !event.shiftKey) {
|
|
|
|
|
|
event.preventDefault()
|
|
|
|
|
|
handleSend()
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 处理输入事件,自动调整高度
|
|
|
|
|
|
const handleInput = (): void => {
|
|
|
|
|
|
if (textareaRef.value) {
|
|
|
|
|
|
textareaRef.value.style.height = 'auto'
|
|
|
|
|
|
const scrollHeight = textareaRef.value.scrollHeight
|
|
|
|
|
|
textareaRef.value.style.height = `${scrollHeight}px`
|
2025-10-14 16:42:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-10-15 15:46:01 +08:00
|
|
|
|
|
|
|
|
|
|
const handleShortcut = (item: string): void => {
|
|
|
|
|
|
inputValue.value = item
|
|
|
|
|
|
}
|
2025-10-16 13:34:30 +08:00
|
|
|
|
|
|
|
|
|
|
// 语音识别相关变量
|
|
|
|
|
|
let speechRecognition = null
|
|
|
|
|
|
let lastTranscript = '' // 用于防重复
|
|
|
|
|
|
|
|
|
|
|
|
onUnmounted(() => {
|
|
|
|
|
|
if (speechRecognition) {
|
|
|
|
|
|
speechRecognition = null
|
|
|
|
|
|
}
|
|
|
|
|
|
})
|
|
|
|
|
|
|
2025-10-17 17:09:33 +08:00
|
|
|
|
const handleClickAudio = async (): Promise<void> => {
|
2025-10-16 13:34:30 +08:00
|
|
|
|
isRecording.value = !isRecording.value
|
|
|
|
|
|
|
2025-10-17 17:09:33 +08:00
|
|
|
|
// 当开始录音时,等待DOM更新后触发AudioVisualizer重新计算
|
|
|
|
|
|
if (isRecording.value) {
|
|
|
|
|
|
await nextTick()
|
|
|
|
|
|
// 立即尝试更新
|
|
|
|
|
|
if (audioVisualizerRef.value) {
|
|
|
|
|
|
audioVisualizerRef.value.updateLines?.()
|
|
|
|
|
|
}
|
|
|
|
|
|
// 快速重试
|
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
|
if (audioVisualizerRef.value) {
|
|
|
|
|
|
audioVisualizerRef.value.updateLines?.()
|
|
|
|
|
|
}
|
|
|
|
|
|
}, 50)
|
2025-10-16 13:34:30 +08:00
|
|
|
|
startRecording()
|
|
|
|
|
|
} else {
|
|
|
|
|
|
stopRecording()
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-10-20 17:01:37 +08:00
|
|
|
|
// 切换音频录制器显示
|
|
|
|
|
|
const toggleAudioRecorder = () => {
|
|
|
|
|
|
showAudioRecorder.value = !showAudioRecorder.value
|
|
|
|
|
|
if (showAudioRecorder.value) {
|
|
|
|
|
|
showToast('音频录制功能已启用')
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 音频录制事件处理
|
|
|
|
|
|
const onRecordingStarted = () => {
|
|
|
|
|
|
console.log('音频录制开始')
|
|
|
|
|
|
showToast('开始录制音频')
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const onRecordingStopped = async (audioBlob: Blob) => {
|
|
|
|
|
|
console.log('音频录制结束', audioBlob)
|
|
|
|
|
|
showToast('音频录制完成')
|
|
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
// 获取音频文件信息
|
|
|
|
|
|
const audioFile = await getAudioFileInfo(audioBlob)
|
|
|
|
|
|
console.log('音频文件信息:', audioFile)
|
|
|
|
|
|
|
|
|
|
|
|
// 为第三方TTS服务准备数据(示例)
|
|
|
|
|
|
const ttsData = await prepareAudioForTTS(audioBlob, 'openai')
|
|
|
|
|
|
console.log('TTS服务数据:', ttsData)
|
|
|
|
|
|
|
|
|
|
|
|
// 这里可以将音频文件发送到服务器或进行其他处理
|
|
|
|
|
|
// 例如:await uploadAudioFile(audioFile, '/api/upload-audio')
|
|
|
|
|
|
|
|
|
|
|
|
showToast(`音频文件大小: ${(audioFile.size / 1024).toFixed(2)}KB`)
|
|
|
|
|
|
} catch (error) {
|
|
|
|
|
|
console.error('处理音频文件失败:', error)
|
|
|
|
|
|
showToast('处理音频文件失败')
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const onRecordingDeleted = () => {
|
|
|
|
|
|
console.log('音频录制已删除')
|
|
|
|
|
|
showToast('音频录制已删除')
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-10-16 13:34:30 +08:00
|
|
|
|
// 开始语音识别
|
|
|
|
|
|
const startRecording = () => {
|
|
|
|
|
|
if (!speechRecognition) {
|
|
|
|
|
|
// 检查浏览器支持
|
|
|
|
|
|
if (!('webkitSpeechRecognition' in window) && !('SpeechRecognition' in window)) {
|
2025-10-31 16:56:56 +08:00
|
|
|
|
// alert('您的浏览器不支持语音识别功能')
|
|
|
|
|
|
showToast('Your browser does not support speech recognition, please try again with another browser')
|
|
|
|
|
|
isRecording.value = false
|
2025-10-16 13:34:30 +08:00
|
|
|
|
return
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 创建语音识别对象
|
|
|
|
|
|
const SpeechRecognition =
|
|
|
|
|
|
(window as any).SpeechRecognition || (window as any).webkitSpeechRecognition
|
|
|
|
|
|
speechRecognition = new SpeechRecognition()
|
|
|
|
|
|
|
|
|
|
|
|
// 配置参数
|
|
|
|
|
|
speechRecognition.continuous = true
|
|
|
|
|
|
speechRecognition.interimResults = true
|
2025-10-21 10:04:54 +08:00
|
|
|
|
speechRecognition.lang = 'en-US' // 设置为英文
|
2025-10-16 13:34:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 识别开始
|
|
|
|
|
|
speechRecognition.onstart = () => {
|
|
|
|
|
|
console.log('开始语音识别')
|
|
|
|
|
|
isRecording.value = true
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 识别结果
|
2025-10-20 11:24:11 +08:00
|
|
|
|
speechRecognition.onresult = (event: any) => {
|
2025-10-16 13:34:30 +08:00
|
|
|
|
let finalTranscript = ''
|
|
|
|
|
|
let interimTranscript = ''
|
|
|
|
|
|
|
|
|
|
|
|
// 处理所有识别结果
|
|
|
|
|
|
for (let i = event.resultIndex; i < event.results.length; i++) {
|
|
|
|
|
|
const transcript = event.results[i][0].transcript
|
|
|
|
|
|
if (event.results[i].isFinal) {
|
|
|
|
|
|
finalTranscript += transcript
|
|
|
|
|
|
} else {
|
|
|
|
|
|
interimTranscript += transcript
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 只处理最终结果,避免重复
|
|
|
|
|
|
if (finalTranscript && finalTranscript !== lastTranscript) {
|
|
|
|
|
|
console.log('最终识别结果:', finalTranscript)
|
|
|
|
|
|
lastTranscript = finalTranscript
|
|
|
|
|
|
|
|
|
|
|
|
// 将识别结果填入输入框并发送
|
|
|
|
|
|
inputValue.value = finalTranscript
|
|
|
|
|
|
// emit('send-message', finalTranscript)
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 显示临时结果(可选)
|
|
|
|
|
|
if (interimTranscript) {
|
2025-10-31 16:56:56 +08:00
|
|
|
|
console.log('语音转文字识别中:', interimTranscript)
|
2025-10-16 13:34:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 识别结束
|
|
|
|
|
|
speechRecognition.onend = () => {
|
|
|
|
|
|
console.log('语音识别结束')
|
|
|
|
|
|
isRecording.value = false
|
|
|
|
|
|
// 清空防重复变量
|
|
|
|
|
|
lastTranscript = ''
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 识别错误
|
2025-10-20 11:24:11 +08:00
|
|
|
|
speechRecognition.onerror = (event: any) => {
|
2025-10-16 13:34:30 +08:00
|
|
|
|
console.error('语音识别错误:', event.error)
|
|
|
|
|
|
isRecording.value = false
|
2025-10-17 17:09:33 +08:00
|
|
|
|
// alert('语音识别失败,请重试')
|
2025-10-31 16:56:56 +08:00
|
|
|
|
showToast('Speech recognition failed, please try again')
|
2025-10-17 17:09:33 +08:00
|
|
|
|
showToast(event.error)
|
2025-10-16 13:34:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 开始识别
|
|
|
|
|
|
speechRecognition.start()
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 停止语音识别
|
|
|
|
|
|
const stopRecording = () => {
|
|
|
|
|
|
if (speechRecognition && isRecording.value) {
|
|
|
|
|
|
speechRecognition.stop()
|
|
|
|
|
|
isRecording.value = false
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-10-14 16:42:09 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
|
.input-area {
|
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
|
}
|
2025-10-15 15:46:01 +08:00
|
|
|
|
.shortcut-container {
|
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
|
|
padding: 0 4.4rem;
|
|
|
|
|
|
column-gap: 1.2rem;
|
|
|
|
|
|
margin-bottom: 2.84rem;
|
|
|
|
|
|
&::-webkit-scrollbar {
|
|
|
|
|
|
display: none;
|
|
|
|
|
|
}
|
|
|
|
|
|
.shortcut-item {
|
|
|
|
|
|
font-size: 4.2rem;
|
|
|
|
|
|
width: fit-content;
|
|
|
|
|
|
font-family: 'robotoBold';
|
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
|
height: 8.1rem;
|
|
|
|
|
|
line-height: 8.1rem;
|
|
|
|
|
|
padding: 2.2rem 2.8rem;
|
|
|
|
|
|
color: #6d6868;
|
|
|
|
|
|
background-color: #efefef;
|
|
|
|
|
|
border-radius: 2rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-10-14 16:42:09 +08:00
|
|
|
|
|
|
|
|
|
|
.input-container {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
background-color: #efefef;
|
2025-10-17 17:09:33 +08:00
|
|
|
|
padding: 1.5rem 4.85rem 1.5rem 5.2rem;
|
|
|
|
|
|
min-height: 19.3rem;
|
2025-10-14 16:42:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.icon-wrapper {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
cursor: pointer;
|
2025-10-20 11:24:11 +08:00
|
|
|
|
color: #6d6868;
|
2025-10-14 16:42:09 +08:00
|
|
|
|
|
|
|
|
|
|
&.send-icon {
|
|
|
|
|
|
margin-left: 4.38rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
|
|
width: 2px;
|
|
|
|
|
|
height: 14.9rem;
|
|
|
|
|
|
margin-left: 5.59rem;
|
|
|
|
|
|
margin-right: 3.5rem;
|
|
|
|
|
|
background-color: #888;
|
2025-10-17 17:09:33 +08:00
|
|
|
|
align-self: center;
|
2025-10-14 16:42:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.input-wrapper {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2025-10-16 16:03:01 +08:00
|
|
|
|
overflow: hidden;
|
2025-10-14 16:42:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.text-input {
|
|
|
|
|
|
width: 100%;
|
2025-10-16 16:03:01 +08:00
|
|
|
|
// min-height: 4.8rem;
|
2025-10-17 17:09:33 +08:00
|
|
|
|
max-height: 14.4rem;
|
2025-10-14 16:42:09 +08:00
|
|
|
|
border: none;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
background: transparent;
|
|
|
|
|
|
font-size: 4rem;
|
|
|
|
|
|
font-family: 'robotoBold';
|
|
|
|
|
|
font-weight: 400;
|
2025-10-17 17:09:33 +08:00
|
|
|
|
line-height: 4.8rem; /* 设置行高等于实际渲染高度,实现垂直居中 */
|
|
|
|
|
|
padding: 0;
|
2025-10-15 14:52:21 +08:00
|
|
|
|
color: #000;
|
2025-10-17 17:09:33 +08:00
|
|
|
|
word-break: break-all;
|
2025-10-14 16:42:09 +08:00
|
|
|
|
|
|
|
|
|
|
&::placeholder {
|
|
|
|
|
|
color: #888;
|
2025-10-15 14:52:21 +08:00
|
|
|
|
letter-spacing: -0.01em;
|
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
font-family: 'robotoBold';
|
|
|
|
|
|
word-spacing: -5px;
|
2025-10-16 16:03:01 +08:00
|
|
|
|
line-height: 4.8rem;
|
2025-10-14 16:42:09 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 确保图标颜色为 #6d6868
|
|
|
|
|
|
:deep(.svg-icon) {
|
|
|
|
|
|
color: #6d6868;
|
|
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
|
fill: #6d6868;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2025-10-16 13:34:30 +08:00
|
|
|
|
|
|
|
|
|
|
// 录制状态样式
|
|
|
|
|
|
.recording-wrapper {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
2025-10-17 17:09:33 +08:00
|
|
|
|
min-height: 4.8rem;
|
2025-10-16 13:34:30 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
2025-10-20 17:01:37 +08:00
|
|
|
|
// 音频录制器样式
|
|
|
|
|
|
.audio-recorder-wrapper {
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
min-height: 4.8rem;
|
|
|
|
|
|
padding: 10px 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2025-10-16 13:34:30 +08:00
|
|
|
|
.recording-animation {
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
gap: 1.5rem;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.recording-text {
|
|
|
|
|
|
font-family: 'robotoBold';
|
|
|
|
|
|
font-size: 2.8rem;
|
|
|
|
|
|
color: #6d6868;
|
|
|
|
|
|
letter-spacing: 0.02em;
|
|
|
|
|
|
}
|
2025-10-14 16:42:09 +08:00
|
|
|
|
</style>
|