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
chenl
8 years ago
Commit
0d287ce19efdef039addf15921188cb20e48b1b9
1 parent
88e3cbdd
调整了三级分类的文字样式。review by shixiang。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
js/classify/components/categoryB/HotCategoryList.js
js/classify/components/categoryB/HotCategoryList.js
View file @
0d287ce
...
...
@@ -77,7 +77,7 @@ export default class HotCategoryList extends Component{
<
TouchableOpacity
activeOpacity
=
{
1
}
onPress
=
{()
=>
this
.
props
.
onPressHotCategoryItem
&&
this
.
props
.
onPressHotCategoryItem
(
rowData
.
toJS
(),
rowID
)}
>
<
View
style
=
{
styles
.
rowContainer
}
>
<
Image
style
=
{
styles
.
rowThumbnail
}
source
=
{{
uri
:
imageUrl
}}
/
>
<
Text
style
=
{
styles
.
rowText
}
numberOfLines
=
{
1
}
>
{
rowData
.
get
(
"category_name"
)}
<
/Text
>
<
View
style
=
{
styles
.
rowTextContainer
}
><
Text
style
=
{
styles
.
rowText
}
numberOfLines
=
{
2
}
>
{
rowData
.
get
(
"category_name"
)}
<
/Text></
View
>
<
/View
>
<
/TouchableOpacity
>
);
...
...
@@ -119,7 +119,7 @@ let styles = StyleSheet.create({
flexDirection
:
'row'
,
flexWrap
:
'wrap'
,
alignItems
:
'center'
,
backgroundColor
:
'#f
dfbff
'
,
backgroundColor
:
'#f
5f7f6
'
,
},
headerContainer
:{
...
...
@@ -168,7 +168,7 @@ let styles = StyleSheet.create({
rowContainer
:{
width
:
70
*
DEVICE_WIDTH_RATIO
,
height
:
70
*
DEVICE_WIDTH_RATIO
,
height
:
83
*
DEVICE_WIDTH_RATIO
,
paddingLeft
:
8.5
*
DEVICE_WIDTH_RATIO
,
paddingRight
:
8.5
*
DEVICE_WIDTH_RATIO
,
justifyContent
:
'center'
,
...
...
@@ -180,9 +180,13 @@ let styles = StyleSheet.create({
height
:
55
*
DEVICE_WIDTH_RATIO
,
},
rowText
:{
rowText
Container
:{
width
:
53
*
DEVICE_WIDTH_RATIO
,
height
:
15
*
DEVICE_WIDTH_RATIO
,
height
:
28
*
DEVICE_WIDTH_RATIO
,
marginTop
:
2
*
DEVICE_WIDTH_RATIO
,
},
rowText
:{
fontSize
:
9
*
DEVICE_WIDTH_RATIO
,
color
:
'#B0B0B0'
,
textAlign
:
'center'
,
...
...
Please
register
or
login
to post a comment