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
0bdfa4f6f27202c848a4d40ce0ca7de12affd0fc
1 parent
1a469781
master
...
6.7.0_0.49
6.7.1_0.49
6.7.4_0.49
6.7.5_0.49
6.8.7_message
6.9.5_msg
6.9.9_invite
V0125_Date
V1115_Date
V1130_Date
V1217_Date
V1230_Date
V6.10.1
V6.10.2
V6.7.9_dev
V6.8.6
V6.8.7
V6.8.7_upgrades
V6.8.9
V6.9.1
V6.9.2
V6.9.3
V6.9.5
V6.9.6
V6.9.6_Alliance
V6.9.7
V6.9.8
V6.9.8_shoudan
V6.9.9
V9.30_Date
exception
feature/rn_update61
gerry/v6.9.14_panicBuying
gerry/v6.9.16_bugfixed
v6.10.0
v6.9.10
v6.9.11
v6.9.12
v6.9.13
v6.9.14
v6.9.16
v6.9.17
v6.9.19
v6.9.20
v6.9.21
v6.9.22
v6.9.24
6.9.8
6.9.7
6.9.6
6.9.4
6.9.2
6.9.1
6.8.9
6.8.8
6.8.4
6.8.3
6.8.2
6.7.9
6.7.8
6.7.7
6.6.4
5.5.1
5.4.1
5.4
v6.7.5
v6.7.1
v6.2.0
v6.1.0
v5.6.2
v5.6.0
v5.5.2
v5.5.0
v5.4.1
v5.4.0
ios-qrcode-5.3.1-20161230
ios-dp-5.2.0-20161129
ios-dp-5.2.0-20161128
ios-classify-5.3.0-2016122101
ios-5.4.0
iOS-dp-5.2.0
android-dp-5.2.0-20161201
android-dp-5.2.0-20161128
android-classify-5.3.0-2016122801
V6.8.6
V6.8.5
V6.8.1
调整了筛选的UI样式 review by 于良
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
17 deletions
js/brandStore/components/brandStore/brandStoreSubView/Cells/ProductCategoryList.js
js/brandStore/image/filter_category_select_icon@2x.png
js/brandStore/image/filter_category_select_icon@3x.png
js/brandStore/reducers/brandStore/brandStoreInitialState.js
js/brandStore/components/brandStore/brandStoreSubView/Cells/ProductCategoryList.js
View file @
0bdfa4f
...
...
@@ -45,6 +45,7 @@ export default class ProductCategoryList extends React.Component {
}
leftRenderRow
(
rowData
,
sectionID
,
rowID
,
highlightRow
)
{
let
selectText
=
this
.
props
.
filterNameFactors
.
get
(
rowData
.
get
(
'key'
));
let
arrow
=
rowData
.
get
(
'isSelect'
)
?
<
Image
style
=
{
styles
.
arrow
}
source
=
{
require
(
'../../../../image/filter_category_select_icon.png'
)}
/> : null
;
return
(
...
...
@@ -53,7 +54,7 @@ export default class ProductCategoryList extends React.Component {
<
View
style
=
{
styles
.
leftRowText
}
>
<
Text
style
=
{
styles
.
title
}
numberOfLines
=
{
1
}
>
{
rowData
.
get
(
'name'
)}
{
rowData
.
get
(
'name'
)}
:{
" "
+
selectText
}
<
/Text
>
{
arrow
}
<
/View
>
...
...
@@ -101,7 +102,8 @@ export default class ProductCategoryList extends React.Component {
renderRow
=
{
this
.
leftRenderRow
}
scrollsToTop
=
{
false
}
/
>
<
ListView
<
ListView
contentContainerStyle
=
{
styles
.
rightContentContainer
}
dataSource
=
{
this
.
dataSourceR
.
cloneWithRows
(
subList
.
toArray
())}
renderRow
=
{
this
.
rightRenderRow
}
scrollsToTop
=
{
false
}
...
...
@@ -124,8 +126,9 @@ let styles = StyleSheet.create({
left
:
0
,
width
:
width
,
height
:
height
-
40
-
44
-
64
,
backgroundColor
:
'#f
4f4f4
'
,
backgroundColor
:
'#f
fffff
'
,
borderTopColor
:
'#e0e0e0'
,
borderLeftColor
:
'#ffffff'
,
borderWidth
:
0.5
,
},
leftContentContainer
:
{
...
...
@@ -133,7 +136,7 @@ let styles = StyleSheet.create({
},
leftRow
:
{
justifyContent
:
'center'
,
height
:
50
,
height
:
44
,
width
:
rowWidth
,
paddingLeft
:
15
,
backgroundColor
:
'#ffffff'
,
...
...
@@ -141,13 +144,17 @@ let styles = StyleSheet.create({
leftRowText
:
{
flexDirection
:
'row'
,
alignItems
:
'center'
,
height
:
4
9
.5
,
height
:
4
3
.5
,
width
:
rowWidth
,
},
rightContentContainer
:
{
backgroundColor
:
'#f4f4f4'
,
height
:
height
-
40
-
44
-
64
-
1
,
},
rightRow
:
{
flexDirection
:
'column'
,
justifyContent
:
'center'
,
height
:
50
,
height
:
44
,
width
:
rowWidth
,
paddingLeft
:
15
,
},
...
...
@@ -160,11 +167,9 @@ let styles = StyleSheet.create({
},
title
:
{
fontSize
:
1
7
,
fontSize
:
1
4
,
color
:
'#444444'
,
width
:
rowWidth
-
21
,
//flex: 1,
width
:
rowWidth
-
15
-
6
,
},
subtitle
:
{
fontSize
:
14
,
...
...
@@ -176,10 +181,4 @@ let styles = StyleSheet.create({
width
:
6
,
height
:
12
,
},
separator
:
{
width
:
width
,
top
:
-
2
,
height
:
1
,
backgroundColor
:
'#e5e5e5'
,
},
});
...
...
js/brandStore/image/filter_category_select_icon@2x.png
View file @
0bdfa4f
1.03 KB
|
W:
|
H:
1.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
js/brandStore/image/filter_category_select_icon@3x.png
View file @
0bdfa4f
1.21 KB
|
W:
|
H:
1.21 KB
|
W:
|
H:
2-up
Swipe
Onion skin
js/brandStore/reducers/brandStore/brandStoreInitialState.js
View file @
0bdfa4f
...
...
@@ -108,7 +108,7 @@ let InitialState = Record({
color
:
'所有颜色'
,
//颜色
price
:
'所有价格'
,
//价格
sizeKey
:
'所有尺码'
,
//尺码
p_d
:
'所有
商品
'
,
//折扣
p_d
:
'所有
折扣
'
,
//折扣
sort
:
'所有品类'
,
//品类
brand
:
'所有品牌'
,
//品牌
})),
...
...
Please
register
or
login
to post a comment