2026-03-06 18:05:51 +08:00
|
|
|
<view class="video-call-container data-v-0f1482ae"><view class="header data-v-0f1482ae"><text class="caller-name data-v-0f1482ae">📹 与{{a}}视频通话</text><text class="call-duration data-v-0f1482ae">{{b}}</text></view><view class="video-section data-v-0f1482ae"><video wx:if="{{c}}" src="{{d}}" loop="{{false}}" autoplay="{{true}}" id="videoPlayer" show-center-play-btn="{{false}}" show-play-btn="{{false}}" controls="{{false}}" enable-progress-gesture="{{false}}" show-progress="{{false}}" show-fullscreen-btn="{{false}}" show-loading="{{true}}" object-fit="{{'contain'}}" poster="{{''}}" class="video-player data-v-0f1482ae" bindplay="{{e}}" bindpause="{{f}}" bindended="{{g}}" binderror="{{h}}" bindloadedmetadata="{{i}}" bindwaiting="{{j}}" bindcanplay="{{k}}" bindtimeupdate="{{l}}"></video><view class="ai-tag data-v-0f1482ae"><text class="ai-tag-text data-v-0f1482ae">AI生成</text></view><view wx:if="{{m}}" class="video-loading data-v-0f1482ae"><text class="data-v-0f1482ae">📹 视频加载中...</text></view><view wx:if="{{n}}" class="speaking-indicator data-v-0f1482ae"><text class="pulse data-v-0f1482ae">🔊 正在说话...</text></view></view><scroll-view scroll-y class="chat-history data-v-0f1482ae" scroll-top="{{q}}" scroll-with-animation><view wx:for="{{o}}" wx:for-item="msg" wx:key="d" class="{{['data-v-0f1482ae', 'message', msg.e]}}"><view class="message-avatar data-v-0f1482ae">{{msg.a}}</view><view class="message-content data-v-0f1482ae"><text class="message-text data-v-0f1482ae">{{msg.b}}</text><text class="message-time data-v-0f1482ae">{{msg.c}}</text></view></view><view wx:if="{{p}}" class="empty-hint data-v-0f1482ae"><text class="data-v-0f1482ae">👋 开始对话吧</text></view></scroll-view><view class="controls data-v-0f1482ae"><view wx:if="{{r}}" class="form-section data-v-0f1482ae"><view class="form-label data-v-0f1482ae">方言</view><picker class="data-v-0f1482ae" mode="selector" range="{{t}}" bindchange="{{v}}"><view class="picker-large data-v-0f1482ae">{{s}}</view></picker></view><view wx:if="{{w}}" class="form-section data-v-0f1482ae"><view class="form-label data-v-0f1482ae">语言提示(可选)</view><picker class="data-v-0f1482ae" mode="selector" range="{{y}}" bindchange="{{z}}"><view class="picker-large data-v-0f1482ae">{{x}}</view></picker><view class="hint-text data-v-0f1482ae">💡 仅处理第一个值;不设置不生效</view></view><view class="control-row data-v-0f1482ae"><button wx:if="{{A}}" class="talk-btn data-v-0f1482ae" bindtap="{{B}}"> 🎤 开始说话 </button><button wx:if="{{C}}" class="talk-btn recording data-v-0f1482ae" bindtap="{{D}}"> ⏹️ 停止录音 </button><button wx:if="{{E}}" class="talk-btn processing data-v-0f1482ae" disabled> ⏳ {{F}}</button></view><view class="control-row data-v-0f1482ae"><button class="hangup-btn data-v-0f1482ae" bindtap="{{G}}"> 📞 挂断 </button></view></view></view>
|