...
|
...
|
@@ -119,10 +119,9 @@ export default class MineListHeader extends React.Component { |
|
|
|
|
|
return(
|
|
|
<MineResourceList
|
|
|
style={{width:width,height:500}}
|
|
|
style={{width: width,height: bannerResourceHeight}}
|
|
|
mineResource={this.props.mineResource}
|
|
|
onPressFloorItem={this.props.onPressFloorItem}>
|
|
|
</MineResourceList>
|
|
|
onPressFloorItem={this.props.onPressFloorItem} />
|
|
|
);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -206,9 +205,9 @@ export default class MineListHeader extends React.Component { |
|
|
|
|
|
//资源位高度
|
|
|
if (this.props.mineResource) {
|
|
|
let floorHeight = this._calculateBannerResourceHeight();
|
|
|
oHigh = oHigh + floorHeight;
|
|
|
}
|
|
|
bannerResourceHeight = this._calculateBannerResourceHeight();
|
|
|
oHigh = oHigh + bannerResourceHeight;
|
|
|
}
|
|
|
|
|
|
oHigh = topHeight + oHigh;
|
|
|
let bgImage = Platform.OS === 'ios' ? require('../../image/mine_top_boy.png') : require('../../image/mine_banner_boy.jpg');
|
...
|
...
|
@@ -742,6 +741,7 @@ let subRowHeight = Math.ceil(35 * DEVICE_WIDTH_RATIO);//账号安全 通知层 |
|
|
let rowheight = 45;//wo的订单类似的高度,我的逛也用这个高度
|
|
|
let orderContainerHeight = 55;
|
|
|
let topHeight = 175 + rowheight + orderContainerHeight + 10 + rowheight + orderContainerHeight + 1 + 10 + rowheight * 3 + 91;
|
|
|
let bannerResourceHeight = 0;
|
|
|
let orderContentWidth = (width - 10) / 5;
|
|
|
let assetContentWidth = (width - 10) / 4;
|
|
|
|
...
|
...
|
|