Commit bd3f6747 by 黄日华

收银机程序样修改,扫码支付添加支付宝图标

parent 2e1d9698
...@@ -35,6 +35,7 @@ const styles = { ...@@ -35,6 +35,7 @@ const styles = {
backgroundColor: 'white', backgroundColor: 'white',
alignItems: 'center', alignItems: 'center',
elevation: 10, elevation: 10,
background: '#f5f5f5',
}, },
titleImg: { titleImg: {
width: scaleSize(150), width: scaleSize(150),
...@@ -47,7 +48,7 @@ const styles = { ...@@ -47,7 +48,7 @@ const styles = {
}, },
container: { container: {
flex: 1, flex: 1,
backgroundColor: '#F5F5F5', backgroundColor: '#ffffff',
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
}, },
......
...@@ -7,7 +7,7 @@ class Placeholder extends Component { ...@@ -7,7 +7,7 @@ class Placeholder extends Component {
render() { render() {
return ( return (
<HomeLayout> <HomeLayout>
<View style={styles.container}> <View style={styles.main}>
<Image source={require('../assets/Vertical/face.gif')} /> <Image source={require('../assets/Vertical/face.gif')} />
<Text style={styles.text}>正在授权设备,请确保网络连接正常~</Text> <Text style={styles.text}>正在授权设备,请确保网络连接正常~</Text>
</View> </View>
...@@ -17,11 +17,11 @@ class Placeholder extends Component { ...@@ -17,11 +17,11 @@ class Placeholder extends Component {
} }
const styles = { const styles = {
container: { main: {
flex: 1, flex: 1,
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
background: 'white', background: '#ffffff',
}, },
img: { img: {
width: '100%', width: '100%',
......
...@@ -1102,16 +1102,16 @@ class VerticalPage extends Component { ...@@ -1102,16 +1102,16 @@ class VerticalPage extends Component {
<View style={styles.paymentRightContents}> <View style={styles.paymentRightContents}>
<Text style={styles.paymentRightText}>扫码</Text> <Text style={styles.paymentRightText}>扫码</Text>
<Text style={styles.paymentRightText}>支付</Text> <Text style={styles.paymentRightText}>支付</Text>
{/*<Image*/}
{/* source={require('../assets/Vertical/alipay01.png')}*/}
{/* style={styles.paymentRightImage}*/}
{/* alt=""*/}
{/*/>*/}
<Image <Image
source={require('../assets/Vertical/wx.png')} source={require('../assets/Vertical/wx.png')}
style={styles.paymentRightImage} style={styles.paymentRightImage}
alt="" alt=""
/> />
<Image
source={require('../assets/Vertical/alipay01.png')}
style={styles.paymentRightImage}
alt=""
/>
</View> </View>
<View style={styles.paymentRightCode}> <View style={styles.paymentRightCode}>
<QRCode <QRCode
...@@ -1326,8 +1326,8 @@ const styles = { ...@@ -1326,8 +1326,8 @@ const styles = {
width: width > 801 ? '60%' : '55%', width: width > 801 ? '60%' : '55%',
}, },
logo: { logo: {
width: width > 801 ? 135 : scaleSize(100), width: width > 801 ? 150 : scaleSize(110),
height: width > 801 ? 135 : scaleSize(100), height: width > 801 ? 150 : scaleSize(110),
}, },
counterText: { counterText: {
marginLeft: width > 801 ? 40 : scaleSize(22), marginLeft: width > 801 ? 40 : scaleSize(22),
...@@ -1628,6 +1628,7 @@ const styles = { ...@@ -1628,6 +1628,7 @@ const styles = {
paymentRightContents: { paymentRightContents: {
display: 'flex', display: 'flex',
flexDirection: 'column', flexDirection: 'column',
alignItems: 'center',
marginRight: width > 801 ? 40 : 10, marginRight: width > 801 ? 40 : 10,
}, },
paymentRightText: { paymentRightText: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment