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
Email Patches
Plain Diff
Browse Files
Authored by
张文文
6 years ago
Commit
ed0bce3a74d04dfc7cba3fedbc378349fc7e6194
1 parent
dfb79222
ui fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
16 deletions
js/alliance/components/NameAuthen.js
js/alliance/components/WithdrawalRecord.js
js/alliance/components/NameAuthen.js
View file @
ed0bce3
...
...
@@ -67,7 +67,7 @@ export default class NameAuthen extends Component {
let
imageUrl
=
isBack
?
this
.
state
.
backIDCardImageUri
:
this
.
state
.
frontIDCardImageUri
;
let
hasImage
=
imageUrl
.
length
>
0
?
true
:
false
;
return
(
<
View
style
=
{
styles
.
renderIDCardAddCellImage
}
>
<
View
style
=
{
[
styles
.
renderIDCardAddCellImage
]
}
>
<
TouchableOpacity
activeOpacity
=
{
1.0
}
onPress
=
{()
=>
{
if
(
!
hasImage
){
...
...
@@ -78,9 +78,9 @@ export default class NameAuthen extends Component {
}
}}
>
{
hasImage
?
<
YH_Image
resizeMode
=
"contain"
url
=
{
imageUrl
}
style
=
{
styles
.
leftV
iewImage
}
/
>
<
YH_Image
resizeMode
=
"contain"
url
=
{
imageUrl
}
style
=
{
styles
.
v
iewImage
}
/
>
:
<
Image
resizeMode
=
{
'contain'
}
source
=
{
addImage
}
style
=
{
isBack
?
styles
.
rightViewImage
:
styles
.
leftV
iewImage
}
/
>
<
Image
resizeMode
=
{
'contain'
}
source
=
{
addImage
}
style
=
{
styles
.
v
iewImage
}
/
>
}
<
/TouchableOpacity
>
<
TouchableOpacity
hitSlop
=
{{
top
:
3
,
left
:
3
,
bottom
:
3
,
right
:
3
}}
activeOpacity
=
{
1.0
}
style
=
{
styles
.
addImageClose
}
...
...
@@ -318,27 +318,21 @@ let styles = StyleSheet.create({
renderIDCardAddDetailCell
:
{
flexDirection
:
'row'
,
marginTop
:
15
,
marginLeft
:
15
,
marginRight
:
15
,
marginLeft
:
5
,
marginRight
:
5
,
justifyContent
:
'center'
,
alignItems
:
'center'
,
},
renderIDCardAddCellImage
:
{
width
:
(
width
-
30
)
/
2
,
},
leftViewImage
:
{
width
:
(
width
-
50
)
/
2
,
height
:
101
,
marginTop
:
5
,
marginLeft
:
0
,
backgroundColor
:
'transparent'
,
width
:
(
width
-
10
)
/
2
,
},
rightViewImage
:
{
viewImage
:
{
width
:
(
width
-
50
)
/
2
,
height
:
101
,
marginTop
:
5
,
marginLeft
:
10
,
backgroundColor
:
'transparent'
marginRight
:
10
,
backgroundColor
:
'transparent'
,
},
addImage
:
{
height
:
30
,
...
...
@@ -349,7 +343,7 @@ let styles = StyleSheet.create({
height
:
16
,
width
:
16
,
top
:
0
,
left
:
(
width
-
50
)
/
2
-
6
,
left
:
(
width
-
50
)
/
2
+
2
,
},
renderIDCardSampleCellImage
:
{
width
:
(
width
-
30
)
/
2
,
...
...
js/alliance/components/WithdrawalRecord.js
View file @
ed0bce3
...
...
@@ -205,6 +205,7 @@ let styles = StyleSheet.create({
color
:
'#444444'
,
backgroundColor
:
'transparent'
,
textAlign
:
'left'
,
lineHeight
:
23
,
},
uploadButton
:
{
width
:
80
,
...
...
Please
register
or
login
to post a comment