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
孙凯
7 years ago
Commit
d0a5deabb72cbc48ebcfbee53934b20744fa3274
1 parent
cea3be12
修改 UI review by daiqiang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
js/guang/components/list/ListCell.js
js/guang/components/list/ListCell.js
View file @
d0a5dea
...
...
@@ -105,10 +105,10 @@ export default class List extends Component {
<
Image
source
=
{
require
(
'../../image/shared_view_icon.png'
)}
style
=
{
styles
.
iconThumb
}
resizeMode
=
{
'contain'
}
/
>
<
Text
style
=
{
styles
.
text
}
>
{
views_num
}
<
/Text
>
<
TouchableOpacity
activeOpacity
=
{
1.0
}
style
=
{
styles
.
likeButton
}
onPress
=
{()
=>
{
this
.
props
.
onPressLike
&&
this
.
props
.
onPressLike
(
id
,
isLike
,
this
.
props
.
rowID
)}}
>
<
Image
source
=
{
likeImg
}
/
>
<
Image
source
=
{
likeImg
}
style
=
{{
width
:
16
,
height
:
16
}}
resizeMode
=
{
'contain'
}
/
>
<
/TouchableOpacity
>
<
TouchableOpacity
activeOpacity
=
{
1.0
}
style
=
{
styles
.
shareButton
}
onPress
=
{()
=>
{
this
.
props
.
onPressShare
&&
this
.
props
.
onPressShare
(
shareParam
)}}
>
<
Image
source
=
{
require
(
'../../image/shared_sharebuttom_highlighted.png'
)}
/
>
<
Image
source
=
{
require
(
'../../image/shared_sharebuttom_highlighted.png'
)}
style
=
{{
width
:
16
,
height
:
16
}}
resizeMode
=
{
'contain'
}
/
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
...
...
@@ -192,7 +192,7 @@ let styles = StyleSheet.create({
width
:
width
-
32
,
lineHeight
:
25
,
},
likeButton
:
{
likeButton
:
{
position
:
'absolute'
,
width
:
16
,
height
:
16
,
...
...
Please
register
or
login
to post a comment