Update chat-input.vue

This commit is contained in:
huxuejian 2026-08-10 13:50:40 +08:00
parent 5cb37f9d28
commit c0f51f8370

View File

@ -11,9 +11,10 @@
<uni-icons v-else type="mic" size="28" color="#666" />
</view>
<view class="input-area">
<!-- :hold-keyboard="true" -->
<textarea v-if="!showVoiceInput" class="text-input" v-model="inputText" placeholder="我来说两句..."
@confirm="sendTextMessage" @focus="handleInputFocus" @input="handleInput"
:auto-height="true" :show-confirm-bar="false" :hold-keyboard="true" :cursor-spacing="40"
:auto-height="true" :show-confirm-bar="false" :cursor-spacing="40"
ref="textareaRef"
/>
<input v-else class="voice-input-btn" :class="{ recording: isRecording }" @touchstart="startRecord"