diff --git a/Web/html/body/video.html b/Web/html/body/video.html
index 7d33b11..6a67dfb 100644
--- a/Web/html/body/video.html
+++ b/Web/html/body/video.html
@@ -249,11 +249,11 @@
var lables = [];
var values = [];
json.data.guardInfo.forEach(item => {
- lables.push(item.gift_name + "\n" + item.total_price + "¥")
+ lables.push(item.gift_name + "\n" + item.total_price + "¥")
values.push(item.total_num)
});
json.data.giftInfo.forEach(item => {
- lables.push(item.gift_name + "\n" + item.total_price + "¥")
+ lables.push(item.gift_name + "\n" + item.total_price + "¥")
values.push(item.total_gift_num)
});
setChart(lables, values, json)
@@ -283,7 +283,7 @@
}
},
onClick: (e) => {
- var giftName=e.chart.tooltip.title[0]
+ var giftName = e.chart.tooltip.title[0]
console.log(e.chart.tooltip.title)
layer.open({
@@ -297,7 +297,7 @@
// btn: ['确定', '取消'],
content: '/html/ui/videoGiftItem.html?roomId=' + roomId + "&videoId=" + videoId + "&giftName=" + giftName,
yes: function (index, layero) {
-
+
}
});
}
@@ -370,7 +370,7 @@
} else {
barrageRenderer.barrageLayoutCalculate.allBarrageInstances.push(...data.data.danmu);
}
- if (data.data.nextDanmu) {
+ if (data.data.danmu.length === 3000) {
loadDanmu(page + 1)
}
// barrageRenderer.setBarrages(data.data.danmu);