Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bh_face_counter
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
黄天晨
bh_face_counter
Commits
d21d666c
Commit
d21d666c
authored
Mar 13, 2021
by
zhonghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹窗优化
parent
e55b53d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
FacePage.js
src/pages/FacePage.js
+5
-4
No files found.
src/pages/FacePage.js
View file @
d21d666c
...
@@ -41,8 +41,7 @@ class FacePage extends Component {
...
@@ -41,8 +41,7 @@ class FacePage extends Component {
tip
:
''
,
tip
:
''
,
tipsModal
:
false
,
tipsModal
:
false
,
faceType
:
'wxpay'
,
faceType
:
'wxpay'
,
// 屏保模式
sleep
:
true
,
// 屏保模式
sleep
:
true
,
loadingModal
:
false
,
loadingModal
:
false
,
qrCode
:
''
,
qrCode
:
''
,
goTipsModal
:
false
,
goTipsModal
:
false
,
...
@@ -229,7 +228,9 @@ class FacePage extends Component {
...
@@ -229,7 +228,9 @@ class FacePage extends Component {
console
.
log
(
e
);
console
.
log
(
e
);
}
}
};
};
/**
* 按下按钮开门
*/
doorOpen
=
({
action
,
sense
})
=>
{
doorOpen
=
({
action
,
sense
})
=>
{
if
(
action
)
this
.
action
=
action
;
if
(
action
)
this
.
action
=
action
;
if
(
!
this
.
sense
&&
sense
)
this
.
sense
=
sense
;
if
(
!
this
.
sense
&&
sense
)
this
.
sense
=
sense
;
...
@@ -744,7 +745,7 @@ class FacePage extends Component {
...
@@ -744,7 +745,7 @@ class FacePage extends Component {
styles
.
footer
=
{...
styles
.
footer
,
backgroundColor
:
'#1b7dc7'
};
styles
.
footer
=
{...
styles
.
footer
,
backgroundColor
:
'#1b7dc7'
};
styles
.
onCall
=
{...
styles
.
onCall
,
backgroundColor
:
'#1b7dc7'
};
styles
.
onCall
=
{...
styles
.
onCall
,
backgroundColor
:
'#1b7dc7'
};
}
}
return
sleep
?
(
return
sleep
&&
!
orderDetailMini
?
(
<
Screensaver
onPress
=
{
this
.
wakeUp
}
/
>
<
Screensaver
onPress
=
{
this
.
wakeUp
}
/
>
)
:
(
)
:
(
<
View
style
=
{
styles
.
content
}
>
<
View
style
=
{
styles
.
content
}
>
...
...
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