直播间需要添加签到功能

This commit is contained in:
cbb
2026-01-13 17:56:19 +08:00
parent 06e026c8b8
commit c139fcf501
16 changed files with 313 additions and 171 deletions

View File

@@ -427,16 +427,17 @@
disconnect({
liveID: uni?.$liveID,
})
exitSheetItems.value = ['退出直播间']
exitSheetItems.value = ['退2出直播间']
exitSheetTitle.value = ''
uni.$localGuestStatus = 'IDLE'
return
}
if ((uni.$localGuestStatus === 'CONNECTED' && index === 1) || (uni.$localGuestStatus !== 'CONNECTED' && index === 0)) {
// imDataEndLive(liveID.value, 0)
leaveLive({
success: () => {
// imDataEndLive(liveID.value)
uni.$liveID = ''
uni.redirectTo({
url: `/pages/discover/livelist/index`,