This commit is contained in:
shijing 2022-07-01 09:20:10 +08:00
parent b33043b230
commit 57f192e39b
1 changed files with 2 additions and 2 deletions

View File

@ -344,12 +344,12 @@
newEle.style.color = "#ffffff"; newEle.style.color = "#ffffff";
let close = document.createElement("div"); let close = document.createElement("div");
close.className = "v_close"; close.className = "v_close";
close.setAttribute("style","width: 16px;height: 16px;background: url(.//public/img/close.png) no-repeat;background-size: 100% 100%;"); close.setAttribute("style","width: 16px;height: 16px;background: url(/img/close.png) no-repeat;background-size: 100% 100%;");
newEle.appendChild(title); newEle.appendChild(title);
newEle.appendChild(close); newEle.appendChild(close);
let newEle2 = document.createElement("video"); let newEle2 = document.createElement("video");
newEle2.id = event.markers[0].id+'videoPlayer'; newEle2.id = event.markers[0].id+'videoPlayer';
newEle2.setAttribute("style","width: 327px;height:183px;background:url('.//public/img/v_mask.png') no-repeat;background-size: 100% 100%;"); newEle2.setAttribute("style","width: 327px;height:183px;background:url('/img/v_mask.png') no-repeat;background-size: 100% 100%;");
// dom dom // dom dom
otest.appendChild(newEle); otest.appendChild(newEle);
otest.appendChild(newEle2); otest.appendChild(newEle2);