From 52e4312a32e0899a381b39467dbac8d1b865bafb Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Thu, 28 Nov 2024 18:02:58 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=9A=82=E6=97=B6=E5=85=B3=E9=97=AD?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=BD=95=E5=88=B6=E5=90=8E=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/index.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Web/index.html b/Web/index.html index d2d4dd1..28b9280 100644 --- a/Web/index.html +++ b/Web/index.html @@ -68,15 +68,15 @@

开播时长:{{= item.liveTime}}

直播录制状态: {{# if(item.downloadVideo){ }} - 录制中 + 录制中 {{# } else{ }} - 待机中 + 待机中 {{# }; }}
弹幕录制状态: {{# if(item.danmu){ }} - 录制中 + 录制中 {{# } else{ }} - 待机中 + 待机中 {{# }; }}
@@ -98,21 +98,21 @@ console.log(roomId) window.open("https://live.bilibili.com/" + roomId, '_blank') } - function clickVideo(roomId, status) { + function clickVideo(roomId, status,that) { const title = "是否" + (status ? "停止" : "启动") + "录制视频?" layer.confirm(title, { icon: 3 }, function () { if (status) { stopLiveVideo(roomId) .then(data => { layer.msg(data.message, { icon: (data.status == 100 ? 1 : 0) }, function () { - location.reload(); + //location.reload(); }); }) } else { startLiveVideo(roomId) .then(data => { layer.msg(data.message, { icon: (data.status == 100 ? 1 : 0) }, function () { - location.reload(); + //location.reload(); }); }) } @@ -128,7 +128,7 @@ stopLiveDanmu(roomId) .then(data => { layer.msg(data.message, { icon: (data.status == 100 ? 1 : 0) }, function () { - location.reload(); + // location.reload(); }); }) @@ -136,7 +136,7 @@ startLiveDanmu(roomId) .then(data => { layer.msg(data.message, { icon: (data.status == 100 ? 1 : 0) }, function () { - location.reload(); + // location.reload(); }); }) }