mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
页面增加白色背景
This commit is contained in:
parent
c3e1aac37c
commit
0d8d2e31df
6 changed files with 6 additions and 2 deletions
|
@ -274,6 +274,7 @@ export default class DiaryList extends Component {
|
|||
const localStyle = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1
|
||||
, backgroundColor: 'white'
|
||||
},
|
||||
list: {
|
||||
height: '100%'
|
||||
|
|
|
@ -136,7 +136,7 @@ export default class NotebookList extends Component {
|
|||
render() {
|
||||
let hasData = this.state.notebooks && this.state.notebooks.length > 0;
|
||||
return hasData ? (
|
||||
<FlatList style={{marginTop: 15}}
|
||||
<FlatList style={{marginTop: 15, backgroundColor: 'white'}}
|
||||
data={this.state.notebooks}
|
||||
|
||||
keyExtractor={(item, index) => {
|
||||
|
|
|
@ -235,6 +235,7 @@ const localStyle = StyleSheet.create({
|
|||
wrap: {
|
||||
flex: 1,
|
||||
flexDirection: 'column'
|
||||
, backgroundColor: 'white'
|
||||
},
|
||||
container: {
|
||||
alignItems:'center',
|
||||
|
|
|
@ -118,6 +118,7 @@ const localStyle = StyleSheet.create({
|
|||
|
||||
container: {
|
||||
flex: 1
|
||||
, backgroundColor: 'white'
|
||||
},
|
||||
tabBar: {
|
||||
backgroundColor: '#fff',
|
||||
|
|
|
@ -28,7 +28,7 @@ export default class NotificationHistoryPage extends Component {
|
|||
render() {
|
||||
return (
|
||||
<View style={localStyle.container}>
|
||||
<NotificationList {...this.props}></NotificationList>
|
||||
<NotificationList isHistory={true} isSetRead={false} {...this.props}></NotificationList>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -236,6 +236,7 @@ export default class UserPage extends Component {
|
|||
const localStyle = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1
|
||||
, backgroundColor: 'white'
|
||||
},
|
||||
tabBar: {
|
||||
backgroundColor: '#fff',
|
||||
|
|
Loading…
Reference in a new issue