Commit 3f2e547e authored by 高飞's avatar 高飞

修改图片打开本地软件

parent ecc90126
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<div v-text="item.eg"></div> <div v-text="item.eg"></div>
</div> </div>
</div> </div>
<div style="position: absolute;top:50%;right: 2.3%;" :id="'left'+index"></div> <div style="position: absolute;top:50%;right: 3.1%;" :id="'left'+index"></div>
</div> </div>
</div> </div>
<div class="center-content"> <div class="center-content">
...@@ -26,10 +26,10 @@ ...@@ -26,10 +26,10 @@
<div class="pulse2"></div> <div class="pulse2"></div>
<div class="center-img"></div> <div class="center-img"></div>
<div style="position: absolute;top:48%;left: calc(50% - 240px);" id="left11"></div> <div style="position: absolute;top:48%;left: calc(50% - 240px);" id="left11"></div>
<div style="position: absolute;top:52%;left: calc(50% - 240px);" id="left22"></div> <div style="position: absolute;top:52.5%;left: calc(50% - 240px);" id="left22"></div>
<div style="position: absolute;top:56%;left: calc(50% - 240px);" id="left33"></div> <div style="position: absolute;top:56%;left: calc(50% - 240px);" id="left33"></div>
<div style="position: absolute;top:48%;right: calc(50% - 250px);" id="right11"></div> <div style="position: absolute;top:48%;right: calc(50% - 250px);" id="right11"></div>
<div style="position: absolute;top:52%;right: calc(50% - 250px);" id="right22"></div> <div style="position: absolute;top:52.5%;right: calc(50% - 250px);" id="right22"></div>
<div style="position: absolute;top:56%;right: calc(50% - 250px);" id="right33"></div> <div style="position: absolute;top:56%;right: calc(50% - 250px);" id="right33"></div>
</div> </div>
<div class="right-content"> <div class="right-content">
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
<div v-text="item.eg"></div> <div v-text="item.eg"></div>
</div> </div>
</div> </div>
<div style="position: absolute;top:50%;left: 6.1%;" :id="'right'+index"></div> <div style="position: absolute;top:50%;left: 3.1%;" :id="'right'+index"></div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -306,6 +306,7 @@ import { ...@@ -306,6 +306,7 @@ import {
format_file, //上传的文件格式 format_file, //上传的文件格式
arr_video_format, //视频的文件格式 arr_video_format, //视频的文件格式
arr_sound_format, //音频的文件格式 arr_sound_format, //音频的文件格式
arr_img_format,
} from "../../util/http_util"; } from "../../util/http_util";
import { uuid } from "../../util/data_util"; import { uuid } from "../../util/data_util";
import BigfileUpload from "../../components/common/bigfile_upload.vue"; import BigfileUpload from "../../components/common/bigfile_upload.vue";
...@@ -601,19 +602,19 @@ export default { ...@@ -601,19 +602,19 @@ export default {
let _this = this; let _this = this;
//用户判断此格式是否是视频格式 //用户判断此格式是否是视频格式
let video_type = false; let video_type = false;
//用户判断此格式是否是音频格式 //用户判断此格式是否是图片格式
let sound_type = false; let img_type = false;
arr_video_format().forEach((name) => { arr_video_format().forEach((name) => {
if (name.toUpperCase() == row.file.type.toUpperCase()) { if (name.toUpperCase() == row.file.type.toUpperCase()) {
video_type = true; video_type = true;
} }
}); });
arr_sound_format().forEach((name) => { arr_img_format().forEach((name) => {
if (name.toUpperCase() == row.file.type.toUpperCase()) { if (name.toUpperCase() == row.file.type.toUpperCase()) {
sound_type = true; img_type = true;
} }
}); });
if(video_type||sound_type){ if(video_type||img_type){
window.protocolCheck('UHD://',(fail) =>{ window.protocolCheck('UHD://',(fail) =>{
// 安装则直接打开 // 安装则直接打开
_this.$message({ _this.$message({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment