Skip to content

Commit 4e8dccf

Browse files
committed
为某些被TabBar遮挡的页面增加marginBottom
1 parent 387aa25 commit 4e8dccf

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

address_book/views/about/webview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ var webview = React.createClass({
1515

1616
render: function(){
1717
return(
18-
<View style={{flex:1}}>
18+
<View style={{flex:1, marginBottom: 64}}>
1919
<WebView url={this.props.url}/>
2020
</View>
2121
);

address_book/views/home/address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var Address = React.createClass({
5959
);
6060
}
6161
return (
62-
<ScrollView>
62+
<ScrollView style={{marginBottom: 64}}>
6363
{view}
6464
</ScrollView>
6565
);

address_book/views/message.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ var Message = React.createClass({
4545
</View>
4646
<View style={{backgroundColor:'#fff', borderTopWidth:1, borderTopColor:'#ddd'}}>
4747
{items}
48-
<View style={{height:35}}></View>
4948
</View>
5049
</ScrollView>
5150
);
@@ -57,7 +56,8 @@ var styles = StyleSheet.create({
5756
container:{
5857
flex:1,
5958
backgroundColor:'#F5F5F5',
60-
flexDirection:'column'
59+
flexDirection:'column',
60+
marginBottom: 64
6161
},
6262
search:{
6363
height:35,

0 commit comments

Comments
 (0)