fix(mobile-uni): 清理原生 Emoji 符号,全面替换为 uni-icons 标准矢量图标规避跨终端兼容风险

This commit is contained in:
2026-07-23 02:12:47 +08:00
parent eb973418d5
commit 5a31896394
+12 -3
View File
@@ -66,8 +66,14 @@
<template v-for="msg in messages" :key="msg.id">
<view v-if="msg.role === 'user'" class="bubble-row right">
<view class="bubble user">
<view v-if="msg.voice" class="bubble-tag">🎤 语音转文字</view>
<view v-if="msg.mediaName" class="bubble-tag">📎 {{ msg.mediaKind === 'video' ? '现场视频' : '现场图片' }} · {{ msg.mediaName }}</view>
<view v-if="msg.voice" class="bubble-tag">
<uni-icons type="mic-filled" size="12" color="#ffffff" />
<text>语音转文字</text>
</view>
<view v-if="msg.mediaName" class="bubble-tag">
<uni-icons type="paperclip" size="12" color="#ffffff" />
<text>{{ msg.mediaKind === 'video' ? '现场视频' : '现场图片' }} · {{ msg.mediaName }}</text>
</view>
<text class="bubble-text">{{ msg.text }}</text>
</view>
</view>
@@ -122,7 +128,10 @@
</text>
</view>
<view v-if="msg.result.cautions?.length" class="bubble-cautions">
<text v-for="item in msg.result.cautions" :key="item" class="bubble-caution">⚠ {{ item }}</text>
<view v-for="item in msg.result.cautions" :key="item" class="bubble-caution">
<uni-icons type="warn-filled" size="12" color="#e60012" />
<text>{{ item }}</text>
</view>
</view>
<text v-if="msg.result.noEvidence" class="bubble-noevidence">当前授权空间内没有足够依据。</text>