Authored by shangjf

修复个人中心进二级页面,返回底部白条的BUG review by 孙凯

@@ -377,40 +377,48 @@ class MineContainer extends Component { @@ -377,40 +377,48 @@ class MineContainer extends Component {
377 mineResource, 377 mineResource,
378 } = this.props.mine; 378 } = this.props.mine;
379 return ( 379 return (
380 - <MineList  
381 - isFetching={isFetching}  
382 - isNeedShowXsrz={isNeedShowXsrz}  
383 - isLogin={isLogin}  
384 - productListForMineCenter={open.productListForMineCenter}  
385 - mineCenterInfo={open.mineCenterInfo}  
386 - profile={profile}  
387 - mineInfoNum={mineInfoNum}  
388 - redPackageNum={redPackageNum}  
389 - activityListInfo={activityListInfo}  
390 - memberBill={memberBill}  
391 - showRedPacket={showRedPacket}  
392 - certificationInfo={certificationInfo}  
393 - announcement={announcement}  
394 - globalOrderData={globalOrderData}  
395 - iconAll={iconAll}  
396 - instalmentStatus={instalmentStatus}  
397 - mineResource={mineResource}  
398 -  
399 - onPressItem={this._onPressItem}  
400 - onPressProductListProduct={this._onPressProductListProduct}  
401 - onMineCenterRefresh={this._onMineCenterRefresh}  
402 - getProductListForMineCenter={this.props.actions.getProductListForMineCenter}  
403 - onLongPressProduct={this._onLongPressProduct}  
404 - onPressFindSimilar={this._onPressFindSimilar}  
405 - onPressFloorItem={this._onPressFloorItem}  
406 - showSimilarGuider={showSimilarGuider}  
407 - /> 380 + <View style={styles.container}>
  381 + <MineList
  382 + isFetching={isFetching}
  383 + isNeedShowXsrz={isNeedShowXsrz}
  384 + isLogin={isLogin}
  385 + productListForMineCenter={open.productListForMineCenter}
  386 + mineCenterInfo={open.mineCenterInfo}
  387 + profile={profile}
  388 + mineInfoNum={mineInfoNum}
  389 + redPackageNum={redPackageNum}
  390 + activityListInfo={activityListInfo}
  391 + memberBill={memberBill}
  392 + showRedPacket={showRedPacket}
  393 + certificationInfo={certificationInfo}
  394 + announcement={announcement}
  395 + globalOrderData={globalOrderData}
  396 + iconAll={iconAll}
  397 + instalmentStatus={instalmentStatus}
  398 + mineResource={mineResource}
  399 +
  400 + onPressItem={this._onPressItem}
  401 + onPressProductListProduct={this._onPressProductListProduct}
  402 + onMineCenterRefresh={this._onMineCenterRefresh}
  403 + getProductListForMineCenter={this.props.actions.getProductListForMineCenter}
  404 + onLongPressProduct={this._onLongPressProduct}
  405 + onPressFindSimilar={this._onPressFindSimilar}
  406 + onPressFloorItem={this._onPressFloorItem}
  407 + showSimilarGuider={showSimilarGuider}
  408 + />
  409 + </View>
  410 +
408 ); 411 );
409 } 412 }
410 } 413 }
  414 +
  415 +let {width, height} = Dimensions.get('window');
  416 +
411 let styles = StyleSheet.create({ 417 let styles = StyleSheet.create({
412 container: { 418 container: {
413 flex: 1, 419 flex: 1,
  420 + width,
  421 + height: height - 49
414 }, 422 },
415 423
416 }); 424 });