直播更新

This commit is contained in:
陈誉午
2026-08-03 11:05:19 +08:00
parent 994b267f5c
commit d0776f9676
12 changed files with 288 additions and 177 deletions
+10 -10
View File
@@ -1,18 +1,18 @@
<view class="wxroom">
<volc-live-portrait
wx:if="{{!isLandscape}}"
sdkInstance="{{sdk}}"
bind:commentCheck="commentCheck"
></volc-live-portrait>
<volc-live-landscape
wx:else
<!-- <volc-live-landscape
wx:if="{{sdk && isLandscape}}"
sdkInstance="{{sdk}}"
bind:commentCheck="commentCheck"
></volc-live-landscape>
<volc-live-portrait
sdkInstance="{{sdk}}"
bind:commentCheck="commentCheck"
></volc-live-portrait> -->
<!-- 竖屏直播间整体组件 -->
<volc-live-portrait wx:if="{{!isLandscape}}" sdkInstance="{{sdk}}" bind:commentCheck="commentCheck"/>
<!-- 横屏直播间整体组件 -->
<volc-live-landscape wx:else sdkInstance="{{sdk}}" bind:commentCheck="commentCheck"/>
<view>
</view>