|
|
'use strict';
|
|
|
|
|
|
import React, {Component} from 'react';
|
|
|
import {DeviceEventEmitter, Dimensions, Image, StyleSheet, Text, TextInput, TouchableOpacity, View, Linking} from 'react-native';
|
|
|
import {DeviceEventEmitter, Dimensions, Image, StyleSheet, Text, TextInput, TouchableOpacity, View, Linking, Platform} from 'react-native';
|
|
|
import SureBankCardModal from "./SureBankCardModal";
|
|
|
|
|
|
|
...
|
...
|
@@ -98,12 +98,13 @@ export default class BankCard extends Component { |
|
|
<View style={styles.lineView}/>
|
|
|
<View style={styles.inputView}>
|
|
|
<Text style={[styles.wordText, {width: 76, color: '#444444'}]}>开户行</Text>
|
|
|
<TouchableOpacity style={{flexDirection: 'row', height: 44, alignItems: 'center',}} activeOpacity={0.8}
|
|
|
<TouchableOpacity style={{flexDirection: 'row', height: 44, alignItems: 'center'}} activeOpacity={0.8}
|
|
|
onPress={() => {
|
|
|
this.props.jumpWithUrl && this.props.jumpWithUrl('开户行', 'bankList');
|
|
|
}}>
|
|
|
<Text style={[styles.wordText, {
|
|
|
width: 260, paddingLeft: 12,
|
|
|
width: width-124,
|
|
|
paddingLeft: Platform.OS === 'ios' ? 0 : 12,
|
|
|
color: this.state.bankName === '' ? '#b0b0b0' : '#444444'
|
|
|
}]}>{this.state.bankName === '' ? '请选择开户行' : this.state.bankName}</Text>
|
|
|
<Image style={styles.arrowImage} source={require('../images/arrow.png')}/>
|
...
|
...
|
|