...
|
...
|
@@ -22,6 +22,7 @@ export default class MineListHeader extends React.Component { |
|
|
this._renderMineOrderNumberPoint = this._renderMineOrderNumberPoint.bind(this);
|
|
|
this._renderMinePropertyNumberPoint = this._renderMinePropertyNumberPoint.bind(this);
|
|
|
this._renderVip = this._renderVip.bind(this);
|
|
|
this._renderBannerResource = this._renderBannerResource.bind(this);
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
@@ -110,6 +111,22 @@ export default class MineListHeader extends React.Component { |
|
|
);
|
|
|
}
|
|
|
|
|
|
_renderBannerResource(){
|
|
|
let mineResource = this.props.mineResource;
|
|
|
|
|
|
if(!mineResource)
|
|
|
return;
|
|
|
|
|
|
//
|
|
|
return(
|
|
|
|
|
|
<View style={{width:width,height:25, backgroundColor:'red'}}>
|
|
|
|
|
|
</View>
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
render() {
|
|
|
let fontFamilyStyle = {};
|
...
|
...
|
@@ -658,6 +675,7 @@ export default class MineListHeader extends React.Component { |
|
|
<Image style={styles.arrow} source={require('../../image/arrow_gray.png')}/>
|
|
|
</View>
|
|
|
</TouchableOpacity>
|
|
|
{this._renderBannerResource()}
|
|
|
<View style={{
|
|
|
width: width,
|
|
|
height: 10,
|
...
|
...
|
|