姓名去除长度限制 --review by 孙凯
Showing
1 changed file
with
2 additions
and
3 deletions
@@ -78,7 +78,6 @@ export default class BankCard extends Component { | @@ -78,7 +78,6 @@ export default class BankCard extends Component { | ||
78 | <TextInput | 78 | <TextInput |
79 | ref="nameInput" | 79 | ref="nameInput" |
80 | style={[styles.wordText, {width: 200, color: '#444444'}]} | 80 | style={[styles.wordText, {width: 200, color: '#444444'}]} |
81 | - maxLength={4} | ||
82 | placeholder="请输入持卡人姓名" | 81 | placeholder="请输入持卡人姓名" |
83 | placeholderTextColor='#b0b0b0' | 82 | placeholderTextColor='#b0b0b0' |
84 | underlineColorAndroid='transparent' | 83 | underlineColorAndroid='transparent' |
@@ -88,7 +87,7 @@ export default class BankCard extends Component { | @@ -88,7 +87,7 @@ export default class BankCard extends Component { | ||
88 | <View style={styles.inputView}> | 87 | <View style={styles.inputView}> |
89 | <Text style={[styles.wordText, {width: 76, color: '#444444'}]}>身份证号</Text> | 88 | <Text style={[styles.wordText, {width: 76, color: '#444444'}]}>身份证号</Text> |
90 | <TextInput | 89 | <TextInput |
91 | - ref="nameInput" | 90 | + ref="idInput" |
92 | style={[styles.wordText, {width: 200, color: '#444444'}]} | 91 | style={[styles.wordText, {width: 200, color: '#444444'}]} |
93 | maxLength={18} | 92 | maxLength={18} |
94 | placeholder="请输入身份证号" | 93 | placeholder="请输入身份证号" |
@@ -114,7 +113,7 @@ export default class BankCard extends Component { | @@ -114,7 +113,7 @@ export default class BankCard extends Component { | ||
114 | <View style={styles.inputView}> | 113 | <View style={styles.inputView}> |
115 | <Text style={[styles.wordText, {width: 76, color: '#444444'}]}>银行卡号</Text> | 114 | <Text style={[styles.wordText, {width: 76, color: '#444444'}]}>银行卡号</Text> |
116 | <TextInput | 115 | <TextInput |
117 | - ref="nameInput" | 116 | + ref="cardInput" |
118 | style={[styles.wordText, {width: 200, color: '#444444'}]} | 117 | style={[styles.wordText, {width: 200, color: '#444444'}]} |
119 | maxLength={19} | 118 | maxLength={19} |
120 | placeholder="请输入银行卡号" | 119 | placeholder="请输入银行卡号" |
-
Please register or login to post a comment