Commit b308e370 by 黄日华

待机页面添加输入条码按钮

parent fc72d23f
...@@ -682,16 +682,39 @@ class VerticalPage extends Component { ...@@ -682,16 +682,39 @@ class VerticalPage extends Component {
<Image style={styles.Imageee} source={guide} /> <Image style={styles.Imageee} source={guide} />
</View> </View>
<View style={styles.guardModal_button}> <View style={styles.guardModal_button}>
<Touch onPress={() => this.onCall()}> <View
<View style={styles.guardModal_button_call}> style={{
<Text style={styles.callText}>呼叫客服</Text> display: 'flex',
</View> flexDirection: 'row',
</Touch> justifyContent: 'center',
<Touch onPress={() => this.shownoBuyModal()}> alignItems: 'center',
<View style={styles.guardModal_button_nobuy}> }}>
<Text style={styles.callText}>无购物出店</Text> <Touch onPress={() => this.onCall()}>
</View> <View style={styles.guardModal_button_call}>
</Touch> <Text style={styles.callText}>呼叫客服</Text>
</View>
</Touch>
<Touch onPress={() => this.shownoBuyModal()}>
<View style={styles.guardModal_button_nobuy}>
<Text style={styles.callText}>无购物出店</Text>
</View>
</Touch>
</View>
<View
style={{
marginTop: '5%',
display: 'flex',
flexDirection: 'row',
justifyContent: 'flex-end',
alignItems: 'center',
}}>
<View style={[styles.guardModal_button_call, {opacity: 0}]} />
<Touch onPress={() => this.props.handleBarcode()}>
<View style={styles.guardModal_button_nobuy}>
<Text style={styles.callText}>输入条码</Text>
</View>
</Touch>
</View>
</View> </View>
</View> </View>
) : null} ) : null}
...@@ -1746,20 +1769,20 @@ const styles = { ...@@ -1746,20 +1769,20 @@ const styles = {
backgroundColor: '#0C0C0C', backgroundColor: '#0C0C0C',
}, },
guardModal_image: { guardModal_image: {
height: '70%', height: '65%',
width: '100%', width: '100%',
display: 'flex', display: 'flex',
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
}, },
Imageee: { Imageee: {
minHeight: '65%', minHeight: '60%',
}, },
guardModal_button: { guardModal_button: {
height: '30%', height: '35%',
width: '100%', width: '100%',
display: 'flex', display: 'flex',
flexDirection: 'row', flexDirection: 'column',
justifyContent: 'center', justifyContent: 'center',
alignItems: 'center', alignItems: 'center',
}, },
......
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