Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f0f5c94e
authored
2023-09-12 14:01:34 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:材料信息
1 parent
6d1b1798
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
src/views/components/imagePreview.vue
src/views/components/imagePreview.vue
View file @
f0f5c94
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-
07 16:09:13
* @LastEditTime: 2023-09-
12 13:58:04
-->
<
template
>
<div
class=
"rlPopup"
>
...
...
@@ -11,7 +11,7 @@
<div
class=
"next handle-btn"
v-if=
"!isScan"
@
click=
"next()"
>
<i
class=
"el-icon-arrow-right"
></i>
</div>
<div
class=
"img-list-wrap"
>
<div
class=
"img-list-wrap"
v-Loading=
"loading"
>
<img
src=
"http://127.0.0.1:38088/video=stream&camidx=0"
v-if=
"isScan"
alt=
"高拍仪"
>
<div
v-for=
"(img, i) in previewImg.imgList"
:key=
"i"
v-else
>
<photo-zoom
:url=
"img.fjurl"
:bigWidth=
"165"
v-if=
"i === previewImg.index"
:scale=
"2"
...
...
@@ -34,7 +34,7 @@
<el-button
type=
"primary"
icon=
"el-icon-delete-solid"
@
click=
"handleDelete"
v-if=
"thumbnailImages.length>0 && ableOperation"
>
删除
</el-button>
<div
v-if=
"ableOperation"
class=
"pl-5"
>
<el-button
type=
"primary"
@
click=
"handleOpenScan"
v-if=
"ableOperation"
>
{{
scanTitle
}}
</el-button>
<el-button
type=
"primary"
@
click=
"handleOpenScan"
v-if=
"ableOperation"
:loading=
"loading"
>
{{
scanTitle
}}
</el-button>
<el-button
type=
"primary"
@
click=
"handleViewScan"
v-if=
"isScan && ableOperation"
>
拍照
</el-button>
</div>
</div>
...
...
@@ -73,6 +73,7 @@
},
data
()
{
return
{
loading
:
false
,
key
:
0
,
isScan
:
false
,
// 打开高拍仪
...
...
@@ -125,20 +126,22 @@
handleOpenScan
()
{
this
.
isScan
=
!
this
.
isScan
if
(
this
.
isScan
)
{
this
.
loading
=
true
this
.
$message
({
message
:
'正在启动程序请稍等'
,
type
:
'success'
})
setTimeout
(()
=>
{
this
.
scanTitle
=
'关闭高拍仪'
this
.
loading
=
false
},
4000
)
}
else
{
this
.
scanTitle
=
'打开高拍仪'
}
},
// 左右移动
handleMove
(
direction
)
{
handleMove
(
direction
)
{
},
/**
* @description: 拍照
...
...
Please
register
or
sign in
to post a comment