Commit 67b80973 by 王崇仁

更改了微信刷脸的页面兼容

parent 6ec71c7e
......@@ -5,7 +5,7 @@ import MIcon from 'react-native-vector-icons/MaterialCommunityIcons';
import ModalStyles from './Modal/styles';
import {colors, font} from '../utils/common';
import Touch from './Touch';
import phone from '../assets/Vertical/phone.png';
import close from '../assets/Vertical/close.png';
import {setSpText, scaleSize} from '../utils/screen';
const mStyles = {
......@@ -100,8 +100,7 @@ class PhoneModal extends Component {
<Touch onPress={() => onCall()}>
<View style={styles.right}>
{/*<Icon name="md-close" color={'#FFFFFF'} size={50} />*/}
<Text style={styles.text}>呼叫客服</Text>
<Image style={styles.phone} source={phone} />
<Image style={styles.close} source={close} />
</View>
</Touch>
</View>
......@@ -251,6 +250,12 @@ const styles = {
marginRight: scaleSize(10),
resizeMode: 'contain',
},
close: {
width: scaleSize(60),
height: scaleSize(60),
marginRight: scaleSize(10),
resizeMode: 'contain',
},
image: {
flex: 1,
flexDirection: 'row',
......
......@@ -5,7 +5,7 @@ import MIcon from 'react-native-vector-icons/MaterialCommunityIcons';
import ModalStyles from './Modal/styles';
import {colors, font} from '../utils/common';
import Touch from './Touch';
import phone from '../assets/Vertical/phone.png';
import close from '../assets/Vertical/close.png';
import {setSpText, scaleSize} from '../utils/screen';
const mStyles = {
......@@ -109,8 +109,7 @@ class VerifyCodeModal extends Component {
<Touch onPress={() => onCall()}>
<View style={styles.right}>
{/*<Icon name="md-close" color={'#FFFFFF'} size={50} />*/}
<Text style={styles.text}>呼叫客服</Text>
<Image style={styles.phone} source={phone} />
<Image style={styles.phone} source={close} />
</View>
</Touch>
</View>
......
......@@ -509,14 +509,14 @@ class FacePage extends Component {
<PhoneModal
visible={phoneModal}
transparent
onCall={this.onCall}
onCall={() => this.setState({phoneModal: false})}
onSubmit={this.onSubmit}
faceType={faceType}
/>
<VerifyCodeModal
visible={verifyCodeModal}
transparent
onCall={this.onCall}
onCall={() => this.setState({verifyCodeModal: false})}
onSubmit={this.onCodeSubmit}
faceType={faceType}
/>
......
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