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
7e934006
Commit
7e934006
authored
Nov 02, 2020
by
zeven
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of code.vs-u.com:core-team/front/zm-face-counter into zeven
parents
019af583
288a60d1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
51 additions
and
48 deletions
+51
-48
first.jpg
src/assets/Vertical/first.jpg
+0
-0
second.jpg
src/assets/Vertical/second.jpg
+0
-0
third.jpg
src/assets/Vertical/third.jpg
+0
-0
CounterMixins.js
src/pages/CounterMixins.js
+3
-1
VerticalPage.js
src/pages/VerticalPage.js
+48
-47
No files found.
src/assets/Vertical/first.jpg
View replaced file @
019af583
View file @
7e934006
167 KB
|
W:
|
H:
172 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/Vertical/second.jpg
View replaced file @
019af583
View file @
7e934006
134 KB
|
W:
|
H:
134 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/Vertical/third.jpg
View replaced file @
019af583
View file @
7e934006
137 KB
|
W:
|
H:
151 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/pages/CounterMixins.js
View file @
7e934006
...
@@ -15,6 +15,7 @@ import Toast from '../components/Toast';
...
@@ -15,6 +15,7 @@ import Toast from '../components/Toast';
import
NP
from
'../utils/np'
;
import
NP
from
'../utils/np'
;
import
{
total
}
from
'../utils/validity'
;
import
{
total
}
from
'../utils/validity'
;
import
RedPacketModal
from
'../components/RedPacketModal'
;
import
RedPacketModal
from
'../components/RedPacketModal'
;
import
{
width
,
scaleSize
}
from
'../utils/screen'
;
window
.
RN
=
RN
;
window
.
RN
=
RN
;
window
.
Toast
=
Toast
;
window
.
Toast
=
Toast
;
...
@@ -24,11 +25,12 @@ const mStyles = {
...
@@ -24,11 +25,12 @@ const mStyles = {
...
ModalStyles
,
...
ModalStyles
,
innerContainer
:
{
innerContainer
:
{
...
ModalStyles
.
innerContainer
,
...
ModalStyles
.
innerContainer
,
width
:
777
,
width
:
width
>
777
?
777
:
scaleSize
(
900
)
,
},
},
header
:
{
header
:
{
...
ModalStyles
.
header
,
...
ModalStyles
.
header
,
fontSize
:
font
.
title
,
fontSize
:
font
.
title
,
width
:
width
>
777
?
'100%'
:
'95%'
,
},
},
};
};
...
...
src/pages/VerticalPage.js
View file @
7e934006
...
@@ -15,7 +15,7 @@ import phone from '../assets/Vertical/phone.png';
...
@@ -15,7 +15,7 @@ import phone from '../assets/Vertical/phone.png';
import
{
login
}
from
'../utils/config'
;
import
{
login
}
from
'../utils/config'
;
import
{
colors
}
from
'../utils/common'
;
import
{
colors
}
from
'../utils/common'
;
import
WxFacepay
from
'../utils/WxFacepay'
;
import
WxFacepay
from
'../utils/WxFacepay'
;
import
{
width
}
from
'../utils/screen'
;
import
{
width
,
setSpText
,
scaleSize
,
scaleHeight
}
from
'../utils/screen'
;
import
Speech
from
'../utils/Speech'
;
import
Speech
from
'../utils/Speech'
;
import
delay
from
'../utils/delay'
;
import
delay
from
'../utils/delay'
;
import
Smilepay
from
'../utils/Smilepay'
;
import
Smilepay
from
'../utils/Smilepay'
;
...
@@ -294,7 +294,12 @@ class VerticalPage extends Component {
...
@@ -294,7 +294,12 @@ class VerticalPage extends Component {
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
/View
>
<
View
style
=
{{
height
:
20
,
backgroundColor
:
'#F0F0F0'
}}
/
>
<
View
style
=
{{
height
:
width
>
801
?
20
:
scaleHeight
(
30
),
backgroundColor
:
'#F0F0F0'
,
}}
/
>
<
/View
>
<
/View
>
);
);
};
};
...
@@ -499,9 +504,12 @@ class VerticalPage extends Component {
...
@@ -499,9 +504,12 @@ class VerticalPage extends Component {
<
/View
>
<
/View
>
<
View
style
=
{{
width
:
'10%'
,
flexDirection
:
'column'
}}
>
<
View
style
=
{{
width
:
'10%'
,
flexDirection
:
'column'
}}
>
<
View
<
View
style
=
{{
height
:
width
>
801
?
81
:
77
,
backgroundColor
:
'#fff'
}}
style
=
{{
height
:
width
>
801
?
81
:
scaleHeight
(
118
),
backgroundColor
:
'#fff'
,
}}
/
>
/
>
<
View
style
=
{{
height
:
width
>
801
?
8
:
10
}}
/
>
<
View
style
=
{{
height
:
width
>
801
?
8
:
scaleHeight
(
17.1
)
}}
/
>
<
View
style
=
{
styles
.
pagination
}
>
<
View
style
=
{
styles
.
pagination
}
>
<
Touch
<
Touch
disabled
=
{
current
<=
1
}
disabled
=
{
current
<=
1
}
...
@@ -676,10 +684,10 @@ class VerticalPage extends Component {
...
@@ -676,10 +684,10 @@ class VerticalPage extends Component {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
paymentRightCode
}
>
<
View
style
=
{
styles
.
paymentRightCode
}
>
<
QRCode
<
QRCode
logoSize
=
{
width
>
801
?
50
:
40
}
logoSize
=
{
width
>
801
?
50
:
scaleSize
(
60
)
}
// logoBackgroundColor="#fc4000"
// logoBackgroundColor="#fc4000"
logo
=
{
require
(
'../assets/logo2.png'
)}
logo
=
{
require
(
'../assets/logo2.png'
)}
size
=
{
width
>
801
?
200
:
180
}
size
=
{
width
>
801
?
200
:
scaleSize
(
250
)
}
value
=
{
`
${
qrHost
||
login
}
/#/counter-order-
${
admin
.
socket
}
`
}
value
=
{
`
${
qrHost
||
login
}
/#/counter-order-
${
admin
.
socket
}
`
}
/
>
/
>
<
/View
>
<
/View
>
...
@@ -798,40 +806,30 @@ const styles = {
...
@@ -798,40 +806,30 @@ const styles = {
flexDirection
:
'row'
,
flexDirection
:
'row'
,
backgroundColor
:
'#fc4000'
,
backgroundColor
:
'#fc4000'
,
height
:
'6%'
,
height
:
'6%'
,
paddingRight
:
width
>
801
?
40
:
20
,
paddingRight
:
width
>
801
?
40
:
scaleSize
(
25
)
,
paddingLeft
:
width
>
801
?
40
:
20
,
paddingLeft
:
width
>
801
?
40
:
scaleSize
(
25
)
,
},
},
left
:
{
left
:
{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
width
:
width
>
801
?
'60%'
:
'55%'
,
width
:
width
>
801
?
'60%'
:
'55%'
,
},
},
counterText
:
{
counterText
:
{
marginLeft
:
width
>
801
?
40
:
20
,
marginLeft
:
width
>
801
?
40
:
scaleSize
(
22
)
,
marginRight
:
width
>
801
?
40
:
20
,
marginRight
:
width
>
801
?
40
:
scaleSize
(
22
)
,
},
},
right
:
{
right
:
{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
},
},
phone
:
{
phone
:
{
width
:
60
,
width
:
width
>
801
?
60
:
scaleSize
(
75
)
,
height
:
60
,
height
:
width
>
801
?
60
:
scaleSize
(
75
)
,
marginRight
:
10
,
marginRight
:
width
>
801
?
10
:
scaleSize
(
20
)
,
marginLeft
:
width
>
801
?
20
:
15
,
marginLeft
:
width
>
801
?
20
:
scaleSize
(
15
)
,
},
},
number
:
{
number
:
{
fontSize
:
45
,
fontSize
:
width
>
801
?
45
:
setSpText
(
60
)
,
color
:
'#ffffff'
,
color
:
'#ffffff'
,
},
},
navMask
:
{
width
,
height
:
'6%'
,
position
:
'absolute'
,
top
:
0
,
left
:
0
,
backgroundColor
:
'transparent'
,
alignItems
:
'center'
,
flexDirection
:
'row'
,
},
container
:
{
container
:
{
height
:
width
>
801
?
'62%'
:
'94%'
,
height
:
width
>
801
?
'62%'
:
'94%'
,
},
},
...
@@ -848,11 +846,11 @@ const styles = {
...
@@ -848,11 +846,11 @@ const styles = {
justifyContent
:
'center'
,
justifyContent
:
'center'
,
},
},
paginationText
:
{
paginationText
:
{
fontSize
:
40
,
fontSize
:
width
>
801
?
40
:
setSpText
(
50
)
,
},
},
imgPagination
:
{
imgPagination
:
{
width
:
50
,
width
:
width
>
801
?
50
:
scaleSize
(
75
)
,
height
:
50
,
height
:
width
>
801
?
50
:
scaleSize
(
75
)
,
},
},
btnHighStyle
:
{
btnHighStyle
:
{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
...
@@ -1068,7 +1066,7 @@ const styles = {
...
@@ -1068,7 +1066,7 @@ const styles = {
display
:
'flex'
,
display
:
'flex'
,
flexDirection
:
'row'
,
flexDirection
:
'row'
,
justifyContent
:
'center'
,
justifyContent
:
'center'
,
marginTop
:
10
,
marginTop
:
width
>
801
?
10
:
scaleSize
(
10
)
,
},
},
payImage
:
{
payImage
:
{
width
:
30
,
width
:
30
,
...
@@ -1131,21 +1129,23 @@ const styles = {
...
@@ -1131,21 +1129,23 @@ const styles = {
firstThStyle
:
{
firstThStyle
:
{
width
:
'40%'
,
width
:
'40%'
,
alignItems
:
'flex-start'
,
alignItems
:
'flex-start'
,
paddingTop
:
18
,
justifyContent
:
'center'
,
paddingBottom
:
18
,
paddingTop
:
width
>
801
?
18
:
scaleHeight
(
30
),
paddingLeft
:
10
,
paddingBottom
:
width
>
801
?
18
:
scaleHeight
(
30
),
paddingRight
:
10
,
paddingLeft
:
width
>
801
?
10
:
scaleSize
(
20
),
paddingRight
:
width
>
801
?
10
:
scaleSize
(
20
),
},
},
ThStyle
:
{
ThStyle
:
{
width
:
'20%'
,
width
:
'20%'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
paddingTop
:
18
,
justifyContent
:
'center'
,
paddingBottom
:
18
,
paddingTop
:
width
>
801
?
18
:
scaleHeight
(
30
),
paddingLeft
:
10
,
paddingBottom
:
width
>
801
?
18
:
scaleHeight
(
30
),
paddingRight
:
10
,
paddingLeft
:
width
>
801
?
10
:
scaleSize
(
20
),
paddingRight
:
width
>
801
?
10
:
scaleSize
(
20
),
},
},
ThText
:
{
ThText
:
{
fontSize
:
30
,
fontSize
:
setSpText
(
40
)
,
},
},
oddCell
:
{
oddCell
:
{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
...
@@ -1158,23 +1158,24 @@ const styles = {
...
@@ -1158,23 +1158,24 @@ const styles = {
firstTdStyle
:
{
firstTdStyle
:
{
width
:
'40%'
,
width
:
'40%'
,
alignItems
:
'flex-start'
,
alignItems
:
'flex-start'
,
paddingTop
:
18
,
justifyContent
:
'center'
,
paddingBottom
:
18
,
paddingTop
:
width
>
801
?
18
:
scaleHeight
(
30
),
paddingLeft
:
10
,
paddingBottom
:
width
>
801
?
18
:
scaleHeight
(
30
),
paddingRight
:
10
,
paddingLeft
:
width
>
801
?
10
:
scaleSize
(
20
),
paddingRight
:
width
>
801
?
10
:
scaleSize
(
20
),
},
},
TdStyle
:
{
TdStyle
:
{
flexDirection
:
'row'
,
flexDirection
:
'row'
,
width
:
'20%'
,
width
:
'20%'
,
alignItems
:
'center'
,
alignItems
:
'center'
,
justifyContent
:
'center'
,
justifyContent
:
'center'
,
paddingTop
:
width
>
801
?
18
:
18
,
paddingTop
:
width
>
801
?
18
:
scaleHeight
(
30
)
,
paddingBottom
:
width
>
801
?
18
:
18
,
paddingBottom
:
width
>
801
?
18
:
scaleHeight
(
30
)
,
paddingLeft
:
10
,
paddingLeft
:
width
>
801
?
10
:
scaleSize
(
20
)
,
paddingRight
:
10
,
paddingRight
:
width
>
801
?
10
:
scaleSize
(
20
)
,
},
},
TdText
:
{
TdText
:
{
fontSize
:
25
,
fontSize
:
width
>
801
?
25
:
setSpText
(
30
)
,
},
},
explain
:
{
explain
:
{
display
:
'flex'
,
display
:
'flex'
,
...
...
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