H5的<TUICallKit></TUICallKit>注释状态

This commit is contained in:
bobobobo
2026-01-30 23:21:22 +08:00
parent bccfb8a4e0
commit 7969ea00a9
10 changed files with 70 additions and 13 deletions

View File

@@ -21,13 +21,9 @@
<text class="message-role">主播</text>
</view>
<view class="nickname-content-wrapper">
<text v-if="message?.businessID === LIVE_BUSINESS.ADMIN" class="chat-nickname"
numberOfLines="1">游客:</text>
<text v-else class="chat-nickname"
<text class="chat-nickname"
numberOfLines="1">{{ message?.sender?.userName || message?.sender?.userID }}</text>
<text v-if="message?.businessID === LIVE_BUSINESS.SIGN" class="chat-content">{{ JSON.parse(message?.data).title }}</text>
<text v-else-if="message?.businessID === LIVE_BUSINESS.ADMIN" class="chat-content">1</text>
<text v-else class="chat-content">{{ message?.textContent || '' }}</text>
<text class="chat-content">{{ message?.textContent || '' }}</text>
</view>
</view>
</view>
@@ -57,7 +53,6 @@
</template>
<script setup lang="ts">
import { LIVE_BUSINESS } from '@/constants/live-keys'
import { ref, watch, computed, onMounted, onUnmounted } from 'vue';
import { useBarrageState } from "@/uni_modules/tuikit-atomic-x/state/BarrageState";
import { useGiftState } from "@/uni_modules/tuikit-atomic-x/state/GiftState";