diff --git a/src/views/bigScreen/index.vue b/src/views/bigScreen/index.vue index a79aa290..7c9e0c19 100644 --- a/src/views/bigScreen/index.vue +++ b/src/views/bigScreen/index.vue @@ -344,12 +344,12 @@ newEle.style.color = "#ffffff"; let close = document.createElement("div"); 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(close); let newEle2 = document.createElement("video"); 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 otest.appendChild(newEle); otest.appendChild(newEle2);