feat: image标签替换成class名称
This commit is contained in:
@@ -3,8 +3,16 @@
|
||||
<view v-if="!visibleWaveBtn" class="area-input">
|
||||
<!-- 语音/键盘切换 -->
|
||||
<view class="input-container-voice" @click="toggleVoiceMode">
|
||||
<image v-if="!isVoiceMode" src="/static/input_voice_icon.png"></image>
|
||||
<image v-else src="/static/input_keyboard_icon.png"></image>
|
||||
<image
|
||||
class="voice-icon"
|
||||
v-if="!isVoiceMode"
|
||||
src="/static/input_voice_icon.png"
|
||||
></image>
|
||||
<image
|
||||
class="voice-icon"
|
||||
v-else
|
||||
src="/static/input_keyboard_icon.png"
|
||||
></image>
|
||||
</view>
|
||||
|
||||
<!-- 输入框/语音按钮容器 -->
|
||||
@@ -47,9 +55,10 @@
|
||||
<view class="input-container-send-btn" @click="sendMessage">
|
||||
<image
|
||||
v-if="props.isSessionActive"
|
||||
class="send-icon"
|
||||
src="/static/input_stop_icon.png"
|
||||
></image>
|
||||
<image v-else src="/static/input_send_icon.png"></image>
|
||||
<image v-else class="send-icon" src="/static/input_send_icon.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user