fix:ScriptView 语音按钮改为麦克风图标

This commit is contained in:
2026-06-23 22:56:15 +08:00
parent 1c45689f03
commit 3cd7de1f55
+6 -1
View File
@@ -272,7 +272,7 @@
@touchend.prevent="endVoicePress" @touchend.prevent="endVoicePress"
@touchcancel.prevent="cancelVoicePress" @touchcancel.prevent="cancelVoicePress"
> >
<text>语音</text> <text class="voice-icon">🎤</text>
</view> </view>
<view class="result-input-shell" :class="{ twoLine: resultInputLevel === 'two', expanded: resultInputLevel === 'multi' }"> <view class="result-input-shell" :class="{ twoLine: resultInputLevel === 'two', expanded: resultInputLevel === 'multi' }">
<text v-if="!resultChatInput" class="custom-input-placeholder result-input-placeholder">继续提修改建议或确认后重新生成</text> <text v-if="!resultChatInput" class="custom-input-placeholder result-input-placeholder">继续提修改建议或确认后重新生成</text>
@@ -3056,6 +3056,11 @@ onUnmounted(() => {
box-shadow: 0 0 30rpx rgba(168, 85, 247, 0.38); box-shadow: 0 0 30rpx rgba(168, 85, 247, 0.38);
} }
.voice-icon {
font-size: 32rpx;
line-height: 1;
}
.result-input-shell { .result-input-shell {
position: relative; position: relative;
flex: 1; flex: 1;