import React, {Component} from 'react'; import {View, StyleSheet} from 'react-native'; import MyTitle from '../MyTitle'; import MyButton from '../MyButton'; import MyRecord from '../MyRecord'; class RangePKRecord extends Component { constructor() { super(); } componentDidMount() { this.props.navigation.setOptions({ headerBackVisible: false, }); } confirm = () => { this.props.navigation.navigate('联网自习'); }; render() { const {numberTop, numberCentre, numberBottom, range} = this.props.route.params; return ( ); } } const styles = StyleSheet.create({ container: { backgroundColor: '#F2E2CE', flex: 1, }, myTitle: { containerStyle: { flex: 1, }, }, myRecord: { containerStyle: { flex: 3, }, }, myButton: { buttonEnabled: { backgroundColor: '#e1c2a1', borderColor: '#bf7636', }, buttonStyle: { width: '60%', borderRadius: 10, borderWidth: 3, }, }, }); export default RangePKRecord;