Commit 85ec95d4 by chenxu

收银台页面优化

parent 7d5e32fc
...@@ -274,7 +274,7 @@ const styles = { ...@@ -274,7 +274,7 @@ const styles = {
left: 30, left: 30,
}, },
oddItems: { oddItems: {
height: 120, height: 200,
flexDirection: 'row', flexDirection: 'row',
alignItems: 'center', alignItems: 'center',
justifyContent: 'center', justifyContent: 'center',
...@@ -284,6 +284,8 @@ const styles = { ...@@ -284,6 +284,8 @@ const styles = {
borderRadius: 20, borderRadius: 20,
marginBottom: 20, marginBottom: 20,
elevation: 10, elevation: 10,
paddingTop: 15,
paddingBottom: 15,
}, },
footer: { footer: {
width: width, width: width,
......
...@@ -21,7 +21,7 @@ class Settles extends React.Component { ...@@ -21,7 +21,7 @@ class Settles extends React.Component {
}; };
componentDidUpdate(snapshot) { componentDidUpdate(snapshot) {
// this.listenOrder(); this.listenOrder();
} }
listenOrder = () => { listenOrder = () => {
......
...@@ -413,7 +413,7 @@ const styles = { ...@@ -413,7 +413,7 @@ const styles = {
}, },
goodsPrice: { goodsPrice: {
width: width * 0.85 * 0.3333 * 0.9, width: width * 0.85 * 0.3333 * 0.9,
height: 25, height: 50,
// textAlign: 'right', // textAlign: 'right',
paddingRight: 20, paddingRight: 20,
marginTop: 5, marginTop: 5,
......
...@@ -1035,6 +1035,7 @@ const styles = { ...@@ -1035,6 +1035,7 @@ const styles = {
header: { header: {
alignItems: 'center', alignItems: 'center',
flexDirection: 'row', flexDirection: 'row',
justifyContent: 'space-around',
backgroundColor: '#fc4000', backgroundColor: '#fc4000',
height: '6%', height: '6%',
paddingRight: width > 801 ? 40 : scaleSize(25), paddingRight: width > 801 ? 40 : scaleSize(25),
......
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