Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
YH_RNComponent
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
孙凯
7 years ago
Commit
b1003f69e0fd125c2696991e83955bc92989effe
2 parents
3a545417
2ab322c6
Merge branch '7.1.8' into 7.3.0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
28 deletions
js/alliance/components/BankCard.js
js/alliance/components/SureBankCardModal.js
js/alliance/components/WithdrawModal.js
js/alliance/components/BankCard.js
View file @
b1003f6
...
...
@@ -36,22 +36,6 @@ export default class BankCard extends Component {
this
.
subscription
.
remove
();
}
getCardNo
(){
let
cardNo
=
this
.
props
.
bankCardInfo
.
bankCardNo
;
if
(
cardNo
&&
cardNo
.
length
>
11
){
let
sub
=
cardNo
.
substring
(
11
);
let
cardNoNew
=
sub
.
substring
(
0
,
1
)
+
" "
;
for
(
var
i
=
1
;
i
<
sub
.
length
;
i
++
)
{
cardNoNew
+=
sub
[
i
];
if
(
i
%
4
===
0
){
cardNoNew
+=
" "
;
}
}
cardNo
=
cardNoNew
;
}
return
cardNo
;
}
checkInfo
(){
let
name
=
this
.
state
.
name
;
...
...
@@ -94,7 +78,6 @@ export default class BankCard extends Component {
<
TextInput
ref
=
"nameInput"
style
=
{[
styles
.
wordText
,
{
width
:
200
,
color
:
'#444444'
}]}
maxLength
=
{
4
}
placeholder
=
"请输入持卡人姓名"
placeholderTextColor
=
'#b0b0b0'
underlineColorAndroid
=
'transparent'
...
...
@@ -104,7 +87,7 @@ export default class BankCard extends Component {
<
View
style
=
{
styles
.
inputView
}
>
<
Text
style
=
{[
styles
.
wordText
,
{
width
:
76
,
color
:
'#444444'
}]}
>
身份证号
<
/Text
>
<
TextInput
ref
=
"
name
Input"
ref
=
"
id
Input"
style
=
{[
styles
.
wordText
,
{
width
:
200
,
color
:
'#444444'
}]}
maxLength
=
{
18
}
placeholder
=
"请输入身份证号"
...
...
@@ -130,7 +113,7 @@ export default class BankCard extends Component {
<
View
style
=
{
styles
.
inputView
}
>
<
Text
style
=
{[
styles
.
wordText
,
{
width
:
76
,
color
:
'#444444'
}]}
>
银行卡号
<
/Text
>
<
TextInput
ref
=
"
name
Input"
ref
=
"
card
Input"
style
=
{[
styles
.
wordText
,
{
width
:
200
,
color
:
'#444444'
}]}
maxLength
=
{
19
}
placeholder
=
"请输入银行卡号"
...
...
@@ -187,10 +170,10 @@ export default class BankCard extends Component {
<
View
style
=
{
styles
.
contentContainer
}
>
<
Text
style
=
{[
styles
.
bankText
,
{
marginTop
:
20
,
marginLeft
:
20
}]}
>
{
bankCardInfo
.
bankName
}
<
/Text
>
<
View
style
=
{
styles
.
infoView
}
>
<
Text
style
=
{[
styles
.
bankText
,
{
height
:
29
,
paddingTop
:
2
,
fontSize
:
24
,
textAlign
:
'center'
}]}
>****
<
/Text
>
<
Text
style
=
{[
styles
.
bankText
,
{
height
:
29
,
paddingTop
:
2
,
fontSize
:
24
,
textAlign
:
'center'
}]}
>****
<
/Text
>
<
Text
style
=
{[
styles
.
bankText
,
{
height
:
29
,
paddingTop
:
2
,
fontSize
:
24
,
textAlign
:
'center'
}]}
>***<
/Text
>
<
Text
style
=
{[
styles
.
bankText
,
{
fontSize
:
24
,
textAlign
:
'center'
}]}
>
{
this
.
getCardNo
()}
<
/Text
>
<
Text
style
=
{[
styles
.
bankText
,
{
height
:
29
,
paddingTop
:
2
,
marginRight
:
20
,
fontSize
:
24
,
textAlign
:
'center'
}]}
>****<
/Text
>
<
Text
style
=
{[
styles
.
bankText
,
{
height
:
29
,
paddingTop
:
2
,
marginRight
:
20
,
fontSize
:
24
,
textAlign
:
'center'
}]}
>****<
/Text
>
<
Text
style
=
{[
styles
.
bankText
,
{
height
:
29
,
paddingTop
:
2
,
marginRight
:
20
,
fontSize
:
24
,
textAlign
:
'center'
}]}
>****<
/Text
>
<
Text
style
=
{[
styles
.
bankText
,
{
fontSize
:
24
,
textAlign
:
'center'
}]}
>
{
bankCardInfo
.
bankCardNo
}
<
/Text
>
<
/View
>
<
Text
style
=
{[
styles
.
wordText
,
{
marginTop
:
20
,
marginLeft
:
20
}]}
>
持卡人:
{
bankCardInfo
.
name
}
<
/Text
>
<
/View
>
...
...
@@ -198,8 +181,7 @@ export default class BankCard extends Component {
<
TouchableOpacity
activeOpacity
=
{
0.5
}
onPress
=
{()
=>
{
Linking
.
openURL
(
'tel:400-889-9646'
)
}}
>
<
Text
style
=
{[
styles
.
wordText
,
{
color
:
'#D0021B'
,
marginTop
:
7
}]}
>
400
-
889
-
9646
<
/Text
>
<
View
style
=
{{
height
:
1
,
backgroundColor
:
'#D0021B'
,
width
:
89
,
marginTop
:
-
4
}}
/
>
<
Text
style
=
{[
styles
.
wordText
,
{
color
:
'#D0021B'
,
marginTop
:
7
,
textDecorationLine
:
'underline'
}]}
>
400
-
889
-
9646
<
/Text
>
<
/TouchableOpacity
>
<
/View
>
:
this
.
renderUnBind
()
...
...
js/alliance/components/SureBankCardModal.js
View file @
b1003f6
...
...
@@ -31,7 +31,7 @@ export default class SureBankCardModal extends React.Component {
<
View
style
=
{
styles
.
modalView
}
>
<
View
style
=
{
styles
.
confirmTitleContainer
}
>
<
Text
style
=
{[
styles
.
sure
,
{
marginTop
:
20
}]}
>
提示
<
/Text
>
<
Text
style
=
{
styles
.
confirmContent
}
>
请确认您填写的银行信息,提交后只能致电客服修改
<
/Text
>
<
Text
style
=
{
[
styles
.
confirmContent
,
{
marginTop
:
8
}]
}
>
请确认您填写的银行信息,提交后只能致电客服修改
<
/Text
>
<
/View
>
<
Text
style
=
{
styles
.
confirmInfo
}
>
持卡人:
{
this
.
props
.
checkBankCardResult
.
name
}
<
/Text
>
<
Text
style
=
{
styles
.
confirmInfo
}
>
身份证号:
{
this
.
props
.
checkBankCardResult
.
idCardNo
}
<
/Text
>
...
...
js/alliance/components/WithdrawModal.js
View file @
b1003f6
...
...
@@ -30,8 +30,7 @@ export default class WithdrawModal extends React.Component {
<
View
style
=
{
styles
.
modalView
}
>
<
View
style
=
{
styles
.
confirmTitleContainer
}
>
<
Text
style
=
{
styles
.
confirmTitle
}
>
申请提现成功
<
/Text
>
<
Text
style
=
{
styles
.
confirmContent
}
>
提现金额到帐时间为提现申请日期后
3
-
5
个工作日,节假日顺延。
{
"\r\n"
}
重要:内测期间没有向客服提供过银行卡的用户,请致电
400
-
889
-
9646
提供银行卡信息,否则无法提现!
<
/Text
>
<
Text
style
=
{
styles
.
confirmContent
}
>
提现金额到帐时间为提现申请日期后
3
-
5
个工作日,节假日顺延。
<
/Text
>
<
/View
>
<
View
style
=
{{
width
:
'100%'
,
height
:
0.5
,
backgroundColor
:
'#e0e0e0'
}}
/
>
<
View
style
=
{
styles
.
confirmBtnContainer
}
>
...
...
Please
register
or
login
to post a comment