From edef6ae8f59823258ce610c9074d32e698958b51 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 28 七月 2022 15:30:44 +0800
Subject: [PATCH] 本地图片适配

---
 src/components/wasmPlayer/index.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/components/wasmPlayer/index.vue b/src/components/wasmPlayer/index.vue
index 9f43bdf..c452673 100644
--- a/src/components/wasmPlayer/index.vue
+++ b/src/components/wasmPlayer/index.vue
@@ -74,6 +74,7 @@
         <i
           class="el-icon-download jsmodern-video-download"
           @click="downLoad"
+          style="margin: 9px 0 0 15px"
         ></i>
       </section>
 
@@ -535,7 +536,7 @@
         });
       }
 
-      let url = "http://" + window.location.host + this.loadUrl;
+      let url = "/httpImage/" + window.location.host + this.loadUrl;
 
       // let url = "http://localhost:8080/httpImage/192.168.20.189:6700/283,2f49bf283ad7?collection=2021-09-28-DSVAD010120190703-video"
       let name = url.substring(url.lastIndexOf("/") + 1);
@@ -819,6 +820,7 @@
 }
 
 .video-error {
+  text-align: center;
   position: absolute;
   top: 35%;
   left: 30%;

--
Gitblit v1.8.0