tuikit-atomicx-vue3 3.4.2 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +1 -0
- package/dist/baseComp/Modal/Modal.js +431 -23
- package/dist/chat/index.d.ts +18 -18
- package/dist/components/AudioSetting/AudioMediaControl.js +39 -41
- package/dist/components/AudioSetting/AudioSettingTab.js +10 -10
- package/dist/components/AudioSetting/MicrophoneSelect.js +8 -8
- package/dist/components/AudioSetting/SpeakerSelect.js +9 -9
- package/dist/components/AudioSettingPanel/i18n/en-US/index.d.ts +1 -0
- package/dist/components/AudioSettingPanel/i18n/en-US/index.js +2 -1
- package/dist/components/AudioSettingPanel/i18n/zh-CN/index.d.ts +1 -0
- package/dist/components/AudioSettingPanel/i18n/zh-CN/index.js +2 -1
- package/dist/components/AudioSettingPanel/index.js +81 -73
- package/dist/components/BarrageInput/BarrageInputH5.js +9 -9
- package/dist/components/BarrageInput/EmojiPicker/EmojiPicker.js +3 -3
- package/dist/components/BarrageInput/MessageInputState.d.ts +28 -0
- package/dist/components/BarrageInput/MessageInputState.js +82 -0
- package/dist/components/BarrageInput/TextEditor/CharacterCountExtension.js +1 -1
- package/dist/components/BarrageInput/TextEditor/EditorCore.js +2 -2
- package/dist/components/BarrageInput/TextEditor/index.js +7 -7
- package/dist/components/BarrageInput/type.d.ts +17 -0
- package/dist/components/BarrageInput/type.js +4 -0
- package/dist/components/BarrageInput/utils.d.ts +30 -0
- package/dist/components/BarrageInput/utils.js +41 -0
- package/dist/components/BarrageList/BarrageList.js +80 -110
- package/dist/components/BarrageList/BarrageList.vue.d.ts +0 -29
- package/dist/components/BarrageList/BarrageListH5.js +95 -122
- package/dist/components/BarrageList/BarrageListH5.vue.d.ts +0 -29
- package/dist/components/BarrageList/BarrageListState.d.ts +58 -0
- package/dist/components/BarrageList/BarrageListState.js +106 -0
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.js +16 -24
- package/dist/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.vue.d.ts +5 -5
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.js +48 -73
- package/dist/components/BarrageList/Message/MessageLayout/MessageLayout.vue.d.ts +5 -7
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.js +70 -76
- package/dist/components/BarrageList/Message/TextMessage/TextMessage.vue.d.ts +6 -6
- package/dist/components/BarrageList/Message/TextMessage/emoji.d.ts +5 -0
- package/dist/components/BarrageList/Message/TextMessage/emoji.js +134 -0
- package/dist/components/BarrageList/index.d.ts +0 -36
- package/dist/components/CameraButton/index.js +18 -19
- package/dist/components/CoGuestPanel/CoGuestPanel.js +60 -60
- package/dist/components/CoHostPanel/BattlePanel.js +11 -11
- package/dist/components/CoHostPanel/CoHostPanel.js +10 -10
- package/dist/components/CoHostPanel/ConfigSettingPanel.js +49 -55
- package/dist/components/CoHostPanel/ConnectionPanel.js +132 -123
- package/dist/components/CoHostPanel/RecommendHostList.js +39 -36
- package/dist/components/CoHostPanel/constants.d.ts +3 -0
- package/dist/components/CoHostPanel/constants.js +6 -0
- package/dist/components/CoHostPanel/i18n/en-US/index.d.ts +1 -0
- package/dist/components/CoHostPanel/i18n/en-US/index.js +2 -1
- package/dist/components/CoHostPanel/i18n/zh-CN/index.d.ts +1 -0
- package/dist/components/CoHostPanel/i18n/zh-CN/index.js +3 -2
- package/dist/components/LiveAudienceList/LiveAudienceList.js +44 -45
- package/dist/components/LiveAudienceList/LiveAudienceListH5.js +7 -7
- package/dist/components/LiveAudienceList/UserActionMenu.js +57 -64
- package/dist/components/LiveList/LiveList.js +23 -23
- package/dist/components/LiveList/LiveListH5.js +38 -38
- package/dist/components/LiveScenePanel/CameraSettingDialog.js +10 -10
- package/dist/components/LiveScenePanel/MaterialItem.js +15 -15
- package/dist/components/LiveScenePanel/index.js +4 -4
- package/dist/components/LiveView/CoreViewDecorate/BattleDecorate.js +58 -58
- package/dist/components/LiveView/CoreViewDecorate/BattleUserDecorate.js +6 -6
- package/dist/components/LiveView/CoreViewDecorate/CoHostDecorate.js +5 -5
- package/dist/components/LiveView/DefaultStreamViewUI.js +44 -41
- package/dist/components/LiveView/PlayerControl/AudioControl.js +20 -20
- package/dist/components/LiveView/PlayerControl/MultiResolution.js +49 -48
- package/dist/components/LiveView/PlayerControl/MultiResolution.vue.d.ts +7 -1
- package/dist/components/LiveView/PlayerControl/PlayerControl.js +90 -86
- package/dist/components/LiveView/PlayerControl/PlayerControlState.js +127 -131
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.d.ts +6 -0
- package/dist/components/LiveView/PlayerControl/utils/domHelpers.js +54 -22
- package/dist/components/LiveView/i18n/en-US/index.d.ts +2 -2
- package/dist/components/LiveView/i18n/en-US/index.js +2 -2
- package/dist/components/LiveView/i18n/zh-CN/index.d.ts +2 -2
- package/dist/components/LiveView/i18n/zh-CN/index.js +2 -2
- package/dist/components/LiveView/index.js +17 -17
- package/dist/components/MessageInput/TextEditor/EditorCore.js +2 -2
- package/dist/components/MessageList/MessageList.vue.d.ts +2 -2
- package/dist/components/MessageList/index.d.ts +18 -18
- package/dist/components/MicButton/index.js +11 -11
- package/dist/components/StreamMixer/LocalMixer/MixerControl.js +12 -12
- package/dist/components/StreamMixer/LocalMixer/index.js +66 -63
- package/dist/components/StreamView/Layout/CustomLayout.js +8 -8
- package/dist/components/StreamView/Layout/FloatLayout.js +124 -127
- package/dist/components/StreamView/Layout/GridLayout.js +5 -5
- package/dist/components/StreamView/index.js +25 -33
- package/dist/components/StreamView/manager/mediaManager.js +54 -60
- package/dist/components/VideoSetting/CameraSelect.js +8 -8
- package/dist/components/VideoSetting/VideoMediaControl.js +10 -10
- package/dist/components/VideoSetting/VideoPreview.js +9 -9
- package/dist/components/VideoSetting/VideoProfile.js +6 -6
- package/dist/components/VideoSetting/VideoSettingTab.js +40 -39
- package/dist/components/VideoSettingPanel/CameraSelect.js +8 -8
- package/dist/components/VideoSettingPanel/VideoPreview.js +1 -1
- package/dist/components/VideoSettingPanel/VideoProfile.js +18 -18
- package/dist/hooks/useRoomEngine.js +6 -6
- package/dist/{index-D2OVtqc8.js → index-BfIEeWMg.js} +191 -181
- package/dist/{index-Bm-QfV5o.js → index-DTi1fL-x.js} +460 -457
- package/dist/index.js +162 -144
- package/dist/report/MetricsKey.d.ts +16 -0
- package/dist/report/MetricsKey.js +4 -0
- package/dist/report/dataReport.d.ts +12 -0
- package/dist/report/dataReport.js +45 -0
- package/dist/report/index.d.ts +4 -0
- package/dist/report/index.js +6 -0
- package/dist/rtc/index.d.ts +5 -43
- package/dist/rtc/index.js +48 -48
- package/dist/states/BarrageState/BarrageState.d.ts +74 -0
- package/dist/states/BarrageState/BarrageState.js +80 -0
- package/dist/states/BarrageState/index.d.ts +1 -0
- package/dist/states/BarrageState/index.js +5 -0
- package/dist/states/{BattleState.d.ts → BattleState/BattleState.d.ts} +10 -11
- package/dist/states/BattleState/BattleState.js +203 -0
- package/dist/states/BattleState/index.d.ts +1 -0
- package/dist/states/BattleState/index.js +4 -0
- package/dist/states/CoGuestState.d.ts +24 -94
- package/dist/states/CoGuestState.js +297 -189
- package/dist/states/CoHostState/CoHostState.d.ts +2 -2
- package/dist/states/CoHostState/CoHostState.js +135 -131
- package/dist/states/{DeviceState.d.ts → DeviceState/DeviceState.d.ts} +25 -13
- package/dist/states/DeviceState/DeviceState.js +314 -0
- package/dist/states/DeviceState/index.d.ts +1 -0
- package/dist/states/DeviceState/index.js +4 -0
- package/dist/states/LiveAudienceState.d.ts +3 -1
- package/dist/states/LiveAudienceState.js +106 -63
- package/dist/states/{LiveState/index.d.ts → LiveListState/LiveListState.d.ts} +13 -8
- package/dist/states/LiveListState/LiveListState.js +285 -0
- package/dist/states/LiveListState/index.d.ts +1 -0
- package/dist/states/LiveListState/index.js +4 -0
- package/dist/states/LiveMonitorState/api/http.js +147 -129
- package/dist/states/LiveMonitorState/index.js +67 -62
- package/dist/states/LiveSeatState/index.d.ts +46 -11
- package/dist/states/LiveSeatState/index.js +34 -15
- package/dist/states/LiveSeatState/seatEventManager.d.ts +2 -0
- package/dist/states/LiveSeatState/seatEventManager.js +63 -42
- package/dist/states/LiveSeatState/seatManager.d.ts +34 -5
- package/dist/states/LiveSeatState/seatManager.js +131 -29
- package/dist/states/LiveSeatState/store.d.ts +5 -5
- package/dist/states/LiveSeatState/store.js +12 -10
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamManager.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/RTCStreamPlayer.js +1 -1
- package/dist/states/LiveSeatState/usePlayStream/index.js +30 -28
- package/dist/states/LoginState.js +39 -34
- package/dist/states/SeatStore.js +82 -83
- package/dist/states/{VideoMixerState.d.ts → VideoMixerState/VideoMixerState.d.ts} +1 -1
- package/dist/states/VideoMixerState/VideoMixerState.js +269 -0
- package/dist/states/VideoMixerState/index.d.ts +1 -0
- package/dist/states/VideoMixerState/index.js +4 -0
- package/dist/styles/index.css +1 -1
- package/dist/types/audience.d.ts +21 -0
- package/dist/types/audience.js +4 -1
- package/dist/types/battle.d.ts +75 -3
- package/dist/types/battle.js +5 -1
- package/dist/types/coGuest.d.ts +72 -5
- package/dist/types/coGuest.js +4 -2
- package/dist/types/device.d.ts +38 -17
- package/dist/types/device.js +10 -8
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.js +96 -80
- package/dist/types/live.d.ts +36 -21
- package/dist/types/live.js +6 -4
- package/dist/types/seat.d.ts +23 -4
- package/dist/types/seat.js +7 -1
- package/dist/utils/eventCenter.d.ts +88 -0
- package/dist/utils/eventCenter.js +161 -0
- package/package.json +2 -2
- package/src/components/AudioSetting/AudioMediaControl.vue +1 -3
- package/src/components/AudioSetting/AudioSettingTab.vue +1 -2
- package/src/components/AudioSetting/MicrophoneSelect.vue +1 -2
- package/src/components/AudioSetting/SpeakerSelect.vue +1 -2
- package/src/components/AudioSettingPanel/i18n/en-US/index.ts +1 -0
- package/src/components/AudioSettingPanel/i18n/zh-CN/index.ts +1 -0
- package/src/components/AudioSettingPanel/index.vue +4 -2
- package/src/components/BarrageInput/BarrageInputH5.vue +1 -1
- package/src/components/BarrageInput/EmojiPicker/EmojiPicker.vue +1 -1
- package/src/components/BarrageInput/MessageInputState.ts +160 -0
- package/src/components/BarrageInput/TextEditor/TextEditor.vue +1 -1
- package/src/components/BarrageInput/type.ts +26 -0
- package/src/components/BarrageInput/utils.ts +45 -0
- package/src/components/BarrageList/BarrageList.vue +61 -117
- package/src/components/BarrageList/BarrageListH5.vue +75 -159
- package/src/components/BarrageList/BarrageListState.ts +223 -0
- package/src/components/BarrageList/Message/MessageLayout/MessageBubble/MessageBubble.vue +8 -55
- package/src/components/BarrageList/Message/MessageLayout/MessageLayout.vue +19 -44
- package/src/components/BarrageList/Message/TextMessage/TextMessage.vue +69 -96
- package/src/components/BarrageList/Message/TextMessage/emoji.ts +132 -0
- package/src/components/CameraButton/index.vue +0 -1
- package/src/components/CoGuestPanel/CoGuestPanel.vue +16 -91
- package/src/components/CoHostPanel/BattlePanel.vue +1 -4
- package/src/components/CoHostPanel/ConfigSettingPanel.vue +2 -8
- package/src/components/CoHostPanel/ConnectionPanel.vue +37 -33
- package/src/components/CoHostPanel/RecommendHostList.vue +12 -13
- package/src/components/CoHostPanel/constants.ts +3 -0
- package/src/components/CoHostPanel/i18n/en-US/index.ts +1 -0
- package/src/components/CoHostPanel/i18n/zh-CN/index.ts +2 -1
- package/src/components/LiveAudienceList/LiveAudienceList.vue +4 -5
- package/src/components/LiveAudienceList/LiveAudienceListH5.vue +2 -2
- package/src/components/LiveAudienceList/UserActionMenu.vue +7 -48
- package/src/components/LiveList/LiveList.vue +5 -5
- package/src/components/LiveList/LiveListH5.vue +6 -6
- package/src/components/LiveScenePanel/index.vue +2 -2
- package/src/components/LiveView/CoreViewDecorate/BattleDecorate.vue +10 -15
- package/src/components/LiveView/CoreViewDecorate/BattleUserDecorate.vue +2 -2
- package/src/components/LiveView/DefaultStreamViewUI.vue +5 -3
- package/src/components/LiveView/PlayerControl/AudioControl.vue +1 -1
- package/src/components/LiveView/PlayerControl/MultiResolution.vue +9 -3
- package/src/components/LiveView/PlayerControl/PlayerControl.vue +10 -2
- package/src/components/LiveView/PlayerControl/PlayerControlState.ts +233 -259
- package/src/components/LiveView/PlayerControl/utils/domHelpers.ts +64 -0
- package/src/components/LiveView/i18n/en-US/index.ts +2 -2
- package/src/components/LiveView/i18n/zh-CN/index.ts +2 -2
- package/src/components/LiveView/index.vue +2 -2
- package/src/components/MicButton/index.vue +3 -3
- package/src/components/StreamMixer/LocalMixer/index.vue +6 -8
- package/src/components/StreamView/Layout/CustomLayout.vue +2 -2
- package/src/components/StreamView/Layout/FloatLayout.vue +88 -83
- package/src/components/StreamView/index.vue +28 -14
- package/src/components/StreamView/manager/mediaManager.ts +38 -42
- package/src/components/VideoSetting/CameraSelect.vue +1 -2
- package/src/components/VideoSetting/VideoMediaControl.vue +1 -1
- package/src/components/VideoSetting/VideoPreview.vue +1 -2
- package/src/components/VideoSetting/VideoProfile.vue +1 -1
- package/src/components/VideoSetting/VideoSettingTab.vue +9 -5
- package/src/components/VideoSettingPanel/CameraSelect.vue +1 -2
- package/src/components/VideoSettingPanel/VideoProfile.vue +7 -7
- package/src/hooks/useRoomEngine.ts +1 -1
- package/src/report/MetricsKey.ts +16 -0
- package/src/report/dataReport.ts +55 -0
- package/src/report/index.ts +7 -0
- package/src/rtc/index.ts +7 -9
- package/src/types/audience.ts +27 -1
- package/src/types/battle.ts +87 -4
- package/src/types/coGuest.ts +87 -5
- package/src/types/device.ts +41 -16
- package/src/types/index.ts +2 -2
- package/src/types/live.ts +41 -22
- package/src/types/seat.ts +28 -4
- package/src/utils/eventCenter.ts +249 -0
- package/dist/DialogPortal-CvJcEAsn.js +0 -417
- package/dist/components/BarrageList/Message/FaceMessage/FaceMessage.js +0 -23
- package/dist/components/BarrageList/Message/FaceMessage/FaceMessage.vue.d.ts +0 -30
- package/dist/components/BarrageList/Message/FaceMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/FaceMessage/index.js +0 -4
- package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.js +0 -4
- package/dist/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue.d.ts +0 -16
- package/dist/components/BarrageList/Message/GroupTipMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/GroupTipMessage/index.js +0 -25
- package/dist/components/BarrageList/Message/ImageMessage/ImageMessage.js +0 -71
- package/dist/components/BarrageList/Message/ImageMessage/ImageMessage.vue.d.ts +0 -34
- package/dist/components/BarrageList/Message/ImageMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/ImageMessage/index.js +0 -4
- package/dist/components/BarrageList/Message/MergerMessage/MergerMessage.js +0 -9
- package/dist/components/BarrageList/Message/MergerMessage/MergerMessage.vue.d.ts +0 -2
- package/dist/components/BarrageList/Message/MergerMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/MergerMessage/index.js +0 -4
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.js +0 -40
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue.d.ts +0 -54
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.js +0 -26
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue.d.ts +0 -15
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/MessageLayout/MessageMeta/index.js +0 -4
- package/dist/components/BarrageList/Message/RecalledMessage/RecalledMessage.js +0 -41
- package/dist/components/BarrageList/Message/RecalledMessage/RecalledMessage.vue.d.ts +0 -35
- package/dist/components/BarrageList/Message/RecalledMessage/index.d.ts +0 -3
- package/dist/components/BarrageList/Message/RecalledMessage/index.js +0 -4
- package/dist/components/BarrageList/MessageForward/ForwardListItem.js +0 -45
- package/dist/components/BarrageList/MessageForward/ForwardListItem.vue.d.ts +0 -17
- package/dist/components/BarrageList/MessageForward/MessageForward.js +0 -203
- package/dist/components/BarrageList/MessageForward/MessageForward.vue.d.ts +0 -2
- package/dist/components/BarrageList/MessageForward/index.d.ts +0 -3
- package/dist/components/BarrageList/MessageForward/index.js +0 -4
- package/dist/components/StreamView/Layout/MixLayout.js +0 -89
- package/dist/components/StreamView/Layout/MixLayout.vue.d.ts +0 -31
- package/dist/states/BarrageListState/BarrageListState.d.ts +0 -26
- package/dist/states/BarrageListState/BarrageListState.js +0 -122
- package/dist/states/BarrageListState/index.d.ts +0 -1
- package/dist/states/BarrageListState/index.js +0 -4
- package/dist/states/BattleState.js +0 -117
- package/dist/states/DeviceState.js +0 -296
- package/dist/states/LiveState/index.js +0 -254
- package/dist/states/VideoMixerState.js +0 -260
- package/src/components/BarrageList/Message/FaceMessage/FaceMessage.vue +0 -43
- package/src/components/BarrageList/Message/FaceMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/GroupTipMessage/GroupTipMessage.vue +0 -55
- package/src/components/BarrageList/Message/GroupTipMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/ImageMessage/ImageMessage.vue +0 -181
- package/src/components/BarrageList/Message/ImageMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/MergerMessage/MergerMessage.vue +0 -6
- package/src/components/BarrageList/Message/MergerMessage/index.ts +0 -3
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageMeta.vue +0 -70
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/MessageStatusIcon.vue +0 -40
- package/src/components/BarrageList/Message/MessageLayout/MessageMeta/index.ts +0 -3
- package/src/components/BarrageList/Message/RecalledMessage/RecalledMessage.vue +0 -82
- package/src/components/BarrageList/Message/RecalledMessage/index.ts +0 -3
- package/src/components/BarrageList/MessageForward/ForwardListItem.vue +0 -67
- package/src/components/BarrageList/MessageForward/MessageForward.vue +0 -388
- package/src/components/BarrageList/MessageForward/index.ts +0 -3
- package/src/components/StreamView/Layout/MixLayout.vue +0 -144
|
@@ -1,32 +1,31 @@
|
|
|
1
|
-
import { defineComponent as T, ref as u, computed as b, onMounted as H, onUnmounted as D, createElementBlock as o, openBlock as r, normalizeStyle as
|
|
1
|
+
import { defineComponent as T, ref as u, computed as b, onMounted as H, onUnmounted as D, createElementBlock as o, openBlock as r, normalizeStyle as V, createElementVNode as n, createCommentVNode as p, createBlock as F, Fragment as K, renderList as P, unref as e, createVNode as $, renderSlot as j, normalizeClass as q, toDisplayString as c } from "vue";
|
|
2
2
|
import { useUIKit as G } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
3
|
import { useLiveAudienceState as J } from "../../states/LiveAudienceState.js";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
const ee = ["onClick"], te = { class: "viewer-info" }, se = { class: "viewer-name" }, re = {
|
|
4
|
+
import { useLoginState as Q } from "../../states/LoginState.js";
|
|
5
|
+
import z from "../Avatar/Avatar.js";
|
|
6
|
+
import W from "./UserActionMenu.js";
|
|
7
|
+
import { useLiveListState as X } from "../../states/LiveListState/LiveListState.js";
|
|
8
|
+
import { _ as Y } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
|
+
const Z = ["onClick"], ee = { class: "viewer-info" }, te = { class: "viewer-name" }, se = {
|
|
11
10
|
key: 0,
|
|
12
11
|
class: "loading-indicator"
|
|
13
|
-
},
|
|
12
|
+
}, re = {
|
|
14
13
|
key: 1,
|
|
15
14
|
class: "viewer-bottom-line"
|
|
16
|
-
},
|
|
15
|
+
}, ne = {
|
|
17
16
|
key: 2,
|
|
18
17
|
class: "empty-state"
|
|
19
|
-
},
|
|
18
|
+
}, ae = {
|
|
20
19
|
key: 0,
|
|
21
20
|
class: "viewer-item current-user-item"
|
|
22
|
-
},
|
|
21
|
+
}, le = { class: "viewer-info" }, ie = { class: "viewer-name" }, oe = /* @__PURE__ */ T({
|
|
23
22
|
__name: "LiveAudienceList",
|
|
24
23
|
props: {
|
|
25
24
|
height: {},
|
|
26
25
|
style: {}
|
|
27
26
|
},
|
|
28
|
-
setup(
|
|
29
|
-
const { t: _ } = G(), g = u(null), a = u(null),
|
|
27
|
+
setup(M) {
|
|
28
|
+
const { t: _ } = G(), g = u(null), a = u(null), d = u(!1), y = M, { loginUserInfo: v } = Q(), { audienceList: L, audienceCount: x, fetchAudienceList: B } = J(), { currentLive: w } = X(), E = (s) => {
|
|
30
29
|
switch (s) {
|
|
31
30
|
case 1:
|
|
32
31
|
return "rank-first";
|
|
@@ -37,9 +36,9 @@ const ee = ["onClick"], te = { class: "viewer-info" }, se = { class: "viewer-nam
|
|
|
37
36
|
default:
|
|
38
37
|
return "rank-default";
|
|
39
38
|
}
|
|
40
|
-
}, k = u(!1), m = u(null),
|
|
39
|
+
}, k = u(!1), m = u(null), I = u({}), C = b(() => {
|
|
41
40
|
var s, t;
|
|
42
|
-
return ((s =
|
|
41
|
+
return ((s = v.value) == null ? void 0 : s.userId) === ((t = w.value) == null ? void 0 : t.liveOwner.userId);
|
|
43
42
|
}), R = (s, t) => {
|
|
44
43
|
if (!C.value)
|
|
45
44
|
return;
|
|
@@ -47,34 +46,34 @@ const ee = ["onClick"], te = { class: "viewer-info" }, se = { class: "viewer-nam
|
|
|
47
46
|
const l = t.currentTarget;
|
|
48
47
|
g.value = l;
|
|
49
48
|
const f = l.getBoundingClientRect();
|
|
50
|
-
|
|
49
|
+
I.value = {
|
|
51
50
|
position: "fixed",
|
|
52
51
|
left: `${f.left}px`,
|
|
53
52
|
top: `${f.bottom + 8}px`,
|
|
54
53
|
zIndex: 1001
|
|
55
54
|
};
|
|
56
|
-
},
|
|
57
|
-
if (!a.value ||
|
|
55
|
+
}, S = async () => {
|
|
56
|
+
if (!a.value || d.value)
|
|
58
57
|
return;
|
|
59
58
|
const { scrollTop: s, clientHeight: t, scrollHeight: l } = a.value;
|
|
60
59
|
if (s + t >= l - 50) {
|
|
61
|
-
|
|
60
|
+
d.value = !0;
|
|
62
61
|
try {
|
|
63
|
-
await
|
|
62
|
+
await B();
|
|
64
63
|
} finally {
|
|
65
|
-
|
|
64
|
+
d.value = !1;
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
67
|
};
|
|
69
68
|
return H(() => {
|
|
70
|
-
a.value && a.value.addEventListener("scroll",
|
|
69
|
+
a.value && a.value.addEventListener("scroll", S);
|
|
71
70
|
}), D(() => {
|
|
72
|
-
a.value && a.value.removeEventListener("scroll",
|
|
71
|
+
a.value && a.value.removeEventListener("scroll", S);
|
|
73
72
|
}), (s, t) => {
|
|
74
|
-
var l, f,
|
|
73
|
+
var l, f, A, N, U;
|
|
75
74
|
return r(), o("div", {
|
|
76
75
|
class: "viewers-panel",
|
|
77
|
-
style:
|
|
76
|
+
style: V({ height: y.height, ...y.style })
|
|
78
77
|
}, [
|
|
79
78
|
n("div", {
|
|
80
79
|
ref_key: "viewersListRef",
|
|
@@ -89,44 +88,44 @@ const ee = ["onClick"], te = { class: "viewer-info" }, se = { class: "viewer-nam
|
|
|
89
88
|
n("span", {
|
|
90
89
|
class: q(["rank", E(h + 1)])
|
|
91
90
|
}, c(h < 10 ? h + 1 : "-"), 3),
|
|
92
|
-
|
|
91
|
+
$(e(z), {
|
|
93
92
|
src: i.avatarUrl,
|
|
94
93
|
size: 26
|
|
95
94
|
}, null, 8, ["src"]),
|
|
96
95
|
j(s.$slots, "audience-mark", { audience: i }, void 0, !0),
|
|
97
|
-
n("div",
|
|
98
|
-
n("span",
|
|
96
|
+
n("div", ee, [
|
|
97
|
+
n("span", te, c(i.userName || i.userId), 1)
|
|
99
98
|
])
|
|
100
|
-
], 8,
|
|
101
|
-
|
|
102
|
-
e(
|
|
103
|
-
e(L).length === 0 && !
|
|
99
|
+
], 8, Z))), 128)),
|
|
100
|
+
d.value ? (r(), o("div", se, c(e(_)("Loading...")), 1)) : p("", !0),
|
|
101
|
+
e(x) >= 200 ? (r(), o("div", re, c(e(_)("Only show 200 viewers")), 1)) : p("", !0),
|
|
102
|
+
e(L).length === 0 && !d.value ? (r(), o("div", ne, [
|
|
104
103
|
n("p", null, c(e(_)("No audience yet")), 1)
|
|
105
104
|
])) : p("", !0)
|
|
106
105
|
], 512),
|
|
107
|
-
e(
|
|
106
|
+
e(v) && ((l = e(w)) != null && l.liveId) && !C.value ? (r(), o("div", ae, [
|
|
108
107
|
t[1] || (t[1] = n("span", { class: "rank" }, "-", -1)),
|
|
109
|
-
|
|
110
|
-
src: e(
|
|
108
|
+
$(e(z), {
|
|
109
|
+
src: e(v).avatarUrl,
|
|
111
110
|
size: 26
|
|
112
111
|
}, null, 8, ["src"]),
|
|
113
|
-
n("div",
|
|
114
|
-
n("span",
|
|
112
|
+
n("div", le, [
|
|
113
|
+
n("span", ie, c(`${e(v).userName || e(v).userId} (${e(_)("Me")})`), 1)
|
|
115
114
|
])
|
|
116
115
|
])) : p("", !0),
|
|
117
|
-
k.value ? (r(), F(
|
|
116
|
+
k.value ? (r(), F(W, {
|
|
118
117
|
key: 1,
|
|
119
|
-
"user-id": ((
|
|
120
|
-
"user-name": ((
|
|
121
|
-
"avatar-url": (
|
|
122
|
-
style:
|
|
118
|
+
"user-id": ((f = m.value) == null ? void 0 : f.userId) || "",
|
|
119
|
+
"user-name": ((A = m.value) == null ? void 0 : A.userName) || ((N = m.value) == null ? void 0 : N.userId) || "",
|
|
120
|
+
"avatar-url": (U = m.value) == null ? void 0 : U.avatarUrl,
|
|
121
|
+
style: V(I.value),
|
|
123
122
|
"click-target": g.value,
|
|
124
123
|
onClose: t[0] || (t[0] = (i) => k.value = !1)
|
|
125
124
|
}, null, 8, ["user-id", "user-name", "avatar-url", "style", "click-target"])) : p("", !0)
|
|
126
125
|
], 4);
|
|
127
126
|
};
|
|
128
127
|
}
|
|
129
|
-
}),
|
|
128
|
+
}), ke = /* @__PURE__ */ Y(oe, [["__scopeId", "data-v-924c6ef3"]]);
|
|
130
129
|
export {
|
|
131
|
-
|
|
130
|
+
ke as default
|
|
132
131
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as C, ref as c, computed as S, createElementBlock as o, openBlock as r, normalizeStyle as x, createElementVNode as l, createCommentVNode as p, Fragment as V, renderList as A, unref as s, createVNode as N, renderSlot as b, toDisplayString as a } from "vue";
|
|
2
2
|
import { useLoginState as z } from "../../states/LoginState.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import $ from "
|
|
3
|
+
import { useLiveAudienceState as B } from "../../states/LiveAudienceState.js";
|
|
4
|
+
import { useUIKit as O } from "@tencentcloud/uikit-base-component-vue3";
|
|
5
|
+
import U from "../Avatar/Avatar.js";
|
|
6
|
+
import { useLiveListState as $ } from "../../states/LiveListState/LiveListState.js";
|
|
7
7
|
import { _ as E } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
const H = { class: "viewers-list" }, M = ["onClick"], T = { class: "viewer-info" }, D = { class: "viewer-name" }, F = {
|
|
9
9
|
key: 0,
|
|
@@ -18,7 +18,7 @@ const H = { class: "viewers-list" }, M = ["onClick"], T = { class: "viewer-info"
|
|
|
18
18
|
style: {}
|
|
19
19
|
},
|
|
20
20
|
setup(v) {
|
|
21
|
-
const { t: u } =
|
|
21
|
+
const { t: u } = O(), _ = c(null), d = v, { loginUserInfo: f } = z(), { audienceList: m, audienceCount: h } = B(), { currentLive: g } = $(), y = c(!1), L = c(null), k = c({}), w = S(() => {
|
|
22
22
|
var t, n;
|
|
23
23
|
return ((t = f.value) == null ? void 0 : t.userId) === ((n = g.value) == null ? void 0 : n.liveOwner.userId);
|
|
24
24
|
}), I = (t, n) => {
|
|
@@ -44,7 +44,7 @@ const H = { class: "viewers-list" }, M = ["onClick"], T = { class: "viewer-info"
|
|
|
44
44
|
class: "viewer-item",
|
|
45
45
|
onClick: (i) => I(e, i)
|
|
46
46
|
}, [
|
|
47
|
-
N(s(
|
|
47
|
+
N(s(U), {
|
|
48
48
|
src: e.avatarUrl,
|
|
49
49
|
size: 40
|
|
50
50
|
}, null, 8, ["src"]),
|
|
@@ -60,7 +60,7 @@ const H = { class: "viewers-list" }, M = ["onClick"], T = { class: "viewer-info"
|
|
|
60
60
|
])
|
|
61
61
|
], 4));
|
|
62
62
|
}
|
|
63
|
-
}), X = /* @__PURE__ */ E(R, [["__scopeId", "data-v-
|
|
63
|
+
}), X = /* @__PURE__ */ E(R, [["__scopeId", "data-v-0031b097"]]);
|
|
64
64
|
export {
|
|
65
65
|
X as default
|
|
66
66
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { useUIKit as
|
|
3
|
-
import { useCoGuestState as
|
|
4
|
-
import { useLiveAudienceState as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
|
|
1
|
+
import { defineComponent as y, ref as F, computed as l, onMounted as D, onUnmounted as N, createElementBlock as c, openBlock as a, withModifiers as w, createElementVNode as u, createCommentVNode as E, createVNode as R, unref as T, toDisplayString as I, Fragment as x, renderList as K } from "vue";
|
|
2
|
+
import { useUIKit as V, TUIToast as k } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
|
+
import { useCoGuestState as B } from "../../states/CoGuestState.js";
|
|
4
|
+
import { useLiveAudienceState as G } from "../../states/LiveAudienceState.js";
|
|
5
|
+
import { useLoginState as z } from "../../states/LoginState.js";
|
|
6
|
+
import { useLiveSeatState as $ } from "../../states/LiveSeatState/index.js";
|
|
7
|
+
import j from "../Avatar/Avatar.js";
|
|
8
|
+
import { useLiveListState as q } from "../../states/LiveListState/LiveListState.js";
|
|
9
|
+
import { _ as H } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const J = { class: "action-menu-content" }, P = { class: "action-menu-header" }, Q = { class: "user-info-simple" }, W = { class: "user-name-simple" }, X = {
|
|
10
11
|
key: 0,
|
|
11
12
|
class: "action-menu-list"
|
|
12
|
-
},
|
|
13
|
+
}, Y = ["onClick"], Z = /* @__PURE__ */ y({
|
|
13
14
|
__name: "UserActionMenu",
|
|
14
15
|
props: {
|
|
15
16
|
userId: {},
|
|
@@ -18,85 +19,77 @@ const Q = { class: "action-menu-content" }, W = { class: "action-menu-header" },
|
|
|
18
19
|
clickTarget: {}
|
|
19
20
|
},
|
|
20
21
|
emits: ["close"],
|
|
21
|
-
setup(
|
|
22
|
-
const { t:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
disconnect: M
|
|
28
|
-
} = $(), { disableSendMessage: v, audienceList: O, kickUserOutOfRoom: S } = j(), { loginUserInfo: A } = H(), y = d(() => O.value.find((e) => e.userId === t.userId)), F = d(() => {
|
|
29
|
-
var e, s;
|
|
30
|
-
return ((e = A.value) == null ? void 0 : e.userId) === ((s = _.value) == null ? void 0 : s.liveOwner.userId);
|
|
31
|
-
}), I = d(() => {
|
|
32
|
-
var r;
|
|
22
|
+
setup(r, { emit: g }) {
|
|
23
|
+
const { t: o } = V(), d = F(), m = g, n = r, { currentLive: _ } = q(), { connected: h } = B(), { kickUserOutOfSeat: b } = $(), { disableSendMessage: f, audienceList: U, kickUserOutOfRoom: M } = G(), { loginUserInfo: S } = z(), O = l(() => U.value.find((e) => e.userId === n.userId)), L = l(() => {
|
|
24
|
+
var e, t;
|
|
25
|
+
return ((e = S.value) == null ? void 0 : e.userId) === ((t = _.value) == null ? void 0 : t.liveOwner.userId);
|
|
26
|
+
}), v = l(() => {
|
|
27
|
+
var i;
|
|
33
28
|
const e = [];
|
|
34
|
-
if (!
|
|
29
|
+
if (!L.value)
|
|
35
30
|
return [];
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
return n || e.push({
|
|
40
|
-
label: i("Mute"),
|
|
31
|
+
const t = h.value.some((A) => A.userId === n.userId), s = (i = O.value) == null ? void 0 : i.isMessageDisabled;
|
|
32
|
+
return s || e.push({
|
|
33
|
+
label: o("Mute"),
|
|
41
34
|
action: "disableSendMessage",
|
|
42
|
-
actionFn: () =>
|
|
43
|
-
}),
|
|
44
|
-
label:
|
|
35
|
+
actionFn: () => f({ userId: n.userId, isDisable: !0 })
|
|
36
|
+
}), s && e.push({
|
|
37
|
+
label: o("Unmute"),
|
|
45
38
|
action: "disableSendMessage",
|
|
46
|
-
actionFn: () =>
|
|
47
|
-
}),
|
|
48
|
-
label:
|
|
39
|
+
actionFn: () => f({ userId: n.userId, isDisable: !1 })
|
|
40
|
+
}), t && e.push({ label: o("Kick out"), action: "disconnect", actionFn: () => b({ userId: n.userId }) }), e.push({
|
|
41
|
+
label: o("Kick out of room"),
|
|
49
42
|
action: "kickUserOutOfRoom",
|
|
50
|
-
actionFn: () =>
|
|
43
|
+
actionFn: () => M({ userId: n.userId })
|
|
51
44
|
}), e;
|
|
52
|
-
}),
|
|
45
|
+
}), C = async (e) => {
|
|
53
46
|
try {
|
|
54
|
-
await e.actionFn(),
|
|
55
|
-
message:
|
|
47
|
+
await e.actionFn(), k.success({
|
|
48
|
+
message: o("Operation successful")
|
|
56
49
|
});
|
|
57
|
-
} catch (
|
|
58
|
-
console.error("Action failed:",
|
|
59
|
-
message:
|
|
50
|
+
} catch (t) {
|
|
51
|
+
console.error("Action failed:", t), k.error({
|
|
52
|
+
message: o("Operation failed")
|
|
60
53
|
});
|
|
61
54
|
}
|
|
62
|
-
|
|
55
|
+
m("close");
|
|
63
56
|
}, p = (e) => {
|
|
64
|
-
var
|
|
65
|
-
const
|
|
66
|
-
!((
|
|
57
|
+
var s, i;
|
|
58
|
+
const t = e.target;
|
|
59
|
+
!((s = d.value) != null && s.contains(t)) && !((i = n.clickTarget) != null && i.contains(t)) && m("close");
|
|
67
60
|
};
|
|
68
|
-
return
|
|
61
|
+
return D(() => {
|
|
69
62
|
document.addEventListener("click", p);
|
|
70
|
-
}),
|
|
63
|
+
}), N(() => {
|
|
71
64
|
document.removeEventListener("click", p);
|
|
72
|
-
}), (e,
|
|
65
|
+
}), (e, t) => (a(), c("div", {
|
|
73
66
|
ref_key: "actionMenuRef",
|
|
74
|
-
ref:
|
|
67
|
+
ref: d,
|
|
75
68
|
class: "user-action-menu",
|
|
76
|
-
onClick:
|
|
69
|
+
onClick: t[0] || (t[0] = w(() => {
|
|
77
70
|
}, ["stop"]))
|
|
78
71
|
}, [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
src:
|
|
72
|
+
u("div", J, [
|
|
73
|
+
u("div", P, [
|
|
74
|
+
u("div", Q, [
|
|
75
|
+
R(T(j), {
|
|
76
|
+
src: r.avatarUrl,
|
|
84
77
|
size: 26
|
|
85
78
|
}, null, 8, ["src"]),
|
|
86
|
-
|
|
79
|
+
u("span", W, I(r.userName || r.userId), 1)
|
|
87
80
|
])
|
|
88
81
|
]),
|
|
89
|
-
|
|
90
|
-
(
|
|
91
|
-
key:
|
|
82
|
+
v.value.length > 0 ? (a(), c("div", X, [
|
|
83
|
+
(a(!0), c(x, null, K(v.value, (s) => (a(), c("button", {
|
|
84
|
+
key: s.label,
|
|
92
85
|
class: "action-menu-item",
|
|
93
|
-
onClick: (
|
|
94
|
-
},
|
|
95
|
-
])) :
|
|
86
|
+
onClick: (i) => C(s)
|
|
87
|
+
}, I(s.label), 9, Y))), 128))
|
|
88
|
+
])) : E("", !0)
|
|
96
89
|
])
|
|
97
90
|
], 512));
|
|
98
91
|
}
|
|
99
|
-
}),
|
|
92
|
+
}), ue = /* @__PURE__ */ H(Z, [["__scopeId", "data-v-938908ee"]]);
|
|
100
93
|
export {
|
|
101
|
-
|
|
94
|
+
ue as default
|
|
102
95
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as A, useCssVars as F, ref as n, computed as g, watch as
|
|
1
|
+
import { defineComponent as A, useCssVars as F, ref as n, computed as g, watch as E, createElementBlock as a, createCommentVNode as d, unref as o, openBlock as r, createElementVNode as t, Fragment as D, renderList as G, createVNode as L, toDisplayString as c } from "vue";
|
|
2
2
|
import { useUIKit as T, IconLiveCoverHeader as q, IconNoLiveRoom as K } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import j from "
|
|
3
|
+
import { useLoginState as P } from "../../states/LoginState.js";
|
|
4
|
+
import Y from "../Avatar/Avatar.js";
|
|
5
|
+
import { useLiveListState as j } from "../../states/LiveListState/LiveListState.js";
|
|
6
6
|
import { _ as J } from "../../_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const Q = {
|
|
8
8
|
key: 0,
|
|
@@ -19,7 +19,7 @@ const Q = {
|
|
|
19
19
|
}, ve = {
|
|
20
20
|
key: 1,
|
|
21
21
|
class: "loading"
|
|
22
|
-
},
|
|
22
|
+
}, W = "https://liteav-test-1252463788.cos.ap-guangzhou.myqcloud.com/voice_room/voice_room_cover1.png", ue = /* @__PURE__ */ A({
|
|
23
23
|
__name: "LiveList",
|
|
24
24
|
props: {
|
|
25
25
|
columnCount: {
|
|
@@ -28,31 +28,31 @@ const Q = {
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
emits: ["live-room-click"],
|
|
31
|
-
setup(
|
|
31
|
+
setup(M, { emit: $ }) {
|
|
32
32
|
F((e) => ({
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
33
|
+
v54b2dea1: w.value,
|
|
34
|
+
v2af4bc06: b.value,
|
|
35
|
+
v27d9fbac: I.value,
|
|
36
|
+
v7d82ded5: R.value,
|
|
37
|
+
v190a01f8: _.value
|
|
38
38
|
}));
|
|
39
|
-
const { liveList: m,
|
|
40
|
-
|
|
39
|
+
const { liveList: m, liveListCursor: h, fetchLiveList: C } = j(), { loginUserInfo: k } = P(), { t: u } = T(), y = M, v = n(null), p = n(null), i = n(!1), x = g(() => h.value !== ""), w = n("356px"), I = n("270px"), R = n("356px"), _ = n("210px"), b = n("20px"), N = g(() => x.value && !i.value), V = g(() => N.value && !v.value);
|
|
40
|
+
E(
|
|
41
41
|
k,
|
|
42
42
|
async (e) => {
|
|
43
43
|
e && e.userId && (i.value = !0, h.value = "", m.value.length = 0, await C({}), i.value = !1);
|
|
44
44
|
},
|
|
45
45
|
{ immediate: !0 }
|
|
46
|
-
),
|
|
46
|
+
), E(p, () => {
|
|
47
47
|
if (p.value && screen.width > screen.height) {
|
|
48
48
|
const { width: e } = p.value.getBoundingClientRect();
|
|
49
49
|
let s = 20;
|
|
50
|
-
e <= 1e3 ? s = 12 : s = 20,
|
|
50
|
+
e <= 1e3 ? s = 12 : s = 20, b.value = `${s}px`;
|
|
51
51
|
const l = s * (y.columnCount - 1), f = (e - l) / y.columnCount;
|
|
52
52
|
R.value = `${f}px`, _.value = `${f * 0.6}px`, w.value = `${f}px`, I.value = `${_.value + 52}px`;
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
const H =
|
|
55
|
+
const H = $;
|
|
56
56
|
function S(e) {
|
|
57
57
|
console.log("liveRoomClick,liveInfo:", e), H("live-room-click", e);
|
|
58
58
|
}
|
|
@@ -60,7 +60,7 @@ const Q = {
|
|
|
60
60
|
return v.value ? v.value.scrollTop + v.value.clientHeight >= v.value.scrollHeight - e : !1;
|
|
61
61
|
}
|
|
62
62
|
function z(e) {
|
|
63
|
-
v.value && e.deltaY > 0 && U() &&
|
|
63
|
+
v.value && e.deltaY > 0 && U() && N.value && B();
|
|
64
64
|
}
|
|
65
65
|
async function B() {
|
|
66
66
|
if (!(!x.value || i.value))
|
|
@@ -72,7 +72,7 @@ const Q = {
|
|
|
72
72
|
}
|
|
73
73
|
function O(e) {
|
|
74
74
|
const s = e.target;
|
|
75
|
-
s && (s.src =
|
|
75
|
+
s && (s.src = W);
|
|
76
76
|
}
|
|
77
77
|
return (e, s) => o(k) ? (r(), a("div", Q, [
|
|
78
78
|
o(m).length > 0 ? (r(), a("div", {
|
|
@@ -105,14 +105,14 @@ const Q = {
|
|
|
105
105
|
]),
|
|
106
106
|
s[0] || (s[0] = t("div", { class: "gradient" }, null, -1)),
|
|
107
107
|
t("img", {
|
|
108
|
-
src: l.coverUrl ||
|
|
108
|
+
src: l.coverUrl || W,
|
|
109
109
|
alt: "",
|
|
110
110
|
onError: O
|
|
111
111
|
}, null, 40, se)
|
|
112
112
|
]),
|
|
113
113
|
t("span", le, c(l.liveName), 1),
|
|
114
114
|
t("div", ie, [
|
|
115
|
-
L(o(
|
|
115
|
+
L(o(Y), {
|
|
116
116
|
src: l.liveOwner.avatarUrl,
|
|
117
117
|
size: 20,
|
|
118
118
|
style: { border: "1px solid var(--uikit-color-white-7)" }
|
|
@@ -125,13 +125,13 @@ const Q = {
|
|
|
125
125
|
L(o(K), { size: 60 }),
|
|
126
126
|
t("span", null, c(o(u)("No Live")), 1)
|
|
127
127
|
])),
|
|
128
|
-
o(m).length > 0 && (
|
|
129
|
-
|
|
128
|
+
o(m).length > 0 && (V.value || i.value) ? (r(), a("div", re, [
|
|
129
|
+
V.value ? (r(), a("span", ce, c(o(u)("Load More")), 1)) : d("", !0),
|
|
130
130
|
i.value ? (r(), a("span", ve, c(o(u)("Loading...")), 1)) : d("", !0)
|
|
131
131
|
])) : d("", !0)
|
|
132
132
|
])) : d("", !0);
|
|
133
133
|
}
|
|
134
|
-
}), ge = /* @__PURE__ */ J(ue, [["__scopeId", "data-v-
|
|
134
|
+
}), ge = /* @__PURE__ */ J(ue, [["__scopeId", "data-v-9ca7b189"]]);
|
|
135
135
|
export {
|
|
136
136
|
ge as default
|
|
137
137
|
};
|