Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
常超
founder_vue
Commits
a513976b
Commit
a513976b
authored
Mar 31, 2021
by
zhao_shaonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
指纹采集框 采集时添加边框
parent
1a58bd31
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
src/views/zwxt/fingerprint.vue
+9
-3
No files found.
src/views/zwxt/fingerprint.vue
View file @
a513976b
...
@@ -45,8 +45,8 @@
...
@@ -45,8 +45,8 @@
<div
style=
"font-size: 12px;color: #ADADAD;padding-top: 19px;margin-bottom:8px;"
>
<div
style=
"font-size: 12px;color: #ADADAD;padding-top: 19px;margin-bottom:8px;"
>
<span
style=
"height: 19px;font-size: 14px;font-weight: 400;color: #F6F6F6;"
>
采集预览
</span>
<span
style=
"height: 19px;font-size: 14px;font-weight: 400;color: #F6F6F6;"
>
采集预览
</span>
</div>
</div>
<div
style=
"width:352px;height:352px;background: #222;border: 1px solid #404040;opacity: 1;border-radius: 4px;"
>
<div
style=
"width:352px;height:352px;background: #222;border: 1px solid #404040;opacity: 1;border-radius: 4px;"
:class=
"isReady?'yellow':''"
>
<img
:src=
"imgUrls"
style=
"width:352px;height:352px;"
v-show=
"imgUrls
.length!=0
"
>
<img
:src=
"imgUrls"
style=
"width:352px;height:352px;"
v-show=
"imgUrls
!=''
"
>
</div>
</div>
<!--
<iframe
<!--
<iframe
id=
"main-iframe"
id=
"main-iframe"
...
@@ -529,7 +529,8 @@
...
@@ -529,7 +529,8 @@
name
:
"fingerprint"
,
name
:
"fingerprint"
,
data
(){
data
(){
return
{
return
{
imgUrls
:[],
imgUrls
:
''
,
isReady
:
false
,
gather
:
url
.
zwxt
+
'/fingerprint/detail/1/gather'
,
gather
:
url
.
zwxt
+
'/fingerprint/detail/1/gather'
,
value1
:
50
,
value1
:
50
,
value2
:
50
,
value2
:
50
,
...
@@ -575,8 +576,10 @@
...
@@ -575,8 +576,10 @@
var
sessionId
=
1617088598532
;
//这里到时候自动生成sessionid,纯数字
var
sessionId
=
1617088598532
;
//这里到时候自动生成sessionid,纯数字
this
.
GrpcCameraService
=
new
GrpcCameraService
(
url
.
BaseURL
,
sessionId
);
this
.
GrpcCameraService
=
new
GrpcCameraService
(
url
.
BaseURL
,
sessionId
);
this
.
GrpcCameraService
.
getCameraState
(
finger
,(
responsepreImg
)
=>
{
this
.
GrpcCameraService
.
getCameraState
(
finger
,(
responsepreImg
)
=>
{
self
.
isReady
=
true
;
self
.
imgUrls
=
[
responsepreImg
];
self
.
imgUrls
=
[
responsepreImg
];
},(
resposephoto
)
=>
{
},(
resposephoto
)
=>
{
self
.
isReady
=
false
;
if
(
finger
==
1
){
if
(
finger
==
1
){
self
.
image1
=
'data:image/bmp;base64,'
+
resposephoto
.
getRolledFrame_asB64
();
self
.
image1
=
'data:image/bmp;base64,'
+
resposephoto
.
getRolledFrame_asB64
();
self
.
image11
=
'data:image/bmp;base64,'
+
resposephoto
.
getPlainFrame_asB64
();
self
.
image11
=
'data:image/bmp;base64,'
+
resposephoto
.
getPlainFrame_asB64
();
...
@@ -1005,6 +1008,9 @@
...
@@ -1005,6 +1008,9 @@
height
:
2px
!important
;
height
:
2px
!important
;
}
}
/
deep
/
.el-slider__button
{
width
:
8px
;
height
:
8px
;}
/
deep
/
.el-slider__button
{
width
:
8px
;
height
:
8px
;}
.yellow
{
border
:
1px
solid
#f3f3bc
!important
}
.curCj
{
.curCj
{
-webkit-animation
:
borderA
3s
infinite
forwards
;
-webkit-animation
:
borderA
3s
infinite
forwards
;
animation
:
borderA
3s
infinite
forwards
;
animation
:
borderA
3s
infinite
forwards
;
...
...
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