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();
});
})
}