import ScrollableTabView, {DefaultTabBar} from 'react-native-scrollable-tab-view';
<View style={styles.container}>
<ScrollableTabView
locked={false}
// initialPage={1}
style={
{flex:1}}
renderTabBar={() =>
<CustomTabBar
backgroundColor={'#3c6df0'}
activeTextColor={'#ffffff'}
inactiveTextColor={'#e8e8e8'}
textStyle={
{fontSize: p(30),}}
imagesUrl={'shaixuanwhite'}
action={()=>this.props.navigation.goBack()}
{...this.props}
/>}
>
<SubscriptionOrder tabLabel={'德玛西亚'} {...this.props}/>
<TransferOrder tabLabel={'诺克萨斯'} {...this.props}/>
</ScrollableTabView>
</View>
import {Image, Platform, TouchableOpacity} from "react-native";
const React = require('react');
const {ViewPropTypes} = ReactNative = require('react-native');
const PropTypes = require('prop-types');
const createReactClass = require('create-react-