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
Plain Diff
Browse Files
Authored by
于良
8 years ago
Commit
8f251b4bf763c09a86dc4032e5c0a351988c5f0e
2 parents
e66e9d08
3aba4284
Merge branch '5.5.0' into 5.5.1
Conflicts: js/mine/containers/MineContainer.js
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
21 deletions
js/brandStore/components/brandStore/BrandStore.js
js/brandStore/containers/BrandStoreContainer.js
js/home/components/home/Home.js
js/home/containers/HomeContainer.js
js/mine/components/mine/MineList.js
js/mine/containers/MineContainer.js
js/newArrival/components/newArrival/NewArrival.js
js/newArrival/containers/NewArrivalContainer.js
js/redPersonBrand/components/redBrand/RedBrand.js
js/redPersonBrand/containers/RedPersonBrandContainer.js
js/brandStore/components/brandStore/BrandStore.js
View file @
8f251b4
...
...
@@ -397,9 +397,6 @@ export default class BrandStore extends Component {
this
.
props
.
onEndReached
&&
this
.
props
.
onEndReached
();
}
}}
onChangeVisibleRows
=
{
this
.
_onChangeVisibleRows
}
onMomentumScrollBegin
=
{
this
.
_onMomentumScrollBegin
}
onMomentumScrollEnd
=
{
this
.
_onMomentumScrollEnd
}
/
>
{
productList
.
isFilter
?
...
...
js/brandStore/containers/BrandStoreContainer.js
View file @
8f251b4
...
...
@@ -88,7 +88,7 @@ class BrandStoreContainer extends Component {
this
.
props
.
actions
.
getShopCouponList
();
this
.
props
.
actions
.
getShopResources
();
this
.
props
.
actions
.
getFavoriteState
();
this
.
props
.
actions
.
setShowSimilarGuider
(
true
);
//
this.props.actions.setShowSimilarGuider(true);
ReactNative
.
NativeModules
.
YH_CommonHelper
.
logEvent
(
'YB_BRAND_SHOP_L'
,
{
SHOP_ID
:
this
.
props
.
brandStore
.
shopId
,
BRAND_ID
:
this
.
props
.
brandStore
.
resource
.
brandBrowse
.
brandId
});
}
...
...
js/home/components/home/Home.js
View file @
8f251b4
...
...
@@ -627,7 +627,7 @@ export default class Home extends Component {
dataSource
=
{[
'新品到着'
,
'人气单品'
]}
onSelectdIndex
=
{
selectIndex
}
onClickSort
=
{(
index
)
=>
{
this
.
lifeStyleTabBarY
&&
this
.
listView
.
scrollTo
({
x
:
0
,
y
:
this
.
lifeStyleTabBarY
,
animated
:
tru
e
});
this
.
lifeStyleTabBarY
&&
this
.
listView
.
scrollTo
({
x
:
0
,
y
:
this
.
lifeStyleTabBarY
,
animated
:
fals
e
});
this
.
props
.
onClickSort
&&
this
.
props
.
onClickSort
(
index
);
}}
onLayout
=
{(
event
)
=>
{
...
...
@@ -727,15 +727,15 @@ export default class Home extends Component {
this
.
listView
&&
this
.
listView
.
yh_updateVisibleSubViews
();
//ios 专用
}}
//ios 专用
onEndReached
=
{()
=>
{
console
.
log
(
'onEndReachedonEndReachedonEndReached'
)
this
.
props
.
onEndReached
&&
this
.
props
.
onEndReached
();
}}
renderFooter
=
{
this
.
_renderFooter
}
onScroll
=
{
this
.
_onScroll
}
initialListSize
=
{
50
}
pageSize
=
{
50
}
onChangeVisibleRows
=
{
this
.
_onChangeVisibleRows
}
onMomentumScrollBegin
=
{
this
.
_onMomentumScrollBegin
}
onMomentumScrollEnd
=
{
this
.
_onMomentumScrollEnd
}
scrollRenderAheadDistance
=
{
2000
}
onEndReachedThreshold
=
{
2000
}
/
>
:
<
ListView
...
...
js/home/containers/HomeContainer.js
View file @
8f251b4
...
...
@@ -109,7 +109,7 @@ class HomeContainer extends Component {
componentDidMount
()
{
this
.
props
.
actions
.
loadChannelCachedData
();
this
.
home
&&
this
.
home
.
trigggePullToRefresh
();
this
.
props
.
actions
.
setShowSimilarGuider
(
true
);
//
this.props.actions.setShowSimilarGuider(true);
}
componentWillUnmount
()
{
...
...
@@ -329,6 +329,7 @@ let styles = StyleSheet.create({
container
:
{
width
,
height
:
height
-
64
-
49
,
flex
:
1
,
},
});
...
...
js/mine/components/mine/MineList.js
View file @
8f251b4
...
...
@@ -154,9 +154,6 @@ export default class MineList extends React.Component {
this
.
props
.
onMineCenterRefresh
&&
this
.
props
.
onMineCenterRefresh
();
}
}}
onChangeVisibleRows
=
{
this
.
_onChangeVisibleRows
}
onMomentumScrollBegin
=
{
this
.
_onMomentumScrollBegin
}
onMomentumScrollEnd
=
{
this
.
_onMomentumScrollEnd
}
/
>
<
/View
>
);
...
...
js/mine/containers/MineContainer.js
View file @
8f251b4
...
...
@@ -90,8 +90,8 @@ class MineContainer extends Component {
this
.
props
.
actions
.
getProductListForMineCenter
();
this
.
props
.
actions
.
onMineCenterRefresh
();
this
.
props
.
actions
.
getMineAllIcon
();
this
.
props
.
actions
.
setShowSimilarGuider
(
true
);
this
.
props
.
actions
.
getMineResource
();
// this.props.actions.setShowSimilarGuider(true);
}
componentWillUnmount
()
{
...
...
js/newArrival/components/newArrival/NewArrival.js
View file @
8f251b4
...
...
@@ -422,9 +422,6 @@ export default class NewArrival extends Component {
this
.
setState
({
showBackToTopButton
:
true
});
}
}}
onChangeVisibleRows
=
{
this
.
_onChangeVisibleRows
}
onMomentumScrollBegin
=
{
this
.
_onMomentumScrollBegin
}
onMomentumScrollEnd
=
{
this
.
_onMomentumScrollEnd
}
/
>
{
productList
.
isFilter
?
<
NewArrivalCategoryList
...
...
js/newArrival/containers/NewArrivalContainer.js
View file @
8f251b4
...
...
@@ -70,7 +70,7 @@ class NewArrivalContainer extends Component {
componentDidMount
()
{
this
.
props
.
actions
.
getTopInfo
();
this
.
props
.
actions
.
getProductList
();
this
.
props
.
actions
.
setShowSimilarGuider
(
true
);
//
this.props.actions.setShowSimilarGuider(true);
}
componentWillUnmount
()
{
...
...
js/redPersonBrand/components/redBrand/RedBrand.js
View file @
8f251b4
...
...
@@ -248,9 +248,6 @@ export default class RedBrand extends Component {
this
.
props
.
onEndReached
&&
this
.
props
.
onEndReached
();
}
}}
onChangeVisibleRows
=
{
this
.
_onChangeVisibleRows
}
onMomentumScrollBegin
=
{
this
.
_onMomentumScrollBegin
}
onMomentumScrollEnd
=
{
this
.
_onMomentumScrollEnd
}
/
>
{
productList
.
isFilter
?
...
...
js/redPersonBrand/containers/RedPersonBrandContainer.js
View file @
8f251b4
...
...
@@ -66,7 +66,7 @@ class RedPersonBrandContainer extends Component {
this
.
props
.
actions
.
getShopCouponList
();
this
.
props
.
actions
.
getFavoriteCount
();
this
.
props
.
actions
.
getFavoriteState
();
this
.
props
.
actions
.
setShowSimilarGuider
(
true
);
//
this.props.actions.setShowSimilarGuider(true);
}
componentWillUnmount
()
{
...
...
Please
register
or
login
to post a comment