Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xxx_phase2_web
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
夏敏伟
xxx_phase2_web
Commits
3f2e547e
Commit
3f2e547e
authored
Dec 15, 2023
by
高飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改图片打开本地软件
parent
ecc90126
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
src/view/homepage.vue
src/view/homepage.vue
+4
-4
src/view/sjgl/wxk_public.vue
src/view/sjgl/wxk_public.vue
+6
-5
No files found.
src/view/homepage.vue
View file @
3f2e547e
...
@@ -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>
...
...
src/view/sjgl/wxk_public.vue
View file @
3f2e547e
...
@@ -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
({
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment