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
6e092d5879a2c25e55f28abcdc2980909905c6b7
1 parent
28c312e8
xiugai bug review by daiqiang
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
js/recorder/components/brand/Brand.js
js/recorder/components/brand/BrandCell.js
js/recorder/components/brand/Brand.js
View file @
6e092d5
...
...
@@ -71,6 +71,7 @@ export default class Brand extends Component {
if
(
this
.
state
.
showFooter
)
{
return
<
Image
style
=
{
styles
.
bottomImage
}
resizeMode
=
{
'center'
}
source
=
{
require
(
'../../images/brand/shared_bottom.png'
)}
/>
;
}
...
...
@@ -141,6 +142,5 @@ let styles = StyleSheet.create({
width
,
marginTop
:
15
,
marginBottom
:
15
,
resizeMode
:
'center'
,
},
});
...
...
js/recorder/components/brand/BrandCell.js
View file @
6e092d5
...
...
@@ -132,7 +132,7 @@ export default class BrandCell extends Component{
<
View
style
=
{
styles
.
container
}
>
<
View
style
=
{
styles
.
topContainer
}
>
<
View
style
=
{
styles
.
left
}
>
<
YH_Image
style
=
{
styles
.
icon
}
url
=
{
icon
}
/
>
<
YH_Image
style
=
{
styles
.
icon
}
resizeMode
=
{
'contain'
}
url
=
{
icon
}
/
>
<
View
>
<
Text
style
=
{
styles
.
name
}
numberOfLines
=
{
1
}
>
{
data
.
get
(
'brand_name'
)}
<
/Text
>
{
this
.
renderDesc
()}
...
...
@@ -144,14 +144,14 @@ export default class BrandCell extends Component{
style
=
{
styles
.
optTouch
}
onPress
=
{
this
.
props
.
onPressLike
}
>
<
View
><
Image
style
=
{
styles
.
optIcon
}
source
=
{
heartIcon
}
/></
View
>
<
View
><
Image
style
=
{
styles
.
optIcon
}
resizeMode
=
{
'center'
}
source
=
{
heartIcon
}
/></
View
>
<
/TouchableOpacity
>
<
TouchableOpacity
activeOpacity
=
{
1
}
style
=
{
styles
.
optTouch
}
onPress
=
{
this
.
props
.
onPressHome
}
>
<
Image
style
=
{
styles
.
optIcon
}
source
=
{
homeIcon
}
/
>
<
Image
style
=
{
styles
.
optIcon
}
resizeMode
=
{
'center'
}
source
=
{
homeIcon
}
/
>
<
/TouchableOpacity
>
<
/View
>
<
/View
>
...
...
@@ -203,7 +203,6 @@ let styles = StyleSheet.create({
marginLeft
:
10
,
width
:
50
,
height
:
50
,
resizeMode
:
'contain'
,
},
name
:
{
marginTop
:
10
,
...
...
@@ -234,7 +233,6 @@ let styles = StyleSheet.create({
optIcon
:
{
width
:
38
,
height
:
38
,
resizeMode
:
'center'
,
},
rowContainer
:
{
width
:
113
,
...
...
Please
register
or
login
to post a comment