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
bd3f6747
Commit
bd3f6747
authored
Nov 03, 2023
by
黄日华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收银机程序样修改,扫码支付添加支付宝图标
parent
2e1d9698
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
HomeLayout.js
src/components/HomeLayout.js
+2
-1
Placeholder.js
src/components/Placeholder.js
+3
-3
VerticalPage.js
src/pages/VerticalPage.js
+8
-7
No files found.
src/components/HomeLayout.js
View file @
bd3f6747
...
...
@@ -35,6 +35,7 @@ const styles = {
backgroundColor
:
'white'
,
alignItems
:
'center'
,
elevation
:
10
,
background
:
'#f5f5f5'
,
},
titleImg
:
{
width
:
scaleSize
(
150
),
...
...
@@ -47,7 +48,7 @@ const styles = {
},
container
:
{
flex
:
1
,
backgroundColor
:
'#
F5F5F5
'
,
backgroundColor
:
'#
ffffff
'
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
},
...
...
src/components/Placeholder.js
View file @
bd3f6747
...
...
@@ -7,7 +7,7 @@ class Placeholder extends Component {
render
()
{
return
(
<
HomeLayout
>
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
main
}
>
<
Image
source
=
{
require
(
'../assets/Vertical/face.gif'
)}
/
>
<
Text
style
=
{
styles
.
text
}
>
正在授权设备,请确保网络连接正常
~<
/Text
>
<
/View
>
...
...
@@ -17,11 +17,11 @@ class Placeholder extends Component {
}
const
styles
=
{
container
:
{
main
:
{
flex
:
1
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
background
:
'
white
'
,
background
:
'
#ffffff
'
,
},
img
:
{
width
:
'100%'
,
...
...
src/pages/VerticalPage.js
View file @
bd3f6747
...
...
@@ -1102,16 +1102,16 @@ class VerticalPage extends Component {
<
View
style
=
{
styles
.
paymentRightContents
}
>
<
Text
style
=
{
styles
.
paymentRightText
}
>
扫码
<
/Text
>
<
Text
style
=
{
styles
.
paymentRightText
}
>
支付
<
/Text
>
{
/*<Image*/
}
{
/* source={require('../assets/Vertical/alipay01.png')}*/
}
{
/* style={styles.paymentRightImage}*/
}
{
/* alt=""*/
}
{
/*/>*/
}
<
Image
source
=
{
require
(
'../assets/Vertical/wx.png'
)}
style
=
{
styles
.
paymentRightImage
}
alt
=
""
/>
<
Image
source
=
{
require
(
'../assets/Vertical/alipay01.png'
)}
style
=
{
styles
.
paymentRightImage
}
alt
=
""
/>
<
/View
>
<
View
style
=
{
styles
.
paymentRightCode
}
>
<
QRCode
...
...
@@ -1326,8 +1326,8 @@ const styles = {
width
:
width
>
801
?
'60%'
:
'55%'
,
},
logo
:
{
width
:
width
>
801
?
1
35
:
scaleSize
(
10
0
),
height
:
width
>
801
?
1
35
:
scaleSize
(
10
0
),
width
:
width
>
801
?
1
50
:
scaleSize
(
11
0
),
height
:
width
>
801
?
1
50
:
scaleSize
(
11
0
),
},
counterText
:
{
marginLeft
:
width
>
801
?
40
:
scaleSize
(
22
),
...
...
@@ -1628,6 +1628,7 @@ const styles = {
paymentRightContents
:
{
display
:
'flex'
,
flexDirection
:
'column'
,
alignItems
:
'center'
,
marginRight
:
width
>
801
?
40
:
10
,
},
paymentRightText
:
{
...
...
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